@mavogel/awscdk-rootmail 0.0.222 → 0.0.224

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.
Files changed (88) hide show
  1. package/.jsii +6 -6
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/README.md +32 -0
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +192 -0
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogs.js +8 -0
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/DeleteIntegrationCommand.js +22 -0
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/GetIntegrationCommand.js +22 -0
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/ListIntegrationsCommand.js +22 -0
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/PutIntegrationCommand.js +22 -0
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/index.js +4 -0
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/models_0.js +34 -0
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/protocols/Aws_json1_1.js +78 -0
  14. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogs.d.ts +29 -0
  15. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +6 -2
  16. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteIntegrationCommand.d.ts +86 -0
  17. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeQueriesCommand.d.ts +2 -0
  18. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +2 -0
  19. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetIntegrationCommand.d.ts +136 -0
  20. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetQueryResultsCommand.d.ts +1 -0
  21. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListIntegrationsCommand.d.ts +86 -0
  22. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutIntegrationCommand.d.ts +101 -0
  23. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutQueryDefinitionCommand.d.ts +1 -0
  24. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/StartQueryCommand.d.ts +1 -0
  25. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/index.d.ts +4 -0
  26. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +606 -3
  27. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  28. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogs.d.ts +69 -0
  29. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +24 -0
  30. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +51 -0
  31. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +50 -0
  32. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +50 -0
  33. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +50 -0
  34. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/index.d.ts +4 -0
  35. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +160 -0
  36. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  37. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +1 -1
  38. package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  39. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +4 -2
  40. package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  41. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +2 -0
  42. package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +4 -3
  43. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +4 -3
  44. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +4 -3
  45. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +6 -5
  46. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +4 -3
  47. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +3 -2
  48. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +4 -3
  49. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +3 -2
  51. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +4 -3
  52. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +63 -53
  53. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +4 -3
  54. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
  55. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -2
  56. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +4 -3
  57. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -3
  58. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +23 -22
  59. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +19 -19
  60. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +4 -3
  61. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +4 -3
  62. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -2
  63. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +4 -3
  64. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
  65. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +4 -3
  66. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +4 -3
  67. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +7 -2
  68. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +4 -3
  69. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +36 -35
  70. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +4 -3
  71. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +4 -3
  72. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +69 -62
  73. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +42 -17
  74. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +2 -0
  75. package/node_modules/@aws-sdk/client-s3/package.json +1 -1
  76. package/node_modules/cdk-nag/.jsii +2 -2
  77. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  78. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  79. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  80. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  81. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  82. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  83. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  84. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  85. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  86. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  87. package/node_modules/cdk-nag/package.json +2 -2
  88. package/package.json +6 -6
