@aws-sdk/client-cloudwatch-logs 3.1017.0 → 3.1019.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/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-cjs/schemas/schemas_0.js +22 -10
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-es/schemas/schemas_0.js +18 -6
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +2 -0
- package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +7 -0
- package/dist-types/commands/GetScheduledQueryCommand.d.ts +2 -0
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +2 -0
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +7 -0
- package/dist-types/commands/StartQueryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +64 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultCloudWatchLogsHttpAuthSchemeProvider = exports.defaultCloudWatchLogsHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
6
|
const defaultCloudWatchLogsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
@@ -38,7 +38,7 @@ const defaultCloudWatchLogsHttpAuthSchemeProvider = (authParameters) => {
|
|
|
38
38
|
};
|
|
39
39
|
exports.defaultCloudWatchLogsHttpAuthSchemeProvider = defaultCloudWatchLogsHttpAuthSchemeProvider;
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
|
-
const config_0 = (0,
|
|
41
|
+
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
43
|
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
-
const
|
|
6
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
7
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
9
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
9
10
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
@@ -22,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
22
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
|
-
(0,
|
|
26
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
27
|
const loaderConfig = {
|
|
27
28
|
profile: config?.profile,
|
|
28
29
|
logger: clientSharedValues.logger,
|
|
@@ -32,7 +33,7 @@ const getRuntimeConfig = (config) => {
|
|
|
32
33
|
...config,
|
|
33
34
|
runtime: "node",
|
|
34
35
|
defaultsMode,
|
|
35
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(
|
|
36
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
36
37
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
37
38
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
38
39
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -23,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
{
|
|
24
24
|
schemeId: "aws.auth#sigv4",
|
|
25
25
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
26
|
-
signer: new
|
|
26
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
27
|
},
|
|
28
28
|
],
|
|
29
29
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
@@ -5,10 +5,10 @@ exports.DescribeImportTaskBatchesRequest$ = exports.DescribeFieldIndexesResponse
|
|
|
5
5
|
exports.GetLogFieldsRequest$ = exports.GetLogEventsResponse$ = exports.GetLogEventsRequest$ = exports.GetLogAnomalyDetectorResponse$ = exports.GetLogAnomalyDetectorRequest$ = exports.GetIntegrationResponse$ = exports.GetIntegrationRequest$ = exports.GetDeliverySourceResponse$ = exports.GetDeliverySourceRequest$ = exports.GetDeliveryResponse$ = exports.GetDeliveryRequest$ = exports.GetDeliveryDestinationResponse$ = exports.GetDeliveryDestinationRequest$ = exports.GetDeliveryDestinationPolicyResponse$ = exports.GetDeliveryDestinationPolicyRequest$ = exports.GetDataProtectionPolicyResponse$ = exports.GetDataProtectionPolicyRequest$ = exports.FilterLogEventsResponse$ = exports.FilterLogEventsRequest$ = exports.FilteredLogEvent$ = exports.FieldsData$ = exports.FieldIndex$ = exports.ExportTaskStatus$ = exports.ExportTaskExecutionInfo$ = exports.ExportTask$ = exports.Entity$ = exports.DisassociateSourceFromS3TableIntegrationResponse$ = exports.DisassociateSourceFromS3TableIntegrationRequest$ = exports.DisassociateKmsKeyRequest$ = exports.DestinationConfiguration$ = exports.Destination$ = exports.DescribeSubscriptionFiltersResponse$ = exports.DescribeSubscriptionFiltersRequest$ = exports.DescribeResourcePoliciesResponse$ = exports.DescribeResourcePoliciesRequest$ = exports.DescribeQueryDefinitionsResponse$ = exports.DescribeQueryDefinitionsRequest$ = exports.DescribeQueriesResponse$ = exports.DescribeQueriesRequest$ = exports.DescribeMetricFiltersResponse$ = exports.DescribeMetricFiltersRequest$ = exports.DescribeLogStreamsResponse$ = exports.DescribeLogStreamsRequest$ = exports.DescribeLogGroupsResponse$ = exports.DescribeLogGroupsRequest$ = exports.DescribeIndexPoliciesResponse$ = exports.DescribeIndexPoliciesRequest$ = exports.DescribeImportTasksResponse$ = exports.DescribeImportTasksRequest$ = exports.DescribeImportTaskBatchesResponse$ = void 0;
|
|
6
6
|
exports.LogEvent$ = exports.LiveTailSessionUpdate$ = exports.LiveTailSessionStart$ = exports.LiveTailSessionMetadata$ = exports.LiveTailSessionLogEvent$ = exports.ListToMap$ = exports.ListTagsLogGroupResponse$ = exports.ListTagsLogGroupRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSourcesForS3TableIntegrationResponse$ = exports.ListSourcesForS3TableIntegrationRequest$ = exports.ListScheduledQueriesResponse$ = exports.ListScheduledQueriesRequest$ = exports.ListLogGroupsResponse$ = exports.ListLogGroupsRequest$ = exports.ListLogGroupsForQueryResponse$ = exports.ListLogGroupsForQueryRequest$ = exports.ListLogAnomalyDetectorsResponse$ = exports.ListLogAnomalyDetectorsRequest$ = exports.ListIntegrationsResponse$ = exports.ListIntegrationsRequest$ = exports.ListAnomaliesResponse$ = exports.ListAnomaliesRequest$ = exports.ListAggregateLogGroupSummariesResponse$ = exports.ListAggregateLogGroupSummariesRequest$ = exports.IntegrationSummary$ = exports.InputLogEvent$ = exports.IndexPolicy$ = exports.ImportStatistics$ = exports.ImportFilter$ = exports.ImportBatch$ = exports.Import$ = exports.GroupingIdentifier$ = exports.Grok$ = exports.GetTransformerResponse$ = exports.GetTransformerRequest$ = exports.GetScheduledQueryResponse$ = exports.GetScheduledQueryRequest$ = exports.GetScheduledQueryHistoryResponse$ = exports.GetScheduledQueryHistoryRequest$ = exports.GetQueryResultsResponse$ = exports.GetQueryResultsRequest$ = exports.GetLogRecordResponse$ = exports.GetLogRecordRequest$ = exports.GetLogObjectResponse$ = exports.GetLogObjectRequest$ = exports.GetLogGroupFieldsResponse$ = exports.GetLogGroupFieldsRequest$ = exports.GetLogFieldsResponse$ = void 0;
|
|
7
7
|
exports.PutIndexPolicyRequest$ = exports.PutDestinationResponse$ = exports.PutDestinationRequest$ = exports.PutDestinationPolicyRequest$ = exports.PutDeliverySourceResponse$ = exports.PutDeliverySourceRequest$ = exports.PutDeliveryDestinationResponse$ = exports.PutDeliveryDestinationRequest$ = exports.PutDeliveryDestinationPolicyResponse$ = exports.PutDeliveryDestinationPolicyRequest$ = exports.PutDataProtectionPolicyResponse$ = exports.PutDataProtectionPolicyRequest$ = exports.PutBearerTokenAuthenticationRequest$ = exports.PutAccountPolicyResponse$ = exports.PutAccountPolicyRequest$ = exports.Processor$ = exports.Policy$ = exports.PatternToken$ = exports.ParseWAF$ = exports.ParseVPC$ = exports.ParseToOCSF$ = exports.ParseRoute53$ = exports.ParsePostgres$ = exports.ParseKeyValue$ = exports.ParseJSON$ = exports.ParseCloudfront$ = exports.OutputLogEvent$ = exports.OpenSearchWorkspace$ = exports.OpenSearchResourceStatus$ = exports.OpenSearchResourceConfig$ = exports.OpenSearchNetworkPolicy$ = exports.OpenSearchLifecyclePolicy$ = exports.OpenSearchIntegrationDetails$ = exports.OpenSearchEncryptionPolicy$ = exports.OpenSearchDataSource$ = exports.OpenSearchDataAccessPolicy$ = exports.OpenSearchCollection$ = exports.OpenSearchApplication$ = exports.MoveKeys$ = exports.MoveKeyEntry$ = exports.MetricTransformation$ = exports.MetricFilterMatchRecord$ = exports.MetricFilter$ = exports.LowerCaseString$ = exports.LogStream$ = exports.LogGroupSummary$ = exports.LogGroupField$ = exports.LogGroup$ = exports.LogFieldType$ = exports.LogFieldsListItem$ = void 0;
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.UpdateScheduledQuery$ = exports.UpdateLogAnomalyDetector$ = exports.UpdateDeliveryConfiguration$ = exports.UpdateAnomaly$ = exports.UntagResource$ = exports.UntagLogGroup$ = exports.TestTransformer$ = exports.TestMetricFilter$ = exports.TagResource$ = exports.TagLogGroup$ = exports.StopQuery$ = exports.StartQuery$ = exports.StartLiveTail$ = exports.PutTransformer$ = exports.PutSubscriptionFilter$ = exports.PutRetentionPolicy$ = exports.PutResourcePolicy$ = exports.PutQueryDefinition$ = exports.PutMetricFilter$ = exports.PutLogGroupDeletionProtection$ = exports.PutLogEvents$ = exports.PutIntegration$ = exports.PutIndexPolicy$ = exports.PutDestinationPolicy$ = exports.PutDestination$ = exports.PutDeliverySource$ = void 0;
|
|
8
|
+
exports.TestTransformerRequest$ = exports.TestMetricFilterResponse$ = exports.TestMetricFilterRequest$ = exports.TagResourceRequest$ = exports.TagLogGroupRequest$ = exports.SuppressionPeriod$ = exports.SubstituteStringEntry$ = exports.SubstituteString$ = exports.SubscriptionFilter$ = exports.StopQueryResponse$ = exports.StopQueryRequest$ = exports.StartQueryResponse$ = exports.StartQueryRequest$ = exports.StartLiveTailResponse$ = exports.StartLiveTailRequest$ = exports.SplitStringEntry$ = exports.SplitString$ = exports.SearchedLogStream$ = exports.ScheduledQuerySummary$ = exports.ScheduledQueryDestination$ = exports.S3TableIntegrationSource$ = exports.S3DeliveryConfiguration$ = exports.S3Configuration$ = exports.ResultField$ = exports.ResourcePolicy$ = exports.RenameKeys$ = exports.RenameKeyEntry$ = exports.RejectedLogEventsInfo$ = exports.RejectedEntityInfo$ = exports.RecordField$ = exports.QueryStatistics$ = exports.QueryParameter$ = exports.QueryInfo$ = exports.QueryDefinition$ = exports.QueryCompileErrorLocation$ = exports.QueryCompileError$ = exports.PutTransformerRequest$ = exports.PutSubscriptionFilterRequest$ = exports.PutRetentionPolicyRequest$ = exports.PutResourcePolicyResponse$ = exports.PutResourcePolicyRequest$ = exports.PutQueryDefinitionResponse$ = exports.PutQueryDefinitionRequest$ = exports.PutMetricFilterRequest$ = exports.PutLogGroupDeletionProtectionRequest$ = exports.PutLogEventsResponse$ = exports.PutLogEventsRequest$ = exports.PutIntegrationResponse$ = exports.PutIntegrationRequest$ = exports.PutIndexPolicyResponse$ = void 0;
|
|
9
|
+
exports.DescribeAccountPolicies$ = exports.DeleteTransformer$ = exports.DeleteSubscriptionFilter$ = exports.DeleteScheduledQuery$ = exports.DeleteRetentionPolicy$ = exports.DeleteResourcePolicy$ = exports.DeleteQueryDefinition$ = exports.DeleteMetricFilter$ = exports.DeleteLogStream$ = exports.DeleteLogGroup$ = exports.DeleteLogAnomalyDetector$ = exports.DeleteIntegration$ = exports.DeleteIndexPolicy$ = exports.DeleteDestination$ = exports.DeleteDeliverySource$ = exports.DeleteDeliveryDestinationPolicy$ = exports.DeleteDeliveryDestination$ = exports.DeleteDelivery$ = exports.DeleteDataProtectionPolicy$ = exports.DeleteAccountPolicy$ = exports.CreateScheduledQuery$ = exports.CreateLogStream$ = exports.CreateLogGroup$ = exports.CreateLogAnomalyDetector$ = exports.CreateImportTask$ = exports.CreateExportTask$ = exports.CreateDelivery$ = exports.CancelImportTask$ = exports.CancelExportTask$ = exports.AssociateSourceToS3TableIntegration$ = exports.AssociateKmsKey$ = exports.StartLiveTailResponseStream$ = exports.ResourceConfig$ = exports.IntegrationDetails$ = exports.GetLogObjectResponseStream$ = exports.UpperCaseString$ = exports.UpdateScheduledQueryResponse$ = exports.UpdateScheduledQueryRequest$ = exports.UpdateLogAnomalyDetectorRequest$ = exports.UpdateDeliveryConfigurationResponse$ = exports.UpdateDeliveryConfigurationRequest$ = exports.UpdateAnomalyRequest$ = exports.UntagResourceRequest$ = exports.UntagLogGroupRequest$ = exports.TypeConverterEntry$ = exports.TypeConverter$ = exports.TrimString$ = exports.TriggerHistoryRecord$ = exports.TransformedLogRecord$ = exports.TestTransformerResponse$ = void 0;
|
|
10
|
+
exports.PutDeliveryDestination$ = exports.PutDataProtectionPolicy$ = exports.PutBearerTokenAuthentication$ = exports.PutAccountPolicy$ = exports.ListTagsLogGroup$ = exports.ListTagsForResource$ = exports.ListSourcesForS3TableIntegration$ = exports.ListScheduledQueries$ = exports.ListLogGroupsForQuery$ = exports.ListLogGroups$ = exports.ListLogAnomalyDetectors$ = exports.ListIntegrations$ = exports.ListAnomalies$ = exports.ListAggregateLogGroupSummaries$ = exports.GetTransformer$ = exports.GetScheduledQueryHistory$ = exports.GetScheduledQuery$ = exports.GetQueryResults$ = exports.GetLogRecord$ = exports.GetLogObject$ = exports.GetLogGroupFields$ = exports.GetLogFields$ = exports.GetLogEvents$ = exports.GetLogAnomalyDetector$ = exports.GetIntegration$ = exports.GetDeliverySource$ = exports.GetDeliveryDestinationPolicy$ = exports.GetDeliveryDestination$ = exports.GetDelivery$ = exports.GetDataProtectionPolicy$ = exports.FilterLogEvents$ = exports.DisassociateSourceFromS3TableIntegration$ = exports.DisassociateKmsKey$ = exports.DescribeSubscriptionFilters$ = exports.DescribeResourcePolicies$ = exports.DescribeQueryDefinitions$ = exports.DescribeQueries$ = exports.DescribeMetricFilters$ = exports.DescribeLogStreams$ = exports.DescribeLogGroups$ = exports.DescribeIndexPolicies$ = exports.DescribeImportTasks$ = exports.DescribeImportTaskBatches$ = exports.DescribeFieldIndexes$ = exports.DescribeExportTasks$ = exports.DescribeDestinations$ = exports.DescribeDeliverySources$ = exports.DescribeDeliveryDestinations$ = exports.DescribeDeliveries$ = exports.DescribeConfigurationTemplates$ = void 0;
|
|
11
|
+
exports.UpdateScheduledQuery$ = exports.UpdateLogAnomalyDetector$ = exports.UpdateDeliveryConfiguration$ = exports.UpdateAnomaly$ = exports.UntagResource$ = exports.UntagLogGroup$ = exports.TestTransformer$ = exports.TestMetricFilter$ = exports.TagResource$ = exports.TagLogGroup$ = exports.StopQuery$ = exports.StartQuery$ = exports.StartLiveTail$ = exports.PutTransformer$ = exports.PutSubscriptionFilter$ = exports.PutRetentionPolicy$ = exports.PutResourcePolicy$ = exports.PutQueryDefinition$ = exports.PutMetricFilter$ = exports.PutLogGroupDeletionProtection$ = exports.PutLogEvents$ = exports.PutIntegration$ = exports.PutIndexPolicy$ = exports.PutDestinationPolicy$ = exports.PutDestination$ = exports.PutDeliverySource$ = exports.PutDeliveryDestinationPolicy$ = void 0;
|
|
12
12
|
const _A = "Anomaly";
|
|
13
13
|
const _AD = "AnomalyDetector";
|
|
14
14
|
const _ADE = "AccessDeniedException";
|
|
@@ -401,6 +401,8 @@ const _QD = "QueryDefinition";
|
|
|
401
401
|
const _QDL = "QueryDefinitionList";
|
|
402
402
|
const _QI = "QueryInfo";
|
|
403
403
|
const _QIL = "QueryInfoList";
|
|
404
|
+
const _QP = "QueryParameter";
|
|
405
|
+
const _QPL = "QueryParameterList";
|
|
404
406
|
const _QR = "QueryResults";
|
|
405
407
|
const _QS = "QueryStatistics";
|
|
406
408
|
const _RAEE = "ResourceAlreadyExistsException";
|
|
@@ -736,6 +738,7 @@ const _nMV = "nonMatchValue";
|
|
|
736
738
|
const _nP = "networkPolicy";
|
|
737
739
|
const _nST = "nextSequenceToken";
|
|
738
740
|
const _nT = "nextToken";
|
|
741
|
+
const _oAI = "ownerAccountId";
|
|
739
742
|
const _oB = "orderBy";
|
|
740
743
|
const _oF = "outputFormat";
|
|
741
744
|
const _oIE = "overwriteIfExists";
|
|
@@ -760,6 +763,7 @@ const _pTOCSF = "parseToOCSF";
|
|
|
760
763
|
const _pTa = "patternTokens";
|
|
761
764
|
const _pVPC = "parseVPC";
|
|
762
765
|
const _pWAF = "parseWAF";
|
|
766
|
+
const _pa = "parameters";
|
|
763
767
|
const _pe = "percent";
|
|
764
768
|
const _po = "policy";
|
|
765
769
|
const _q = "queries";
|
|
@@ -2185,8 +2189,8 @@ exports.PutMetricFilterRequest$ = [3, n0, _PMFR,
|
|
|
2185
2189
|
];
|
|
2186
2190
|
exports.PutQueryDefinitionRequest$ = [3, n0, _PQDR,
|
|
2187
2191
|
0,
|
|
2188
|
-
[_n, _qS, _qL, _qDI, _lGNo, _cTl],
|
|
2189
|
-
[0, 0, 0, 0, 64 | 0, [0, 4]], 2
|
|
2192
|
+
[_n, _qS, _qL, _qDI, _lGNo, _cTl, _pa],
|
|
2193
|
+
[0, 0, 0, 0, 64 | 0, [0, 4], () => QueryParameterList], 2
|
|
2190
2194
|
];
|
|
2191
2195
|
exports.PutQueryDefinitionResponse$ = [3, n0, _PQDRu,
|
|
2192
2196
|
0,
|
|
@@ -2230,14 +2234,19 @@ exports.QueryCompileErrorLocation$ = [3, n0, _QCEL,
|
|
|
2230
2234
|
];
|
|
2231
2235
|
exports.QueryDefinition$ = [3, n0, _QD,
|
|
2232
2236
|
0,
|
|
2233
|
-
[_qL, _qDI, _n, _qS, _lM, _lGNo],
|
|
2234
|
-
[0, 0, 0, 0, 1, 64 | 0]
|
|
2237
|
+
[_qL, _qDI, _n, _qS, _lM, _lGNo, _pa],
|
|
2238
|
+
[0, 0, 0, 0, 1, 64 | 0, () => QueryParameterList]
|
|
2235
2239
|
];
|
|
2236
2240
|
exports.QueryInfo$ = [3, n0, _QI,
|
|
2237
2241
|
0,
|
|
2238
2242
|
[_qL, _qI, _qS, _sta, _cTr, _lGN],
|
|
2239
2243
|
[0, 0, 0, 0, 1, 0]
|
|
2240
2244
|
];
|
|
2245
|
+
exports.QueryParameter$ = [3, n0, _QP,
|
|
2246
|
+
0,
|
|
2247
|
+
[_n, _dV, _d],
|
|
2248
|
+
[0, 0, 0], 1
|
|
2249
|
+
];
|
|
2241
2250
|
exports.QueryStatistics$ = [3, n0, _QS,
|
|
2242
2251
|
0,
|
|
2243
2252
|
[_rM, _rS, _eRS, _bS, _eBS, _lGS],
|
|
@@ -2280,8 +2289,8 @@ exports.ResultField$ = [3, n0, _RFe,
|
|
|
2280
2289
|
];
|
|
2281
2290
|
exports.S3Configuration$ = [3, n0, _SC,
|
|
2282
2291
|
0,
|
|
2283
|
-
[_dI, _rAo],
|
|
2284
|
-
[0, 0], 2
|
|
2292
|
+
[_dI, _rAo, _oAI, _kKI],
|
|
2293
|
+
[0, 0, 0, 0], 2
|
|
2285
2294
|
];
|
|
2286
2295
|
exports.S3DeliveryConfiguration$ = [3, n0, _SDC,
|
|
2287
2296
|
0,
|
|
@@ -2605,6 +2614,9 @@ var QueryDefinitionList = [1, n0, _QDL,
|
|
|
2605
2614
|
var QueryInfoList = [1, n0, _QIL,
|
|
2606
2615
|
0, () => exports.QueryInfo$
|
|
2607
2616
|
];
|
|
2617
|
+
var QueryParameterList = [1, n0, _QPL,
|
|
2618
|
+
0, () => exports.QueryParameter$
|
|
2619
|
+
];
|
|
2608
2620
|
var QueryResults = [1, n0, _QR,
|
|
2609
2621
|
0, () => ResultRows
|
|
2610
2622
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
3
3
|
export const defaultCloudWatchLogsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
3
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
5
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
6
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -390,6 +390,8 @@ const _QD = "QueryDefinition";
|
|
|
390
390
|
const _QDL = "QueryDefinitionList";
|
|
391
391
|
const _QI = "QueryInfo";
|
|
392
392
|
const _QIL = "QueryInfoList";
|
|
393
|
+
const _QP = "QueryParameter";
|
|
394
|
+
const _QPL = "QueryParameterList";
|
|
393
395
|
const _QR = "QueryResults";
|
|
394
396
|
const _QS = "QueryStatistics";
|
|
395
397
|
const _RAEE = "ResourceAlreadyExistsException";
|
|
@@ -725,6 +727,7 @@ const _nMV = "nonMatchValue";
|
|
|
725
727
|
const _nP = "networkPolicy";
|
|
726
728
|
const _nST = "nextSequenceToken";
|
|
727
729
|
const _nT = "nextToken";
|
|
730
|
+
const _oAI = "ownerAccountId";
|
|
728
731
|
const _oB = "orderBy";
|
|
729
732
|
const _oF = "outputFormat";
|
|
730
733
|
const _oIE = "overwriteIfExists";
|
|
@@ -749,6 +752,7 @@ const _pTOCSF = "parseToOCSF";
|
|
|
749
752
|
const _pTa = "patternTokens";
|
|
750
753
|
const _pVPC = "parseVPC";
|
|
751
754
|
const _pWAF = "parseWAF";
|
|
755
|
+
const _pa = "parameters";
|
|
752
756
|
const _pe = "percent";
|
|
753
757
|
const _po = "policy";
|
|
754
758
|
const _q = "queries";
|
|
@@ -2174,8 +2178,8 @@ export var PutMetricFilterRequest$ = [3, n0, _PMFR,
|
|
|
2174
2178
|
];
|
|
2175
2179
|
export var PutQueryDefinitionRequest$ = [3, n0, _PQDR,
|
|
2176
2180
|
0,
|
|
2177
|
-
[_n, _qS, _qL, _qDI, _lGNo, _cTl],
|
|
2178
|
-
[0, 0, 0, 0, 64 | 0, [0, 4]], 2
|
|
2181
|
+
[_n, _qS, _qL, _qDI, _lGNo, _cTl, _pa],
|
|
2182
|
+
[0, 0, 0, 0, 64 | 0, [0, 4], () => QueryParameterList], 2
|
|
2179
2183
|
];
|
|
2180
2184
|
export var PutQueryDefinitionResponse$ = [3, n0, _PQDRu,
|
|
2181
2185
|
0,
|
|
@@ -2219,14 +2223,19 @@ export var QueryCompileErrorLocation$ = [3, n0, _QCEL,
|
|
|
2219
2223
|
];
|
|
2220
2224
|
export var QueryDefinition$ = [3, n0, _QD,
|
|
2221
2225
|
0,
|
|
2222
|
-
[_qL, _qDI, _n, _qS, _lM, _lGNo],
|
|
2223
|
-
[0, 0, 0, 0, 1, 64 | 0]
|
|
2226
|
+
[_qL, _qDI, _n, _qS, _lM, _lGNo, _pa],
|
|
2227
|
+
[0, 0, 0, 0, 1, 64 | 0, () => QueryParameterList]
|
|
2224
2228
|
];
|
|
2225
2229
|
export var QueryInfo$ = [3, n0, _QI,
|
|
2226
2230
|
0,
|
|
2227
2231
|
[_qL, _qI, _qS, _sta, _cTr, _lGN],
|
|
2228
2232
|
[0, 0, 0, 0, 1, 0]
|
|
2229
2233
|
];
|
|
2234
|
+
export var QueryParameter$ = [3, n0, _QP,
|
|
2235
|
+
0,
|
|
2236
|
+
[_n, _dV, _d],
|
|
2237
|
+
[0, 0, 0], 1
|
|
2238
|
+
];
|
|
2230
2239
|
export var QueryStatistics$ = [3, n0, _QS,
|
|
2231
2240
|
0,
|
|
2232
2241
|
[_rM, _rS, _eRS, _bS, _eBS, _lGS],
|
|
@@ -2269,8 +2278,8 @@ export var ResultField$ = [3, n0, _RFe,
|
|
|
2269
2278
|
];
|
|
2270
2279
|
export var S3Configuration$ = [3, n0, _SC,
|
|
2271
2280
|
0,
|
|
2272
|
-
[_dI, _rAo],
|
|
2273
|
-
[0, 0], 2
|
|
2281
|
+
[_dI, _rAo, _oAI, _kKI],
|
|
2282
|
+
[0, 0, 0, 0], 2
|
|
2274
2283
|
];
|
|
2275
2284
|
export var S3DeliveryConfiguration$ = [3, n0, _SDC,
|
|
2276
2285
|
0,
|
|
@@ -2594,6 +2603,9 @@ var QueryDefinitionList = [1, n0, _QDL,
|
|
|
2594
2603
|
var QueryInfoList = [1, n0, _QIL,
|
|
2595
2604
|
0, () => QueryInfo$
|
|
2596
2605
|
];
|
|
2606
|
+
var QueryParameterList = [1, n0, _QPL,
|
|
2607
|
+
0, () => QueryParameter$
|
|
2608
|
+
];
|
|
2597
2609
|
var QueryResults = [1, n0, _QR,
|
|
2598
2610
|
0, () => ResultRows
|
|
2599
2611
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { type CloudWatchLogsClientResolvedConfig } from "../CloudWatchLogsClient";
|
|
4
4
|
/**
|
|
@@ -54,6 +54,8 @@ declare const CreateScheduledQueryCommand_base: {
|
|
|
54
54
|
* s3Configuration: { // S3Configuration
|
|
55
55
|
* destinationIdentifier: "STRING_VALUE", // required
|
|
56
56
|
* roleArn: "STRING_VALUE", // required
|
|
57
|
+
* ownerAccountId: "STRING_VALUE",
|
|
58
|
+
* kmsKeyId: "STRING_VALUE",
|
|
57
59
|
* },
|
|
58
60
|
* },
|
|
59
61
|
* scheduleStartTime: Number("long"),
|
|
@@ -59,6 +59,13 @@ declare const DescribeQueryDefinitionsCommand_base: {
|
|
|
59
59
|
* // logGroupNames: [ // LogGroupNames
|
|
60
60
|
* // "STRING_VALUE",
|
|
61
61
|
* // ],
|
|
62
|
+
* // parameters: [ // QueryParameterList
|
|
63
|
+
* // { // QueryParameter
|
|
64
|
+
* // name: "STRING_VALUE", // required
|
|
65
|
+
* // defaultValue: "STRING_VALUE",
|
|
66
|
+
* // description: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
62
69
|
* // },
|
|
63
70
|
* // ],
|
|
64
71
|
* // nextToken: "STRING_VALUE",
|
|
@@ -58,6 +58,8 @@ declare const GetScheduledQueryCommand_base: {
|
|
|
58
58
|
* // s3Configuration: { // S3Configuration
|
|
59
59
|
* // destinationIdentifier: "STRING_VALUE", // required
|
|
60
60
|
* // roleArn: "STRING_VALUE", // required
|
|
61
|
+
* // ownerAccountId: "STRING_VALUE",
|
|
62
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
61
63
|
* // },
|
|
62
64
|
* // },
|
|
63
65
|
* // state: "ENABLED" || "DISABLED",
|
|
@@ -59,6 +59,8 @@ declare const ListScheduledQueriesCommand_base: {
|
|
|
59
59
|
* // s3Configuration: { // S3Configuration
|
|
60
60
|
* // destinationIdentifier: "STRING_VALUE", // required
|
|
61
61
|
* // roleArn: "STRING_VALUE", // required
|
|
62
|
+
* // ownerAccountId: "STRING_VALUE",
|
|
63
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
62
64
|
* // },
|
|
63
65
|
* // },
|
|
64
66
|
* // creationTime: Number("long"),
|
|
@@ -55,6 +55,13 @@ declare const PutQueryDefinitionCommand_base: {
|
|
|
55
55
|
* ],
|
|
56
56
|
* queryString: "STRING_VALUE", // required
|
|
57
57
|
* clientToken: "STRING_VALUE",
|
|
58
|
+
* parameters: [ // QueryParameterList
|
|
59
|
+
* { // QueryParameter
|
|
60
|
+
* name: "STRING_VALUE", // required
|
|
61
|
+
* defaultValue: "STRING_VALUE",
|
|
62
|
+
* description: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
58
65
|
* };
|
|
59
66
|
* const command = new PutQueryDefinitionCommand(input);
|
|
60
67
|
* const response = await client.send(command);
|
|
@@ -69,7 +69,7 @@ declare const StartQueryCommand_base: {
|
|
|
69
69
|
* in a monitoring account to start a query in a linked source account. For more information, see
|
|
70
70
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>. For a cross-account <code>StartQuery</code>
|
|
71
71
|
* operation, the query definition must be defined in the monitoring account.</p>
|
|
72
|
-
* <p>You can have up to
|
|
72
|
+
* <p>You can have up to 100 concurrent CloudWatch Logs insights queries, including queries
|
|
73
73
|
* that have been added to dashboards. </p>
|
|
74
74
|
* @example
|
|
75
75
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -52,6 +52,8 @@ declare const UpdateScheduledQueryCommand_base: {
|
|
|
52
52
|
* s3Configuration: { // S3Configuration
|
|
53
53
|
* destinationIdentifier: "STRING_VALUE", // required
|
|
54
54
|
* roleArn: "STRING_VALUE", // required
|
|
55
|
+
* ownerAccountId: "STRING_VALUE",
|
|
56
|
+
* kmsKeyId: "STRING_VALUE",
|
|
55
57
|
* },
|
|
56
58
|
* },
|
|
57
59
|
* scheduleStartTime: Number("long"),
|
|
@@ -77,6 +79,8 @@ declare const UpdateScheduledQueryCommand_base: {
|
|
|
77
79
|
* // s3Configuration: { // S3Configuration
|
|
78
80
|
* // destinationIdentifier: "STRING_VALUE", // required
|
|
79
81
|
* // roleArn: "STRING_VALUE", // required
|
|
82
|
+
* // ownerAccountId: "STRING_VALUE",
|
|
83
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
80
84
|
* // },
|
|
81
85
|
* // },
|
|
82
86
|
* // state: "ENABLED" || "DISABLED",
|
|
@@ -1075,6 +1075,17 @@ export interface S3Configuration {
|
|
|
1075
1075
|
* @public
|
|
1076
1076
|
*/
|
|
1077
1077
|
roleArn: string | undefined;
|
|
1078
|
+
/**
|
|
1079
|
+
* <p>The AWS accountId for the bucket owning account.</p>
|
|
1080
|
+
* @public
|
|
1081
|
+
*/
|
|
1082
|
+
ownerAccountId?: string | undefined;
|
|
1083
|
+
/**
|
|
1084
|
+
* <p>The Amazon Resource Name (ARN) of the KMS encryption key. Must belong to the same AWS Region
|
|
1085
|
+
* as the destination Amazon S3 bucket.</p>
|
|
1086
|
+
* @public
|
|
1087
|
+
*/
|
|
1088
|
+
kmsKeyId?: string | undefined;
|
|
1078
1089
|
}
|
|
1079
1090
|
/**
|
|
1080
1091
|
* <p>Configuration for where to deliver scheduled query results. Specifies the destination type
|
|
@@ -1106,7 +1117,7 @@ export interface CreateScheduledQueryRequest {
|
|
|
1106
1117
|
*/
|
|
1107
1118
|
description?: string | undefined;
|
|
1108
1119
|
/**
|
|
1109
|
-
* <p>The query language to use for the scheduled query. Valid values are <code>
|
|
1120
|
+
* <p>The query language to use for the scheduled query. Valid values are <code>CWLI</code>,
|
|
1110
1121
|
* <code>PPL</code>, and <code>SQL</code>.</p>
|
|
1111
1122
|
* @public
|
|
1112
1123
|
*/
|
|
@@ -3109,6 +3120,33 @@ export interface DescribeQueryDefinitionsRequest {
|
|
|
3109
3120
|
*/
|
|
3110
3121
|
nextToken?: string | undefined;
|
|
3111
3122
|
}
|
|
3123
|
+
/**
|
|
3124
|
+
* <p>This structure defines a query parameter for a saved CloudWatch Logs Insights query
|
|
3125
|
+
* definition. Query parameters are supported only for Logs Insights QL queries. They are
|
|
3126
|
+
* placeholder variables that you can reference in a query string using the
|
|
3127
|
+
* <code>\{\{parameterName\}\}</code> syntax. Each parameter can include a default value and a
|
|
3128
|
+
* description.</p>
|
|
3129
|
+
* @public
|
|
3130
|
+
*/
|
|
3131
|
+
export interface QueryParameter {
|
|
3132
|
+
/**
|
|
3133
|
+
* <p>The name of the query parameter. A query parameter name must start with a letter or
|
|
3134
|
+
* underscore, and contain only letters, digits, and underscores.</p>
|
|
3135
|
+
* @public
|
|
3136
|
+
*/
|
|
3137
|
+
name: string | undefined;
|
|
3138
|
+
/**
|
|
3139
|
+
* <p>The default value to use for this query parameter if no value is supplied at execution
|
|
3140
|
+
* time.</p>
|
|
3141
|
+
* @public
|
|
3142
|
+
*/
|
|
3143
|
+
defaultValue?: string | undefined;
|
|
3144
|
+
/**
|
|
3145
|
+
* <p>A description of the query parameter that explains its purpose or expected values.</p>
|
|
3146
|
+
* @public
|
|
3147
|
+
*/
|
|
3148
|
+
description?: string | undefined;
|
|
3149
|
+
}
|
|
3112
3150
|
/**
|
|
3113
3151
|
* <p>This structure contains details about a saved CloudWatch Logs Insights query
|
|
3114
3152
|
* definition.</p>
|
|
@@ -3149,6 +3187,12 @@ export interface QueryDefinition {
|
|
|
3149
3187
|
* @public
|
|
3150
3188
|
*/
|
|
3151
3189
|
logGroupNames?: string[] | undefined;
|
|
3190
|
+
/**
|
|
3191
|
+
* <p>If this query definition contains a list of query parameters that define placeholder
|
|
3192
|
+
* variables for the query string, that list appears here.</p>
|
|
3193
|
+
* @public
|
|
3194
|
+
*/
|
|
3195
|
+
parameters?: QueryParameter[] | undefined;
|
|
3152
3196
|
}
|
|
3153
3197
|
/**
|
|
3154
3198
|
* @public
|
|
@@ -6656,6 +6700,10 @@ export interface PutDeliverySourceRequest {
|
|
|
6656
6700
|
* <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
|
|
6657
6701
|
* </li>
|
|
6658
6702
|
* <li>
|
|
6703
|
+
* <p>For Amazon Bedrock AgentCore Memory, the valid values are
|
|
6704
|
+
* <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
|
|
6705
|
+
* </li>
|
|
6706
|
+
* <li>
|
|
6659
6707
|
* <p>For Amazon Bedrock AgentCore Gateway, the valid values are
|
|
6660
6708
|
* <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
|
|
6661
6709
|
* </li>
|
|
@@ -6674,6 +6722,11 @@ export interface PutDeliverySourceRequest {
|
|
|
6674
6722
|
* <code>MANIFEST_SERVICE_LOGS</code>, and <code>TRANSCODE_LOGS</code>.</p>
|
|
6675
6723
|
* </li>
|
|
6676
6724
|
* <li>
|
|
6725
|
+
* <p>For Amazon EKS Auto Mode, the valid values are <code>AUTO_MODE_BLOCK_STORAGE_LOGS</code>,
|
|
6726
|
+
* <code>AUTO_MODE_COMPUTE_LOGS</code>, <code>AUTO_MODE_IPAM_LOGS</code>, and
|
|
6727
|
+
* <code>AUTO_MODE_LOAD_BALANCING_LOGS</code>.</p>
|
|
6728
|
+
* </li>
|
|
6729
|
+
* <li>
|
|
6677
6730
|
* <p>For Entity Resolution, the valid value is <code>WORKFLOW_LOGS</code>.</p>
|
|
6678
6731
|
* </li>
|
|
6679
6732
|
* <li>
|
|
@@ -6692,7 +6745,7 @@ export interface PutDeliverySourceRequest {
|
|
|
6692
6745
|
* <code>PCS_JOBCOMP_LOGS</code>.</p>
|
|
6693
6746
|
* </li>
|
|
6694
6747
|
* <li>
|
|
6695
|
-
* <p>For Quick
|
|
6748
|
+
* <p>For Quick, the valid values are <code>CHAT_LOGS</code> and
|
|
6696
6749
|
* <code>FEEDBACK_LOGS</code>.</p>
|
|
6697
6750
|
* </li>
|
|
6698
6751
|
* <li>
|
|
@@ -7193,6 +7246,15 @@ export interface PutQueryDefinitionRequest {
|
|
|
7193
7246
|
* @public
|
|
7194
7247
|
*/
|
|
7195
7248
|
clientToken?: string | undefined;
|
|
7249
|
+
/**
|
|
7250
|
+
* <p>Use this parameter to include specific query parameters as part of your query definition.
|
|
7251
|
+
* Query parameters are supported only for Logs Insights QL queries. Query parameters allow you
|
|
7252
|
+
* to use placeholder variables in your query string that are substituted with values at execution
|
|
7253
|
+
* time. Use the <code>\{\{parameterName\}\}</code> syntax in your query string to reference a
|
|
7254
|
+
* parameter.</p>
|
|
7255
|
+
* @public
|
|
7256
|
+
*/
|
|
7257
|
+
parameters?: QueryParameter[] | undefined;
|
|
7196
7258
|
}
|
|
7197
7259
|
/**
|
|
7198
7260
|
* @public
|
|
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
20
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
21
|
cacheMiddleware?: boolean | undefined;
|
|
22
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
22
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
23
23
|
protocolSettings: {
|
|
24
24
|
defaultNamespace?: string;
|
|
25
25
|
[setting: string]: unknown;
|
|
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
23
23
|
cacheMiddleware?: boolean | undefined;
|
|
24
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
24
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
25
25
|
protocolSettings: {
|
|
26
26
|
defaultNamespace?: string;
|
|
27
27
|
[setting: string]: unknown;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
cacheMiddleware?: boolean;
|
|
10
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
11
11
|
protocolSettings: {
|
|
12
12
|
defaultNamespace?: string;
|
|
13
13
|
[setting: string]: unknown;
|
|
@@ -273,6 +273,7 @@ export declare var QueryCompileError$: StaticStructureSchema;
|
|
|
273
273
|
export declare var QueryCompileErrorLocation$: StaticStructureSchema;
|
|
274
274
|
export declare var QueryDefinition$: StaticStructureSchema;
|
|
275
275
|
export declare var QueryInfo$: StaticStructureSchema;
|
|
276
|
+
export declare var QueryParameter$: StaticStructureSchema;
|
|
276
277
|
export declare var QueryStatistics$: StaticStructureSchema;
|
|
277
278
|
export declare var RecordField$: StaticStructureSchema;
|
|
278
279
|
export declare var RejectedEntityInfo$: StaticStructureSchema;
|
|
@@ -252,6 +252,8 @@ export interface CreateLogStreamRequest {
|
|
|
252
252
|
export interface S3Configuration {
|
|
253
253
|
destinationIdentifier: string | undefined;
|
|
254
254
|
roleArn: string | undefined;
|
|
255
|
+
ownerAccountId?: string | undefined;
|
|
256
|
+
kmsKeyId?: string | undefined;
|
|
255
257
|
}
|
|
256
258
|
export interface DestinationConfiguration {
|
|
257
259
|
s3Configuration: S3Configuration | undefined;
|
|
@@ -658,6 +660,11 @@ export interface DescribeQueryDefinitionsRequest {
|
|
|
658
660
|
maxResults?: number | undefined;
|
|
659
661
|
nextToken?: string | undefined;
|
|
660
662
|
}
|
|
663
|
+
export interface QueryParameter {
|
|
664
|
+
name: string | undefined;
|
|
665
|
+
defaultValue?: string | undefined;
|
|
666
|
+
description?: string | undefined;
|
|
667
|
+
}
|
|
661
668
|
export interface QueryDefinition {
|
|
662
669
|
queryLanguage?: QueryLanguage | undefined;
|
|
663
670
|
queryDefinitionId?: string | undefined;
|
|
@@ -665,6 +672,7 @@ export interface QueryDefinition {
|
|
|
665
672
|
queryString?: string | undefined;
|
|
666
673
|
lastModified?: number | undefined;
|
|
667
674
|
logGroupNames?: string[] | undefined;
|
|
675
|
+
parameters?: QueryParameter[] | undefined;
|
|
668
676
|
}
|
|
669
677
|
export interface DescribeQueryDefinitionsResponse {
|
|
670
678
|
queryDefinitions?: QueryDefinition[] | undefined;
|
|
@@ -1451,6 +1459,7 @@ export interface PutQueryDefinitionRequest {
|
|
|
1451
1459
|
logGroupNames?: string[] | undefined;
|
|
1452
1460
|
queryString: string | undefined;
|
|
1453
1461
|
clientToken?: string | undefined;
|
|
1462
|
+
parameters?: QueryParameter[] | undefined;
|
|
1454
1463
|
}
|
|
1455
1464
|
export interface PutQueryDefinitionResponse {
|
|
1456
1465
|
queryDefinitionId?: string | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
31
31
|
protocol:
|
|
32
32
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
33
33
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
34
|
-
| typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
34
|
+
| typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
35
35
|
protocolSettings: {
|
|
36
36
|
defaultNamespace?: string;
|
|
37
37
|
[setting: string]: unknown;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
31
31
|
protocol:
|
|
32
32
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
33
33
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
34
|
-
| typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
34
|
+
| typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
35
35
|
protocolSettings: {
|
|
36
36
|
defaultNamespace?: string;
|
|
37
37
|
[setting: string]: unknown;
|
|
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
12
12
|
protocol:
|
|
13
13
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
14
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
-
| typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
15
|
+
| typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
16
16
|
protocolSettings: {
|
|
17
17
|
defaultNamespace?: string;
|
|
18
18
|
[setting: string]: unknown;
|
|
@@ -273,6 +273,7 @@ export declare var QueryCompileError$: StaticStructureSchema;
|
|
|
273
273
|
export declare var QueryCompileErrorLocation$: StaticStructureSchema;
|
|
274
274
|
export declare var QueryDefinition$: StaticStructureSchema;
|
|
275
275
|
export declare var QueryInfo$: StaticStructureSchema;
|
|
276
|
+
export declare var QueryParameter$: StaticStructureSchema;
|
|
276
277
|
export declare var QueryStatistics$: StaticStructureSchema;
|
|
277
278
|
export declare var RecordField$: StaticStructureSchema;
|
|
278
279
|
export declare var RejectedEntityInfo$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch-logs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1019.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudwatch-logs",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
|
-
"@aws-sdk/core": "^3.973.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
+
"@aws-sdk/core": "^3.973.25",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.27",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
33
33
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
36
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "^3.972.26",
|
|
36
|
+
"@aws-sdk/region-config-resolver": "^3.972.10",
|
|
37
37
|
"@aws-sdk/types": "^3.973.6",
|
|
38
38
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "^3.973.12",
|
|
41
41
|
"@smithy/config-resolver": "^4.4.13",
|
|
42
42
|
"@smithy/core": "^3.23.12",
|
|
43
43
|
"@smithy/eventstream-serde-browser": "^4.2.12",
|