@aws-sdk/client-cloudwatch-logs 3.698.0 → 3.703.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 +32 -0
- package/dist-cjs/index.js +192 -0
- package/dist-es/CloudWatchLogs.js +8 -0
- package/dist-es/commands/DeleteIntegrationCommand.js +22 -0
- package/dist-es/commands/GetIntegrationCommand.js +22 -0
- package/dist-es/commands/ListIntegrationsCommand.js +22 -0
- package/dist-es/commands/PutIntegrationCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +34 -0
- package/dist-es/protocols/Aws_json1_1.js +78 -0
- package/dist-types/CloudWatchLogs.d.ts +29 -0
- package/dist-types/CloudWatchLogsClient.d.ts +6 -2
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +86 -0
- package/dist-types/commands/DescribeQueriesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +2 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +136 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +1 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +86 -0
- package/dist-types/commands/PutIntegrationCommand.d.ts +101 -0
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/StartQueryCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +606 -3
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +69 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +160 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -356,6 +356,14 @@ DeleteIndexPolicy
|
|
|
356
356
|
|
|
357
357
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/DeleteIndexPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/DeleteIndexPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/DeleteIndexPolicyCommandOutput/)
|
|
358
358
|
|
|
359
|
+
</details>
|
|
360
|
+
<details>
|
|
361
|
+
<summary>
|
|
362
|
+
DeleteIntegration
|
|
363
|
+
</summary>
|
|
364
|
+
|
|
365
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/DeleteIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/DeleteIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/DeleteIntegrationCommandOutput/)
|
|
366
|
+
|
|
359
367
|
</details>
|
|
360
368
|
<details>
|
|
361
369
|
<summary>
|
|
@@ -612,6 +620,14 @@ GetDeliverySource
|
|
|
612
620
|
|
|
613
621
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/GetDeliverySourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/GetDeliverySourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/GetDeliverySourceCommandOutput/)
|
|
614
622
|
|
|
623
|
+
</details>
|
|
624
|
+
<details>
|
|
625
|
+
<summary>
|
|
626
|
+
GetIntegration
|
|
627
|
+
</summary>
|
|
628
|
+
|
|
629
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/GetIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/GetIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/GetIntegrationCommandOutput/)
|
|
630
|
+
|
|
615
631
|
</details>
|
|
616
632
|
<details>
|
|
617
633
|
<summary>
|
|
@@ -668,6 +684,14 @@ ListAnomalies
|
|
|
668
684
|
|
|
669
685
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/ListAnomaliesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/ListAnomaliesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/ListAnomaliesCommandOutput/)
|
|
670
686
|
|
|
687
|
+
</details>
|
|
688
|
+
<details>
|
|
689
|
+
<summary>
|
|
690
|
+
ListIntegrations
|
|
691
|
+
</summary>
|
|
692
|
+
|
|
693
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/ListIntegrationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/ListIntegrationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/ListIntegrationsCommandOutput/)
|
|
694
|
+
|
|
671
695
|
</details>
|
|
672
696
|
<details>
|
|
673
697
|
<summary>
|
|
@@ -764,6 +788,14 @@ PutIndexPolicy
|
|
|
764
788
|
|
|
765
789
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/PutIndexPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/PutIndexPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/PutIndexPolicyCommandOutput/)
|
|
766
790
|
|
|
791
|
+
</details>
|
|
792
|
+
<details>
|
|
793
|
+
<summary>
|
|
794
|
+
PutIntegration
|
|
795
|
+
</summary>
|
|
796
|
+
|
|
797
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/PutIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/PutIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/PutIntegrationCommandOutput/)
|
|
798
|
+
|
|
767
799
|
</details>
|
|
768
800
|
<details>
|
|
769
801
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __export(src_exports, {
|
|
|
44
44
|
DeleteDeliverySourceCommand: () => DeleteDeliverySourceCommand,
|
|
45
45
|
DeleteDestinationCommand: () => DeleteDestinationCommand,
|
|
46
46
|
DeleteIndexPolicyCommand: () => DeleteIndexPolicyCommand,
|
|
47
|
+
DeleteIntegrationCommand: () => DeleteIntegrationCommand,
|
|
47
48
|
DeleteLogAnomalyDetectorCommand: () => DeleteLogAnomalyDetectorCommand,
|
|
48
49
|
DeleteLogGroupCommand: () => DeleteLogGroupCommand,
|
|
49
50
|
DeleteLogStreamCommand: () => DeleteLogStreamCommand,
|
|
@@ -82,6 +83,7 @@ __export(src_exports, {
|
|
|
82
83
|
GetDeliveryDestinationCommand: () => GetDeliveryDestinationCommand,
|
|
83
84
|
GetDeliveryDestinationPolicyCommand: () => GetDeliveryDestinationPolicyCommand,
|
|
84
85
|
GetDeliverySourceCommand: () => GetDeliverySourceCommand,
|
|
86
|
+
GetIntegrationCommand: () => GetIntegrationCommand,
|
|
85
87
|
GetLogAnomalyDetectorCommand: () => GetLogAnomalyDetectorCommand,
|
|
86
88
|
GetLogEventsCommand: () => GetLogEventsCommand,
|
|
87
89
|
GetLogGroupFieldsCommand: () => GetLogGroupFieldsCommand,
|
|
@@ -90,17 +92,22 @@ __export(src_exports, {
|
|
|
90
92
|
GetTransformerCommand: () => GetTransformerCommand,
|
|
91
93
|
IndexSource: () => IndexSource,
|
|
92
94
|
InheritedProperty: () => InheritedProperty,
|
|
95
|
+
IntegrationDetails: () => IntegrationDetails,
|
|
96
|
+
IntegrationStatus: () => IntegrationStatus,
|
|
97
|
+
IntegrationType: () => IntegrationType,
|
|
93
98
|
InvalidOperationException: () => InvalidOperationException,
|
|
94
99
|
InvalidParameterException: () => InvalidParameterException,
|
|
95
100
|
InvalidSequenceTokenException: () => InvalidSequenceTokenException,
|
|
96
101
|
LimitExceededException: () => LimitExceededException,
|
|
97
102
|
ListAnomaliesCommand: () => ListAnomaliesCommand,
|
|
103
|
+
ListIntegrationsCommand: () => ListIntegrationsCommand,
|
|
98
104
|
ListLogAnomalyDetectorsCommand: () => ListLogAnomalyDetectorsCommand,
|
|
99
105
|
ListLogGroupsForQueryCommand: () => ListLogGroupsForQueryCommand,
|
|
100
106
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
101
107
|
ListTagsLogGroupCommand: () => ListTagsLogGroupCommand,
|
|
102
108
|
LogGroupClass: () => LogGroupClass,
|
|
103
109
|
MalformedQueryException: () => MalformedQueryException,
|
|
110
|
+
OpenSearchResourceStatusType: () => OpenSearchResourceStatusType,
|
|
104
111
|
OperationAbortedException: () => OperationAbortedException,
|
|
105
112
|
OrderBy: () => OrderBy,
|
|
106
113
|
OutputFormat: () => OutputFormat,
|
|
@@ -113,6 +120,7 @@ __export(src_exports, {
|
|
|
113
120
|
PutDestinationCommand: () => PutDestinationCommand,
|
|
114
121
|
PutDestinationPolicyCommand: () => PutDestinationPolicyCommand,
|
|
115
122
|
PutIndexPolicyCommand: () => PutIndexPolicyCommand,
|
|
123
|
+
PutIntegrationCommand: () => PutIntegrationCommand,
|
|
116
124
|
PutLogEventsCommand: () => PutLogEventsCommand,
|
|
117
125
|
PutMetricFilterCommand: () => PutMetricFilterCommand,
|
|
118
126
|
PutQueryDefinitionCommand: () => PutQueryDefinitionCommand,
|
|
@@ -120,8 +128,10 @@ __export(src_exports, {
|
|
|
120
128
|
PutRetentionPolicyCommand: () => PutRetentionPolicyCommand,
|
|
121
129
|
PutSubscriptionFilterCommand: () => PutSubscriptionFilterCommand,
|
|
122
130
|
PutTransformerCommand: () => PutTransformerCommand,
|
|
131
|
+
QueryLanguage: () => QueryLanguage,
|
|
123
132
|
QueryStatus: () => QueryStatus,
|
|
124
133
|
ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
|
|
134
|
+
ResourceConfig: () => ResourceConfig,
|
|
125
135
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
126
136
|
Scope: () => Scope,
|
|
127
137
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
@@ -661,6 +671,11 @@ var StandardUnit = {
|
|
|
661
671
|
Terabytes: "Terabytes",
|
|
662
672
|
TerabytesSecond: "Terabytes/Second"
|
|
663
673
|
};
|
|
674
|
+
var QueryLanguage = {
|
|
675
|
+
CWLI: "CWLI",
|
|
676
|
+
PPL: "PPL",
|
|
677
|
+
SQL: "SQL"
|
|
678
|
+
};
|
|
664
679
|
var QueryStatus = {
|
|
665
680
|
Cancelled: "Cancelled",
|
|
666
681
|
Complete: "Complete",
|
|
@@ -687,6 +702,27 @@ var FlattenedElement = {
|
|
|
687
702
|
FIRST: "first",
|
|
688
703
|
LAST: "last"
|
|
689
704
|
};
|
|
705
|
+
var OpenSearchResourceStatusType = {
|
|
706
|
+
ACTIVE: "ACTIVE",
|
|
707
|
+
ERROR: "ERROR",
|
|
708
|
+
NOT_FOUND: "NOT_FOUND"
|
|
709
|
+
};
|
|
710
|
+
var IntegrationDetails;
|
|
711
|
+
((IntegrationDetails2) => {
|
|
712
|
+
IntegrationDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
713
|
+
if (value.openSearchIntegrationDetails !== void 0)
|
|
714
|
+
return visitor.openSearchIntegrationDetails(value.openSearchIntegrationDetails);
|
|
715
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
716
|
+
}, "visit");
|
|
717
|
+
})(IntegrationDetails || (IntegrationDetails = {}));
|
|
718
|
+
var IntegrationStatus = {
|
|
719
|
+
ACTIVE: "ACTIVE",
|
|
720
|
+
FAILED: "FAILED",
|
|
721
|
+
PROVISIONING: "PROVISIONING"
|
|
722
|
+
};
|
|
723
|
+
var IntegrationType = {
|
|
724
|
+
OPENSEARCH: "OPENSEARCH"
|
|
725
|
+
};
|
|
690
726
|
var Type = {
|
|
691
727
|
BOOLEAN: "boolean",
|
|
692
728
|
DOUBLE: "double",
|
|
@@ -715,6 +751,14 @@ var SuppressionState = {
|
|
|
715
751
|
SUPPRESSED: "SUPPRESSED",
|
|
716
752
|
UNSUPPRESSED: "UNSUPPRESSED"
|
|
717
753
|
};
|
|
754
|
+
var ResourceConfig;
|
|
755
|
+
((ResourceConfig3) => {
|
|
756
|
+
ResourceConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
757
|
+
if (value.openSearchResourceConfig !== void 0)
|
|
758
|
+
return visitor.openSearchResourceConfig(value.openSearchResourceConfig);
|
|
759
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
760
|
+
}, "visit");
|
|
761
|
+
})(ResourceConfig || (ResourceConfig = {}));
|
|
718
762
|
var _UnrecognizedClientException = class _UnrecognizedClientException extends CloudWatchLogsServiceException {
|
|
719
763
|
/**
|
|
720
764
|
* @internal
|
|
@@ -933,6 +977,12 @@ var se_DeleteIndexPolicyCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
933
977
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
934
978
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
935
979
|
}, "se_DeleteIndexPolicyCommand");
|
|
980
|
+
var se_DeleteIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
981
|
+
const headers = sharedHeaders("DeleteIntegration");
|
|
982
|
+
let body;
|
|
983
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
984
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
985
|
+
}, "se_DeleteIntegrationCommand");
|
|
936
986
|
var se_DeleteLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
937
987
|
const headers = sharedHeaders("DeleteLogAnomalyDetector");
|
|
938
988
|
let body;
|
|
@@ -1125,6 +1175,12 @@ var se_GetDeliverySourceCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1125
1175
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1126
1176
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1127
1177
|
}, "se_GetDeliverySourceCommand");
|
|
1178
|
+
var se_GetIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1179
|
+
const headers = sharedHeaders("GetIntegration");
|
|
1180
|
+
let body;
|
|
1181
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1182
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1183
|
+
}, "se_GetIntegrationCommand");
|
|
1128
1184
|
var se_GetLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1129
1185
|
const headers = sharedHeaders("GetLogAnomalyDetector");
|
|
1130
1186
|
let body;
|
|
@@ -1167,6 +1223,12 @@ var se_ListAnomaliesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1167
1223
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1168
1224
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1169
1225
|
}, "se_ListAnomaliesCommand");
|
|
1226
|
+
var se_ListIntegrationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1227
|
+
const headers = sharedHeaders("ListIntegrations");
|
|
1228
|
+
let body;
|
|
1229
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1230
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1231
|
+
}, "se_ListIntegrationsCommand");
|
|
1170
1232
|
var se_ListLogAnomalyDetectorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1171
1233
|
const headers = sharedHeaders("ListLogAnomalyDetectors");
|
|
1172
1234
|
let body;
|
|
@@ -1239,6 +1301,12 @@ var se_PutIndexPolicyCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1239
1301
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1240
1302
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1241
1303
|
}, "se_PutIndexPolicyCommand");
|
|
1304
|
+
var se_PutIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1305
|
+
const headers = sharedHeaders("PutIntegration");
|
|
1306
|
+
let body;
|
|
1307
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1308
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1309
|
+
}, "se_PutIntegrationCommand");
|
|
1242
1310
|
var se_PutLogEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1243
1311
|
const headers = sharedHeaders("PutLogEvents");
|
|
1244
1312
|
let body;
|
|
@@ -1522,6 +1590,19 @@ var de_DeleteIndexPolicyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1522
1590
|
};
|
|
1523
1591
|
return response;
|
|
1524
1592
|
}, "de_DeleteIndexPolicyCommand");
|
|
1593
|
+
var de_DeleteIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1594
|
+
if (output.statusCode >= 300) {
|
|
1595
|
+
return de_CommandError(output, context);
|
|
1596
|
+
}
|
|
1597
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1598
|
+
let contents = {};
|
|
1599
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1600
|
+
const response = {
|
|
1601
|
+
$metadata: deserializeMetadata(output),
|
|
1602
|
+
...contents
|
|
1603
|
+
};
|
|
1604
|
+
return response;
|
|
1605
|
+
}, "de_DeleteIntegrationCommand");
|
|
1525
1606
|
var de_DeleteLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1526
1607
|
if (output.statusCode >= 300) {
|
|
1527
1608
|
return de_CommandError(output, context);
|
|
@@ -1911,6 +1992,19 @@ var de_GetDeliverySourceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1911
1992
|
};
|
|
1912
1993
|
return response;
|
|
1913
1994
|
}, "de_GetDeliverySourceCommand");
|
|
1995
|
+
var de_GetIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1996
|
+
if (output.statusCode >= 300) {
|
|
1997
|
+
return de_CommandError(output, context);
|
|
1998
|
+
}
|
|
1999
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2000
|
+
let contents = {};
|
|
2001
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2002
|
+
const response = {
|
|
2003
|
+
$metadata: deserializeMetadata(output),
|
|
2004
|
+
...contents
|
|
2005
|
+
};
|
|
2006
|
+
return response;
|
|
2007
|
+
}, "de_GetIntegrationCommand");
|
|
1914
2008
|
var de_GetLogAnomalyDetectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1915
2009
|
if (output.statusCode >= 300) {
|
|
1916
2010
|
return de_CommandError(output, context);
|
|
@@ -2002,6 +2096,19 @@ var de_ListAnomaliesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2002
2096
|
};
|
|
2003
2097
|
return response;
|
|
2004
2098
|
}, "de_ListAnomaliesCommand");
|
|
2099
|
+
var de_ListIntegrationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2100
|
+
if (output.statusCode >= 300) {
|
|
2101
|
+
return de_CommandError(output, context);
|
|
2102
|
+
}
|
|
2103
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2104
|
+
let contents = {};
|
|
2105
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2106
|
+
const response = {
|
|
2107
|
+
$metadata: deserializeMetadata(output),
|
|
2108
|
+
...contents
|
|
2109
|
+
};
|
|
2110
|
+
return response;
|
|
2111
|
+
}, "de_ListIntegrationsCommand");
|
|
2005
2112
|
var de_ListLogAnomalyDetectorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2006
2113
|
if (output.statusCode >= 300) {
|
|
2007
2114
|
return de_CommandError(output, context);
|
|
@@ -2155,6 +2262,19 @@ var de_PutIndexPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2155
2262
|
};
|
|
2156
2263
|
return response;
|
|
2157
2264
|
}, "de_PutIndexPolicyCommand");
|
|
2265
|
+
var de_PutIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2266
|
+
if (output.statusCode >= 300) {
|
|
2267
|
+
return de_CommandError(output, context);
|
|
2268
|
+
}
|
|
2269
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2270
|
+
let contents = {};
|
|
2271
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2272
|
+
const response = {
|
|
2273
|
+
$metadata: deserializeMetadata(output),
|
|
2274
|
+
...contents
|
|
2275
|
+
};
|
|
2276
|
+
return response;
|
|
2277
|
+
}, "de_PutIntegrationCommand");
|
|
2158
2278
|
var de_PutLogEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2159
2279
|
if (output.statusCode >= 300) {
|
|
2160
2280
|
return de_CommandError(output, context);
|
|
@@ -2692,6 +2812,7 @@ var se_PutQueryDefinitionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
2692
2812
|
logGroupNames: import_smithy_client._json,
|
|
2693
2813
|
name: [],
|
|
2694
2814
|
queryDefinitionId: [],
|
|
2815
|
+
queryLanguage: [],
|
|
2695
2816
|
queryString: []
|
|
2696
2817
|
});
|
|
2697
2818
|
}, "se_PutQueryDefinitionRequest");
|
|
@@ -2704,6 +2825,7 @@ var de_DescribeMetricFiltersResponse = /* @__PURE__ */ __name((output, context)
|
|
|
2704
2825
|
var de_GetQueryResultsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2705
2826
|
return (0, import_smithy_client.take)(output, {
|
|
2706
2827
|
encryptionKey: import_smithy_client.expectString,
|
|
2828
|
+
queryLanguage: import_smithy_client.expectString,
|
|
2707
2829
|
results: import_smithy_client._json,
|
|
2708
2830
|
statistics: (_) => de_QueryStatistics(_, context),
|
|
2709
2831
|
status: import_smithy_client.expectString
|
|
@@ -2991,6 +3113,20 @@ var _DeleteIndexPolicyCommand = class _DeleteIndexPolicyCommand extends import_s
|
|
|
2991
3113
|
__name(_DeleteIndexPolicyCommand, "DeleteIndexPolicyCommand");
|
|
2992
3114
|
var DeleteIndexPolicyCommand = _DeleteIndexPolicyCommand;
|
|
2993
3115
|
|
|
3116
|
+
// src/commands/DeleteIntegrationCommand.ts
|
|
3117
|
+
|
|
3118
|
+
|
|
3119
|
+
|
|
3120
|
+
var _DeleteIntegrationCommand = class _DeleteIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3121
|
+
return [
|
|
3122
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3123
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3124
|
+
];
|
|
3125
|
+
}).s("Logs_20140328", "DeleteIntegration", {}).n("CloudWatchLogsClient", "DeleteIntegrationCommand").f(void 0, void 0).ser(se_DeleteIntegrationCommand).de(de_DeleteIntegrationCommand).build() {
|
|
3126
|
+
};
|
|
3127
|
+
__name(_DeleteIntegrationCommand, "DeleteIntegrationCommand");
|
|
3128
|
+
var DeleteIntegrationCommand = _DeleteIntegrationCommand;
|
|
3129
|
+
|
|
2994
3130
|
// src/commands/DeleteLogAnomalyDetectorCommand.ts
|
|
2995
3131
|
|
|
2996
3132
|
|
|
@@ -3439,6 +3575,20 @@ var _GetDeliverySourceCommand = class _GetDeliverySourceCommand extends import_s
|
|
|
3439
3575
|
__name(_GetDeliverySourceCommand, "GetDeliverySourceCommand");
|
|
3440
3576
|
var GetDeliverySourceCommand = _GetDeliverySourceCommand;
|
|
3441
3577
|
|
|
3578
|
+
// src/commands/GetIntegrationCommand.ts
|
|
3579
|
+
|
|
3580
|
+
|
|
3581
|
+
|
|
3582
|
+
var _GetIntegrationCommand = class _GetIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3583
|
+
return [
|
|
3584
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3585
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3586
|
+
];
|
|
3587
|
+
}).s("Logs_20140328", "GetIntegration", {}).n("CloudWatchLogsClient", "GetIntegrationCommand").f(void 0, void 0).ser(se_GetIntegrationCommand).de(de_GetIntegrationCommand).build() {
|
|
3588
|
+
};
|
|
3589
|
+
__name(_GetIntegrationCommand, "GetIntegrationCommand");
|
|
3590
|
+
var GetIntegrationCommand = _GetIntegrationCommand;
|
|
3591
|
+
|
|
3442
3592
|
// src/commands/GetLogAnomalyDetectorCommand.ts
|
|
3443
3593
|
|
|
3444
3594
|
|
|
@@ -3537,6 +3687,20 @@ var _ListAnomaliesCommand = class _ListAnomaliesCommand extends import_smithy_cl
|
|
|
3537
3687
|
__name(_ListAnomaliesCommand, "ListAnomaliesCommand");
|
|
3538
3688
|
var ListAnomaliesCommand = _ListAnomaliesCommand;
|
|
3539
3689
|
|
|
3690
|
+
// src/commands/ListIntegrationsCommand.ts
|
|
3691
|
+
|
|
3692
|
+
|
|
3693
|
+
|
|
3694
|
+
var _ListIntegrationsCommand = class _ListIntegrationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3695
|
+
return [
|
|
3696
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3697
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3698
|
+
];
|
|
3699
|
+
}).s("Logs_20140328", "ListIntegrations", {}).n("CloudWatchLogsClient", "ListIntegrationsCommand").f(void 0, void 0).ser(se_ListIntegrationsCommand).de(de_ListIntegrationsCommand).build() {
|
|
3700
|
+
};
|
|
3701
|
+
__name(_ListIntegrationsCommand, "ListIntegrationsCommand");
|
|
3702
|
+
var ListIntegrationsCommand = _ListIntegrationsCommand;
|
|
3703
|
+
|
|
3540
3704
|
// src/commands/ListLogAnomalyDetectorsCommand.ts
|
|
3541
3705
|
|
|
3542
3706
|
|
|
@@ -3705,6 +3869,20 @@ var _PutIndexPolicyCommand = class _PutIndexPolicyCommand extends import_smithy_
|
|
|
3705
3869
|
__name(_PutIndexPolicyCommand, "PutIndexPolicyCommand");
|
|
3706
3870
|
var PutIndexPolicyCommand = _PutIndexPolicyCommand;
|
|
3707
3871
|
|
|
3872
|
+
// src/commands/PutIntegrationCommand.ts
|
|
3873
|
+
|
|
3874
|
+
|
|
3875
|
+
|
|
3876
|
+
var _PutIntegrationCommand = class _PutIntegrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3877
|
+
return [
|
|
3878
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3879
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3880
|
+
];
|
|
3881
|
+
}).s("Logs_20140328", "PutIntegration", {}).n("CloudWatchLogsClient", "PutIntegrationCommand").f(void 0, void 0).ser(se_PutIntegrationCommand).de(de_PutIntegrationCommand).build() {
|
|
3882
|
+
};
|
|
3883
|
+
__name(_PutIntegrationCommand, "PutIntegrationCommand");
|
|
3884
|
+
var PutIntegrationCommand = _PutIntegrationCommand;
|
|
3885
|
+
|
|
3708
3886
|
// src/commands/PutLogEventsCommand.ts
|
|
3709
3887
|
|
|
3710
3888
|
|
|
@@ -3995,6 +4173,7 @@ var commands = {
|
|
|
3995
4173
|
DeleteDeliverySourceCommand,
|
|
3996
4174
|
DeleteDestinationCommand,
|
|
3997
4175
|
DeleteIndexPolicyCommand,
|
|
4176
|
+
DeleteIntegrationCommand,
|
|
3998
4177
|
DeleteLogAnomalyDetectorCommand,
|
|
3999
4178
|
DeleteLogGroupCommand,
|
|
4000
4179
|
DeleteLogStreamCommand,
|
|
@@ -4027,6 +4206,7 @@ var commands = {
|
|
|
4027
4206
|
GetDeliveryDestinationCommand,
|
|
4028
4207
|
GetDeliveryDestinationPolicyCommand,
|
|
4029
4208
|
GetDeliverySourceCommand,
|
|
4209
|
+
GetIntegrationCommand,
|
|
4030
4210
|
GetLogAnomalyDetectorCommand,
|
|
4031
4211
|
GetLogEventsCommand,
|
|
4032
4212
|
GetLogGroupFieldsCommand,
|
|
@@ -4034,6 +4214,7 @@ var commands = {
|
|
|
4034
4214
|
GetQueryResultsCommand,
|
|
4035
4215
|
GetTransformerCommand,
|
|
4036
4216
|
ListAnomaliesCommand,
|
|
4217
|
+
ListIntegrationsCommand,
|
|
4037
4218
|
ListLogAnomalyDetectorsCommand,
|
|
4038
4219
|
ListLogGroupsForQueryCommand,
|
|
4039
4220
|
ListTagsForResourceCommand,
|
|
@@ -4046,6 +4227,7 @@ var commands = {
|
|
|
4046
4227
|
PutDestinationCommand,
|
|
4047
4228
|
PutDestinationPolicyCommand,
|
|
4048
4229
|
PutIndexPolicyCommand,
|
|
4230
|
+
PutIntegrationCommand,
|
|
4049
4231
|
PutLogEventsCommand,
|
|
4050
4232
|
PutMetricFilterCommand,
|
|
4051
4233
|
PutQueryDefinitionCommand,
|
|
@@ -4150,6 +4332,7 @@ var paginateListLogGroupsForQuery = (0, import_core.createPaginator)(CloudWatchL
|
|
|
4150
4332
|
DeleteDeliverySourceCommand,
|
|
4151
4333
|
DeleteDestinationCommand,
|
|
4152
4334
|
DeleteIndexPolicyCommand,
|
|
4335
|
+
DeleteIntegrationCommand,
|
|
4153
4336
|
DeleteLogAnomalyDetectorCommand,
|
|
4154
4337
|
DeleteLogGroupCommand,
|
|
4155
4338
|
DeleteLogStreamCommand,
|
|
@@ -4182,6 +4365,7 @@ var paginateListLogGroupsForQuery = (0, import_core.createPaginator)(CloudWatchL
|
|
|
4182
4365
|
GetDeliveryDestinationCommand,
|
|
4183
4366
|
GetDeliveryDestinationPolicyCommand,
|
|
4184
4367
|
GetDeliverySourceCommand,
|
|
4368
|
+
GetIntegrationCommand,
|
|
4185
4369
|
GetLogAnomalyDetectorCommand,
|
|
4186
4370
|
GetLogEventsCommand,
|
|
4187
4371
|
GetLogGroupFieldsCommand,
|
|
@@ -4189,6 +4373,7 @@ var paginateListLogGroupsForQuery = (0, import_core.createPaginator)(CloudWatchL
|
|
|
4189
4373
|
GetQueryResultsCommand,
|
|
4190
4374
|
GetTransformerCommand,
|
|
4191
4375
|
ListAnomaliesCommand,
|
|
4376
|
+
ListIntegrationsCommand,
|
|
4192
4377
|
ListLogAnomalyDetectorsCommand,
|
|
4193
4378
|
ListLogGroupsForQueryCommand,
|
|
4194
4379
|
ListTagsForResourceCommand,
|
|
@@ -4201,6 +4386,7 @@ var paginateListLogGroupsForQuery = (0, import_core.createPaginator)(CloudWatchL
|
|
|
4201
4386
|
PutDestinationCommand,
|
|
4202
4387
|
PutDestinationPolicyCommand,
|
|
4203
4388
|
PutIndexPolicyCommand,
|
|
4389
|
+
PutIntegrationCommand,
|
|
4204
4390
|
PutLogEventsCommand,
|
|
4205
4391
|
PutMetricFilterCommand,
|
|
4206
4392
|
PutQueryDefinitionCommand,
|
|
@@ -4261,13 +4447,19 @@ var paginateListLogGroupsForQuery = (0, import_core.createPaginator)(CloudWatchL
|
|
|
4261
4447
|
InheritedProperty,
|
|
4262
4448
|
OrderBy,
|
|
4263
4449
|
StandardUnit,
|
|
4450
|
+
QueryLanguage,
|
|
4264
4451
|
QueryStatus,
|
|
4265
4452
|
Distribution,
|
|
4266
4453
|
EntityRejectionErrorType,
|
|
4267
4454
|
FlattenedElement,
|
|
4455
|
+
OpenSearchResourceStatusType,
|
|
4456
|
+
IntegrationDetails,
|
|
4457
|
+
IntegrationStatus,
|
|
4458
|
+
IntegrationType,
|
|
4268
4459
|
Type,
|
|
4269
4460
|
InvalidSequenceTokenException,
|
|
4270
4461
|
SuppressionState,
|
|
4462
|
+
ResourceConfig,
|
|
4271
4463
|
UnrecognizedClientException,
|
|
4272
4464
|
SessionStreamingException,
|
|
4273
4465
|
SessionTimeoutException,
|
|
@@ -15,6 +15,7 @@ import { DeleteDeliveryDestinationPolicyCommand, } from "./commands/DeleteDelive
|
|
|
15
15
|
import { DeleteDeliverySourceCommand, } from "./commands/DeleteDeliverySourceCommand";
|
|
16
16
|
import { DeleteDestinationCommand, } from "./commands/DeleteDestinationCommand";
|
|
17
17
|
import { DeleteIndexPolicyCommand, } from "./commands/DeleteIndexPolicyCommand";
|
|
18
|
+
import { DeleteIntegrationCommand, } from "./commands/DeleteIntegrationCommand";
|
|
18
19
|
import { DeleteLogAnomalyDetectorCommand, } from "./commands/DeleteLogAnomalyDetectorCommand";
|
|
19
20
|
import { DeleteLogGroupCommand, } from "./commands/DeleteLogGroupCommand";
|
|
20
21
|
import { DeleteLogStreamCommand, } from "./commands/DeleteLogStreamCommand";
|
|
@@ -47,6 +48,7 @@ import { GetDeliveryCommand } from "./commands/GetDeliveryCommand";
|
|
|
47
48
|
import { GetDeliveryDestinationCommand, } from "./commands/GetDeliveryDestinationCommand";
|
|
48
49
|
import { GetDeliveryDestinationPolicyCommand, } from "./commands/GetDeliveryDestinationPolicyCommand";
|
|
49
50
|
import { GetDeliverySourceCommand, } from "./commands/GetDeliverySourceCommand";
|
|
51
|
+
import { GetIntegrationCommand, } from "./commands/GetIntegrationCommand";
|
|
50
52
|
import { GetLogAnomalyDetectorCommand, } from "./commands/GetLogAnomalyDetectorCommand";
|
|
51
53
|
import { GetLogEventsCommand, } from "./commands/GetLogEventsCommand";
|
|
52
54
|
import { GetLogGroupFieldsCommand, } from "./commands/GetLogGroupFieldsCommand";
|
|
@@ -54,6 +56,7 @@ import { GetLogRecordCommand, } from "./commands/GetLogRecordCommand";
|
|
|
54
56
|
import { GetQueryResultsCommand, } from "./commands/GetQueryResultsCommand";
|
|
55
57
|
import { GetTransformerCommand, } from "./commands/GetTransformerCommand";
|
|
56
58
|
import { ListAnomaliesCommand, } from "./commands/ListAnomaliesCommand";
|
|
59
|
+
import { ListIntegrationsCommand, } from "./commands/ListIntegrationsCommand";
|
|
57
60
|
import { ListLogAnomalyDetectorsCommand, } from "./commands/ListLogAnomalyDetectorsCommand";
|
|
58
61
|
import { ListLogGroupsForQueryCommand, } from "./commands/ListLogGroupsForQueryCommand";
|
|
59
62
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -66,6 +69,7 @@ import { PutDeliverySourceCommand, } from "./commands/PutDeliverySourceCommand";
|
|
|
66
69
|
import { PutDestinationCommand, } from "./commands/PutDestinationCommand";
|
|
67
70
|
import { PutDestinationPolicyCommand, } from "./commands/PutDestinationPolicyCommand";
|
|
68
71
|
import { PutIndexPolicyCommand, } from "./commands/PutIndexPolicyCommand";
|
|
72
|
+
import { PutIntegrationCommand, } from "./commands/PutIntegrationCommand";
|
|
69
73
|
import { PutLogEventsCommand, } from "./commands/PutLogEventsCommand";
|
|
70
74
|
import { PutMetricFilterCommand, } from "./commands/PutMetricFilterCommand";
|
|
71
75
|
import { PutQueryDefinitionCommand, } from "./commands/PutQueryDefinitionCommand";
|
|
@@ -101,6 +105,7 @@ const commands = {
|
|
|
101
105
|
DeleteDeliverySourceCommand,
|
|
102
106
|
DeleteDestinationCommand,
|
|
103
107
|
DeleteIndexPolicyCommand,
|
|
108
|
+
DeleteIntegrationCommand,
|
|
104
109
|
DeleteLogAnomalyDetectorCommand,
|
|
105
110
|
DeleteLogGroupCommand,
|
|
106
111
|
DeleteLogStreamCommand,
|
|
@@ -133,6 +138,7 @@ const commands = {
|
|
|
133
138
|
GetDeliveryDestinationCommand,
|
|
134
139
|
GetDeliveryDestinationPolicyCommand,
|
|
135
140
|
GetDeliverySourceCommand,
|
|
141
|
+
GetIntegrationCommand,
|
|
136
142
|
GetLogAnomalyDetectorCommand,
|
|
137
143
|
GetLogEventsCommand,
|
|
138
144
|
GetLogGroupFieldsCommand,
|
|
@@ -140,6 +146,7 @@ const commands = {
|
|
|
140
146
|
GetQueryResultsCommand,
|
|
141
147
|
GetTransformerCommand,
|
|
142
148
|
ListAnomaliesCommand,
|
|
149
|
+
ListIntegrationsCommand,
|
|
143
150
|
ListLogAnomalyDetectorsCommand,
|
|
144
151
|
ListLogGroupsForQueryCommand,
|
|
145
152
|
ListTagsForResourceCommand,
|
|
@@ -152,6 +159,7 @@ const commands = {
|
|
|
152
159
|
PutDestinationCommand,
|
|
153
160
|
PutDestinationPolicyCommand,
|
|
154
161
|
PutIndexPolicyCommand,
|
|
162
|
+
PutIntegrationCommand,
|
|
155
163
|
PutLogEventsCommand,
|
|
156
164
|
PutMetricFilterCommand,
|
|
157
165
|
PutQueryDefinitionCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteIntegrationCommand, se_DeleteIntegrationCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteIntegrationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "DeleteIntegration", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "DeleteIntegrationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteIntegrationCommand)
|
|
20
|
+
.de(de_DeleteIntegrationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetIntegrationCommand, se_GetIntegrationCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetIntegrationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "GetIntegration", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "GetIntegrationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetIntegrationCommand)
|
|
20
|
+
.de(de_GetIntegrationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListIntegrationsCommand, se_ListIntegrationsCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListIntegrationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "ListIntegrations", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "ListIntegrationsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListIntegrationsCommand)
|
|
20
|
+
.de(de_ListIntegrationsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_PutIntegrationCommand, se_PutIntegrationCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutIntegrationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Logs_20140328", "PutIntegration", {})
|
|
17
|
+
.n("CloudWatchLogsClient", "PutIntegrationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_PutIntegrationCommand)
|
|
20
|
+
.de(de_PutIntegrationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -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";
|