@@ -0,0 +1,136 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
4
+ import { GetIntegrationRequest, GetIntegrationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetIntegrationCommand}.
14
+ */
15
+ export interface GetIntegrationCommandInput extends GetIntegrationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetIntegrationCommand}.
21
+ */
22
+ export interface GetIntegrationCommandOutput extends GetIntegrationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetIntegrationCommand_base: {
25
+ new (input: GetIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<GetIntegrationCommandInput, GetIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<GetIntegrationCommandInput, GetIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns information about one integration between CloudWatch Logs and OpenSearch Service. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudWatchLogsClient, GetIntegrationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
35
+ * // const { CloudWatchLogsClient, GetIntegrationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
36
+ * const client = new CloudWatchLogsClient(config);
37
+ * const input = { // GetIntegrationRequest
38
+ * integrationName: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetIntegrationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetIntegrationResponse
43
+ * // integrationName: "STRING_VALUE",
44
+ * // integrationType: "OPENSEARCH",
45
+ * // integrationStatus: "PROVISIONING" || "ACTIVE" || "FAILED",
46
+ * // integrationDetails: { // IntegrationDetails Union: only one key present
47
+ * // openSearchIntegrationDetails: { // OpenSearchIntegrationDetails
48
+ * // dataSource: { // OpenSearchDataSource
49
+ * // dataSourceName: "STRING_VALUE",
50
+ * // status: { // OpenSearchResourceStatus
51
+ * // status: "ACTIVE" || "NOT_FOUND" || "ERROR",
52
+ * // statusMessage: "STRING_VALUE",
53
+ * // },
54
+ * // },
55
+ * // application: { // OpenSearchApplication
56
+ * // applicationEndpoint: "STRING_VALUE",
57
+ * // applicationArn: "STRING_VALUE",
58
+ * // applicationId: "STRING_VALUE",
59
+ * // status: {
60
+ * // status: "ACTIVE" || "NOT_FOUND" || "ERROR",
61
+ * // statusMessage: "STRING_VALUE",
62
+ * // },
63
+ * // },
64
+ * // collection: { // OpenSearchCollection
65
+ * // collectionEndpoint: "STRING_VALUE",
66
+ * // collectionArn: "STRING_VALUE",
67
+ * // status: {
68
+ * // status: "ACTIVE" || "NOT_FOUND" || "ERROR",
69
+ * // statusMessage: "STRING_VALUE",
70
+ * // },
71
+ * // },
72
+ * // workspace: { // OpenSearchWorkspace
73
+ * // workspaceId: "STRING_VALUE",
74
+ * // status: {
75
+ * // status: "ACTIVE" || "NOT_FOUND" || "ERROR",
76
+ * // statusMessage: "STRING_VALUE",
77
+ * // },
78
+ * // },
79
+ * // encryptionPolicy: { // OpenSearchEncryptionPolicy
80
+ * // policyName: "STRING_VALUE",
81
+ * // status: {
82
+ * // status: "ACTIVE" || "NOT_FOUND" || "ERROR",
83
+ * // statusMessage: "STRING_VALUE",
84
+ * // },
85
+ * // },
86
+ * // networkPolicy: { // OpenSearchNetworkPolicy
87
+ * // policyName: "STRING_VALUE",
88
+ * // status: "<OpenSearchResourceStatus>",
89
+ * // },
90
+ * // accessPolicy: { // OpenSearchDataAccessPolicy
91
+ * // policyName: "STRING_VALUE",
92
+ * // status: "<OpenSearchResourceStatus>",
93
+ * // },
94
+ * // lifecyclePolicy: { // OpenSearchLifecyclePolicy
95
+ * // policyName: "STRING_VALUE",
96
+ * // status: "<OpenSearchResourceStatus>",
97
+ * // },
98
+ * // },
99
+ * // },
100
+ * // };
101
+ *
102
+ * ```
103
+ *
104
+ * @param GetIntegrationCommandInput - {@link GetIntegrationCommandInput}
105
+ * @returns {@link GetIntegrationCommandOutput}
106
+ * @see {@link GetIntegrationCommandInput} for command's `input` shape.
107
+ * @see {@link GetIntegrationCommandOutput} for command's `response` shape.
108
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
109
+ *
110
+ * @throws {@link InvalidParameterException} (client fault)
111
+ * <p>A parameter is specified incorrectly.</p>
112
+ *
113
+ * @throws {@link ResourceNotFoundException} (client fault)
114
+ * <p>The specified resource does not exist.</p>
115
+ *
116
+ * @throws {@link ServiceUnavailableException} (server fault)
117
+ * <p>The service cannot complete the request.</p>
118
+ *
119
+ * @throws {@link CloudWatchLogsServiceException}
120
+ * <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
121
+ *
122
+ * @public
123
+ */
124
+ export declare class GetIntegrationCommand extends GetIntegrationCommand_base {
125
+ /** @internal type navigation helper, not in runtime. */
126
+ protected static __types: {
127
+ api: {
128
+ input: GetIntegrationRequest;
129
+ output: GetIntegrationResponse;
130
+ };
131
+ sdk: {
132
+ input: GetIntegrationCommandInput;
133
+ output: GetIntegrationCommandOutput;
134
+ };
135
+ };
136
+ }
@@ -53,6 +53,7 @@ declare const GetQueryResultsCommand_base: {
53
53
  * const command = new GetQueryResultsCommand(input);
54
54
  * const response = await client.send(command);
55
55
  * // { // GetQueryResultsResponse
56
+ * // queryLanguage: "CWLI" || "SQL" || "PPL",
56
57
  * // results: [ // QueryResults
57
58
  * // [ // ResultRows
58
59
  * // { // ResultField
@@ -0,0 +1,86 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
4
+ import { ListIntegrationsRequest, ListIntegrationsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListIntegrationsCommand}.
14
+ */
15
+ export interface ListIntegrationsCommandInput extends ListIntegrationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListIntegrationsCommand}.
21
+ */
22
+ export interface ListIntegrationsCommandOutput extends ListIntegrationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListIntegrationsCommand_base: {
25
+ new (input: ListIntegrationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListIntegrationsCommandInput, ListIntegrationsCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListIntegrationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListIntegrationsCommandInput, ListIntegrationsCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of integrations between CloudWatch Logs and other services in this account. Currently, only one
31
+ * integration can be created in an account, and this integration must be with OpenSearch Service.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { CloudWatchLogsClient, ListIntegrationsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
36
+ * // const { CloudWatchLogsClient, ListIntegrationsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
37
+ * const client = new CloudWatchLogsClient(config);
38
+ * const input = { // ListIntegrationsRequest
39
+ * integrationNamePrefix: "STRING_VALUE",
40
+ * integrationType: "OPENSEARCH",
41
+ * integrationStatus: "PROVISIONING" || "ACTIVE" || "FAILED",
42
+ * };
43
+ * const command = new ListIntegrationsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListIntegrationsResponse
46
+ * // integrationSummaries: [ // IntegrationSummaries
47
+ * // { // IntegrationSummary
48
+ * // integrationName: "STRING_VALUE",
49
+ * // integrationType: "OPENSEARCH",
50
+ * // integrationStatus: "PROVISIONING" || "ACTIVE" || "FAILED",
51
+ * // },
52
+ * // ],
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param ListIntegrationsCommandInput - {@link ListIntegrationsCommandInput}
58
+ * @returns {@link ListIntegrationsCommandOutput}
59
+ * @see {@link ListIntegrationsCommandInput} for command's `input` shape.
60
+ * @see {@link ListIntegrationsCommandOutput} for command's `response` shape.
61
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
62
+ *
63
+ * @throws {@link InvalidParameterException} (client fault)
64
+ * <p>A parameter is specified incorrectly.</p>
65
+ *
66
+ * @throws {@link ServiceUnavailableException} (server fault)
67
+ * <p>The service cannot complete the request.</p>
68
+ *
69
+ * @throws {@link CloudWatchLogsServiceException}
70
+ * <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
71
+ *
72
+ * @public
73
+ */
74
+ export declare class ListIntegrationsCommand extends ListIntegrationsCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: ListIntegrationsRequest;
79
+ output: ListIntegrationsResponse;
80
+ };
81
+ sdk: {
82
+ input: ListIntegrationsCommandInput;
83
+ output: ListIntegrationsCommandOutput;
84
+ };
85
+ };
86
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
4
+ import { PutIntegrationRequest, PutIntegrationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutIntegrationCommand}.
14
+ */
15
+ export interface PutIntegrationCommandInput extends PutIntegrationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutIntegrationCommand}.
21
+ */
22
+ export interface PutIntegrationCommandOutput extends PutIntegrationResponse, __MetadataBearer {
23
+ }
24
+ declare const PutIntegrationCommand_base: {
25
+ new (input: PutIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<PutIntegrationCommandInput, PutIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<PutIntegrationCommandInput, PutIntegrationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an integration between CloudWatch Logs and another service in this account. Currently, only integrations with
31
+ * OpenSearch Service are supported, and currently you can have only one integration in your account.</p>
32
+ * <p>Integrating with OpenSearch Service makes it possible for you to create curated vended logs dashboards, powered
33
+ * by OpenSearch Service analytics. For more information, see
34
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs-OpenSearch-Dashboards.html">Vended log dashboards powered by Amazon OpenSearch Service</a>.</p>
35
+ * <p>You can use this operation only to create a new integration. You can't modify an existing integration.</p>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { CloudWatchLogsClient, PutIntegrationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
40
+ * // const { CloudWatchLogsClient, PutIntegrationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
41
+ * const client = new CloudWatchLogsClient(config);
42
+ * const input = { // PutIntegrationRequest
43
+ * integrationName: "STRING_VALUE", // required
44
+ * resourceConfig: { // ResourceConfig Union: only one key present
45
+ * openSearchResourceConfig: { // OpenSearchResourceConfig
46
+ * kmsKeyArn: "STRING_VALUE",
47
+ * dataSourceRoleArn: "STRING_VALUE", // required
48
+ * dashboardViewerPrincipals: [ // DashboardViewerPrincipals // required
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * applicationArn: "STRING_VALUE",
52
+ * retentionDays: Number("int"), // required
53
+ * },
54
+ * },
55
+ * integrationType: "OPENSEARCH", // required
56
+ * };
57
+ * const command = new PutIntegrationCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // PutIntegrationResponse
60
+ * // integrationName: "STRING_VALUE",
61
+ * // integrationStatus: "PROVISIONING" || "ACTIVE" || "FAILED",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param PutIntegrationCommandInput - {@link PutIntegrationCommandInput}
67
+ * @returns {@link PutIntegrationCommandOutput}
68
+ * @see {@link PutIntegrationCommandInput} for command's `input` shape.
69
+ * @see {@link PutIntegrationCommandOutput} for command's `response` shape.
70
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
71
+ *
72
+ * @throws {@link InvalidParameterException} (client fault)
73
+ * <p>A parameter is specified incorrectly.</p>
74
+ *
75
+ * @throws {@link LimitExceededException} (client fault)
76
+ * <p>You have reached the maximum number of resources that can be created.</p>
77
+ *
78
+ * @throws {@link ServiceUnavailableException} (server fault)
79
+ * <p>The service cannot complete the request.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>One of the parameters for the request is not valid.</p>
83
+ *
84
+ * @throws {@link CloudWatchLogsServiceException}
85
+ * <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class PutIntegrationCommand extends PutIntegrationCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: PutIntegrationRequest;
94
+ output: PutIntegrationResponse;
95
+ };
96
+ sdk: {
97
+ input: PutIntegrationCommandInput;
98
+ output: PutIntegrationCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -45,6 +45,7 @@ declare const PutQueryDefinitionCommand_base: {
45
45
  * // const { CloudWatchLogsClient, PutQueryDefinitionCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
46
46
  * const client = new CloudWatchLogsClient(config);
47
47
  * const input = { // PutQueryDefinitionRequest
48
+ * queryLanguage: "CWLI" || "SQL" || "PPL",
48
49
  * name: "STRING_VALUE", // required
49
50
  * queryDefinitionId: "STRING_VALUE",
50
51
  * logGroupNames: [ // LogGroupNames
@@ -73,6 +73,7 @@ declare const StartQueryCommand_base: {
73
73
  * // const { CloudWatchLogsClient, StartQueryCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
74
74
  * const client = new CloudWatchLogsClient(config);
75
75
  * const input = { // StartQueryRequest
76
+ * queryLanguage: "CWLI" || "SQL" || "PPL",
76
77
  * logGroupName: "STRING_VALUE",
77
78
  * logGroupNames: [ // LogGroupNames
78
79
  * "STRING_VALUE",
@@ -13,6 +13,7 @@ export * from "./DeleteDeliveryDestinationPolicyCommand";
13
13
  export * from "./DeleteDeliverySourceCommand";
14
14
  export * from "./DeleteDestinationCommand";
15
15
  export * from "./DeleteIndexPolicyCommand";
16
+ export * from "./DeleteIntegrationCommand";
16
17
  export * from "./DeleteLogAnomalyDetectorCommand";
17
18
  export * from "./DeleteLogGroupCommand";
18
19
  export * from "./DeleteLogStreamCommand";
@@ -45,6 +46,7 @@ export * from "./GetDeliveryCommand";
45
46
  export * from "./GetDeliveryDestinationCommand";
46
47
  export * from "./GetDeliveryDestinationPolicyCommand";
47
48
  export * from "./GetDeliverySourceCommand";
49
+ export * from "./GetIntegrationCommand";
48
50
  export * from "./GetLogAnomalyDetectorCommand";
49
51
  export * from "./GetLogEventsCommand";
50
52
  export * from "./GetLogGroupFieldsCommand";
@@ -52,6 +54,7 @@ export * from "./GetLogRecordCommand";
52
54
  export * from "./GetQueryResultsCommand";
53
55
  export * from "./GetTransformerCommand";
54
56
  export * from "./ListAnomaliesCommand";
57
+ export * from "./ListIntegrationsCommand";
55
58
  export * from "./ListLogAnomalyDetectorsCommand";
56
59
  export * from "./ListLogGroupsForQueryCommand";
57
60
  export * from "./ListTagsForResourceCommand";
@@ -64,6 +67,7 @@ export * from "./PutDeliverySourceCommand";
64
67
  export * from "./PutDestinationCommand";
65
68
  export * from "./PutDestinationPolicyCommand";
66
69
  export * from "./PutIndexPolicyCommand";
70
+ export * from "./PutIntegrationCommand";
67
71
  export * from "./PutLogEventsCommand";
68
72
  export * from "./PutMetricFilterCommand";
69
73
  export * from "./PutQueryDefinitionCommand";