@aws-sdk/client-cloudwatch-logs 3.1000.0 → 3.1001.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 +7 -0
- package/dist-cjs/index.js +14 -0
- package/dist-cjs/schemas/schemas_0.js +18 -7
- package/dist-es/CloudWatchLogs.js +2 -0
- package/dist-es/commands/PutBearerTokenAuthenticationCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +13 -2
- package/dist-types/CloudWatchLogs.d.ts +7 -0
- package/dist-types/CloudWatchLogsClient.d.ts +3 -2
- package/dist-types/commands/CreateImportTaskCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLogGroupsCommand.d.ts +1 -0
- package/dist-types/commands/GetLogObjectCommand.d.ts +6 -0
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutBearerTokenAuthenticationCommand.d.ts +94 -0
- package/dist-types/commands/StartLiveTailCommand.d.ts +4 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +30 -2
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +17 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/PutBearerTokenAuthenticationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -781,6 +781,13 @@ PutAccountPolicy
|
|
|
781
781
|
</details>
|
|
782
782
|
<details>
|
|
783
783
|
<summary>
|
|
784
|
+
PutBearerTokenAuthentication
|
|
785
|
+
</summary>
|
|
786
|
+
|
|
787
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/PutBearerTokenAuthenticationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/PutBearerTokenAuthenticationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/PutBearerTokenAuthenticationCommandOutput/)
|
|
788
|
+
</details>
|
|
789
|
+
<details>
|
|
790
|
+
<summary>
|
|
784
791
|
PutDataProtectionPolicy
|
|
785
792
|
</summary>
|
|
786
793
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -1055,6 +1055,18 @@ class PutAccountPolicyCommand extends smithyClient.Command
|
|
|
1055
1055
|
.build() {
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
+
class PutBearerTokenAuthenticationCommand extends smithyClient.Command
|
|
1059
|
+
.classBuilder()
|
|
1060
|
+
.ep(commonParams)
|
|
1061
|
+
.m(function (Command, cs, config, o) {
|
|
1062
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1063
|
+
})
|
|
1064
|
+
.s("Logs_20140328", "PutBearerTokenAuthentication", {})
|
|
1065
|
+
.n("CloudWatchLogsClient", "PutBearerTokenAuthenticationCommand")
|
|
1066
|
+
.sc(schemas_0.PutBearerTokenAuthentication$)
|
|
1067
|
+
.build() {
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1058
1070
|
class PutDataProtectionPolicyCommand extends smithyClient.Command
|
|
1059
1071
|
.classBuilder()
|
|
1060
1072
|
.ep(commonParams)
|
|
@@ -1522,6 +1534,7 @@ const commands = {
|
|
|
1522
1534
|
ListTagsForResourceCommand,
|
|
1523
1535
|
ListTagsLogGroupCommand,
|
|
1524
1536
|
PutAccountPolicyCommand,
|
|
1537
|
+
PutBearerTokenAuthenticationCommand,
|
|
1525
1538
|
PutDataProtectionPolicyCommand,
|
|
1526
1539
|
PutDeliveryDestinationCommand,
|
|
1527
1540
|
PutDeliveryDestinationPolicyCommand,
|
|
@@ -1906,6 +1919,7 @@ exports.OutputFormat = OutputFormat;
|
|
|
1906
1919
|
exports.PolicyScope = PolicyScope;
|
|
1907
1920
|
exports.PolicyType = PolicyType;
|
|
1908
1921
|
exports.PutAccountPolicyCommand = PutAccountPolicyCommand;
|
|
1922
|
+
exports.PutBearerTokenAuthenticationCommand = PutBearerTokenAuthenticationCommand;
|
|
1909
1923
|
exports.PutDataProtectionPolicyCommand = PutDataProtectionPolicyCommand;
|
|
1910
1924
|
exports.PutDeliveryDestinationCommand = PutDeliveryDestinationCommand;
|
|
1911
1925
|
exports.PutDeliveryDestinationPolicyCommand = PutDeliveryDestinationPolicyCommand;
|
|
@@ -4,11 +4,11 @@ exports.CreateScheduledQueryRequest$ = exports.CreateLogStreamRequest$ = exports
|
|
|
4
4
|
exports.DescribeImportTaskBatchesRequest$ = exports.DescribeFieldIndexesResponse$ = exports.DescribeFieldIndexesRequest$ = exports.DescribeExportTasksResponse$ = exports.DescribeExportTasksRequest$ = exports.DescribeDestinationsResponse$ = exports.DescribeDestinationsRequest$ = exports.DescribeDeliverySourcesResponse$ = exports.DescribeDeliverySourcesRequest$ = exports.DescribeDeliveryDestinationsResponse$ = exports.DescribeDeliveryDestinationsRequest$ = exports.DescribeDeliveriesResponse$ = exports.DescribeDeliveriesRequest$ = exports.DescribeConfigurationTemplatesResponse$ = exports.DescribeConfigurationTemplatesRequest$ = exports.DescribeAccountPoliciesResponse$ = exports.DescribeAccountPoliciesRequest$ = exports.DeliverySource$ = exports.DeliveryDestinationConfiguration$ = exports.DeliveryDestination$ = exports.Delivery$ = exports.DeleteTransformerRequest$ = exports.DeleteSubscriptionFilterRequest$ = exports.DeleteScheduledQueryResponse$ = exports.DeleteScheduledQueryRequest$ = exports.DeleteRetentionPolicyRequest$ = exports.DeleteResourcePolicyRequest$ = exports.DeleteQueryDefinitionResponse$ = exports.DeleteQueryDefinitionRequest$ = exports.DeleteMetricFilterRequest$ = exports.DeleteLogStreamRequest$ = exports.DeleteLogGroupRequest$ = exports.DeleteLogAnomalyDetectorRequest$ = exports.DeleteKeys$ = exports.DeleteIntegrationResponse$ = exports.DeleteIntegrationRequest$ = exports.DeleteIndexPolicyResponse$ = exports.DeleteIndexPolicyRequest$ = exports.DeleteDestinationRequest$ = exports.DeleteDeliverySourceRequest$ = exports.DeleteDeliveryRequest$ = exports.DeleteDeliveryDestinationRequest$ = exports.DeleteDeliveryDestinationPolicyRequest$ = exports.DeleteDataProtectionPolicyRequest$ = exports.DeleteAccountPolicyRequest$ = exports.DateTimeConverter$ = exports.DataSourceFilter$ = exports.DataSource$ = exports.CSV$ = exports.CreateScheduledQueryResponse$ = void 0;
|
|
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
|
-
exports.
|
|
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$ = void 0;
|
|
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.TestTransformerResponse$ = 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.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.DescribeConfigurationTemplates$ = 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$ = void 0;
|
|
10
|
+
exports.PutDeliveryDestinationPolicy$ = 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$ = 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$ = void 0;
|
|
12
12
|
const _A = "Anomaly";
|
|
13
13
|
const _AD = "AnomalyDetector";
|
|
14
14
|
const _ADE = "AccessDeniedException";
|
|
@@ -339,6 +339,8 @@ const _P = "Policy";
|
|
|
339
339
|
const _PAP = "PutAccountPolicy";
|
|
340
340
|
const _PAPR = "PutAccountPolicyRequest";
|
|
341
341
|
const _PAPRu = "PutAccountPolicyResponse";
|
|
342
|
+
const _PBTA = "PutBearerTokenAuthentication";
|
|
343
|
+
const _PBTAR = "PutBearerTokenAuthenticationRequest";
|
|
342
344
|
const _PC = "ParseCloudfront";
|
|
343
345
|
const _PD = "PutDestination";
|
|
344
346
|
const _PDD = "PutDeliveryDestination";
|
|
@@ -515,6 +517,7 @@ const _bI = "batchId";
|
|
|
515
517
|
const _bIS = "batchImportStatus";
|
|
516
518
|
const _bIy = "bytesImported";
|
|
517
519
|
const _bS = "bytesScanned";
|
|
520
|
+
const _bTAE = "bearerTokenAuthenticationEnabled";
|
|
518
521
|
const _c = "client";
|
|
519
522
|
const _cA = "collectionArn";
|
|
520
523
|
const _cE = "collectionEndpoint";
|
|
@@ -1907,8 +1910,8 @@ exports.LogFieldType$ = [3, n0, _LFT,
|
|
|
1907
1910
|
];
|
|
1908
1911
|
exports.LogGroup$ = [3, n0, _LG,
|
|
1909
1912
|
0,
|
|
1910
|
-
[_lGN, _cT, _rID, _mFC, _ar, _sB, _kKI, _dPS, _iPn, _lGCo, _lGA, _dPE],
|
|
1911
|
-
[0, 1, 1, 1, 0, 1, 0, 0, 64 | 0, 0, 0, 2]
|
|
1913
|
+
[_lGN, _cT, _rID, _mFC, _ar, _sB, _kKI, _dPS, _iPn, _lGCo, _lGA, _dPE, _bTAE],
|
|
1914
|
+
[0, 1, 1, 1, 0, 1, 0, 0, 64 | 0, 0, 0, 2, 2]
|
|
1912
1915
|
];
|
|
1913
1916
|
exports.LogGroupField$ = [3, n0, _LGF,
|
|
1914
1917
|
0,
|
|
@@ -2080,6 +2083,11 @@ exports.PutAccountPolicyResponse$ = [3, n0, _PAPRu,
|
|
|
2080
2083
|
[_aPcc],
|
|
2081
2084
|
[() => exports.AccountPolicy$]
|
|
2082
2085
|
];
|
|
2086
|
+
exports.PutBearerTokenAuthenticationRequest$ = [3, n0, _PBTAR,
|
|
2087
|
+
0,
|
|
2088
|
+
[_lGIo, _bTAE],
|
|
2089
|
+
[0, 2], 2
|
|
2090
|
+
];
|
|
2083
2091
|
exports.PutDataProtectionPolicyRequest$ = [3, n0, _PDPPR,
|
|
2084
2092
|
0,
|
|
2085
2093
|
[_lGIo, _pD],
|
|
@@ -2911,6 +2919,9 @@ exports.ListTagsLogGroup$ = [9, n0, _LTLG,
|
|
|
2911
2919
|
exports.PutAccountPolicy$ = [9, n0, _PAP,
|
|
2912
2920
|
0, () => exports.PutAccountPolicyRequest$, () => exports.PutAccountPolicyResponse$
|
|
2913
2921
|
];
|
|
2922
|
+
exports.PutBearerTokenAuthentication$ = [9, n0, _PBTA,
|
|
2923
|
+
0, () => exports.PutBearerTokenAuthenticationRequest$, () => __Unit
|
|
2924
|
+
];
|
|
2914
2925
|
exports.PutDataProtectionPolicy$ = [9, n0, _PDPP,
|
|
2915
2926
|
0, () => exports.PutDataProtectionPolicyRequest$, () => exports.PutDataProtectionPolicyResponse$
|
|
2916
2927
|
];
|
|
@@ -78,6 +78,7 @@ import { ListSourcesForS3TableIntegrationCommand, } from "./commands/ListSources
|
|
|
78
78
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
79
79
|
import { ListTagsLogGroupCommand, } from "./commands/ListTagsLogGroupCommand";
|
|
80
80
|
import { PutAccountPolicyCommand, } from "./commands/PutAccountPolicyCommand";
|
|
81
|
+
import { PutBearerTokenAuthenticationCommand, } from "./commands/PutBearerTokenAuthenticationCommand";
|
|
81
82
|
import { PutDataProtectionPolicyCommand, } from "./commands/PutDataProtectionPolicyCommand";
|
|
82
83
|
import { PutDeliveryDestinationCommand, } from "./commands/PutDeliveryDestinationCommand";
|
|
83
84
|
import { PutDeliveryDestinationPolicyCommand, } from "./commands/PutDeliveryDestinationPolicyCommand";
|
|
@@ -204,6 +205,7 @@ const commands = {
|
|
|
204
205
|
ListTagsForResourceCommand,
|
|
205
206
|
ListTagsLogGroupCommand,
|
|
206
207
|
PutAccountPolicyCommand,
|
|
208
|
+
PutBearerTokenAuthenticationCommand,
|
|
207
209
|
PutDataProtectionPolicyCommand,
|
|
208
210
|
PutDeliveryDestinationCommand,
|
|
209
211
|
PutDeliveryDestinationPolicyCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { PutBearerTokenAuthentication$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class PutBearerTokenAuthenticationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("Logs_20140328", "PutBearerTokenAuthentication", {})
|
|
13
|
+
.n("CloudWatchLogsClient", "PutBearerTokenAuthenticationCommand")
|
|
14
|
+
.sc(PutBearerTokenAuthentication$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -76,6 +76,7 @@ export * from "./ListSourcesForS3TableIntegrationCommand";
|
|
|
76
76
|
export * from "./ListTagsForResourceCommand";
|
|
77
77
|
export * from "./ListTagsLogGroupCommand";
|
|
78
78
|
export * from "./PutAccountPolicyCommand";
|
|
79
|
+
export * from "./PutBearerTokenAuthenticationCommand";
|
|
79
80
|
export * from "./PutDataProtectionPolicyCommand";
|
|
80
81
|
export * from "./PutDeliveryDestinationCommand";
|
|
81
82
|
export * from "./PutDeliveryDestinationPolicyCommand";
|
|
@@ -328,6 +328,8 @@ const _P = "Policy";
|
|
|
328
328
|
const _PAP = "PutAccountPolicy";
|
|
329
329
|
const _PAPR = "PutAccountPolicyRequest";
|
|
330
330
|
const _PAPRu = "PutAccountPolicyResponse";
|
|
331
|
+
const _PBTA = "PutBearerTokenAuthentication";
|
|
332
|
+
const _PBTAR = "PutBearerTokenAuthenticationRequest";
|
|
331
333
|
const _PC = "ParseCloudfront";
|
|
332
334
|
const _PD = "PutDestination";
|
|
333
335
|
const _PDD = "PutDeliveryDestination";
|
|
@@ -504,6 +506,7 @@ const _bI = "batchId";
|
|
|
504
506
|
const _bIS = "batchImportStatus";
|
|
505
507
|
const _bIy = "bytesImported";
|
|
506
508
|
const _bS = "bytesScanned";
|
|
509
|
+
const _bTAE = "bearerTokenAuthenticationEnabled";
|
|
507
510
|
const _c = "client";
|
|
508
511
|
const _cA = "collectionArn";
|
|
509
512
|
const _cE = "collectionEndpoint";
|
|
@@ -1896,8 +1899,8 @@ export var LogFieldType$ = [3, n0, _LFT,
|
|
|
1896
1899
|
];
|
|
1897
1900
|
export var LogGroup$ = [3, n0, _LG,
|
|
1898
1901
|
0,
|
|
1899
|
-
[_lGN, _cT, _rID, _mFC, _ar, _sB, _kKI, _dPS, _iPn, _lGCo, _lGA, _dPE],
|
|
1900
|
-
[0, 1, 1, 1, 0, 1, 0, 0, 64 | 0, 0, 0, 2]
|
|
1902
|
+
[_lGN, _cT, _rID, _mFC, _ar, _sB, _kKI, _dPS, _iPn, _lGCo, _lGA, _dPE, _bTAE],
|
|
1903
|
+
[0, 1, 1, 1, 0, 1, 0, 0, 64 | 0, 0, 0, 2, 2]
|
|
1901
1904
|
];
|
|
1902
1905
|
export var LogGroupField$ = [3, n0, _LGF,
|
|
1903
1906
|
0,
|
|
@@ -2069,6 +2072,11 @@ export var PutAccountPolicyResponse$ = [3, n0, _PAPRu,
|
|
|
2069
2072
|
[_aPcc],
|
|
2070
2073
|
[() => AccountPolicy$]
|
|
2071
2074
|
];
|
|
2075
|
+
export var PutBearerTokenAuthenticationRequest$ = [3, n0, _PBTAR,
|
|
2076
|
+
0,
|
|
2077
|
+
[_lGIo, _bTAE],
|
|
2078
|
+
[0, 2], 2
|
|
2079
|
+
];
|
|
2072
2080
|
export var PutDataProtectionPolicyRequest$ = [3, n0, _PDPPR,
|
|
2073
2081
|
0,
|
|
2074
2082
|
[_lGIo, _pD],
|
|
@@ -2900,6 +2908,9 @@ export var ListTagsLogGroup$ = [9, n0, _LTLG,
|
|
|
2900
2908
|
export var PutAccountPolicy$ = [9, n0, _PAP,
|
|
2901
2909
|
0, () => PutAccountPolicyRequest$, () => PutAccountPolicyResponse$
|
|
2902
2910
|
];
|
|
2911
|
+
export var PutBearerTokenAuthentication$ = [9, n0, _PBTA,
|
|
2912
|
+
0, () => PutBearerTokenAuthenticationRequest$, () => __Unit
|
|
2913
|
+
];
|
|
2903
2914
|
export var PutDataProtectionPolicy$ = [9, n0, _PDPP,
|
|
2904
2915
|
0, () => PutDataProtectionPolicyRequest$, () => PutDataProtectionPolicyResponse$
|
|
2905
2916
|
];
|
|
@@ -78,6 +78,7 @@ import { ListSourcesForS3TableIntegrationCommandInput, ListSourcesForS3TableInte
|
|
|
78
78
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
79
79
|
import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
|
|
80
80
|
import { PutAccountPolicyCommandInput, PutAccountPolicyCommandOutput } from "./commands/PutAccountPolicyCommand";
|
|
81
|
+
import { PutBearerTokenAuthenticationCommandInput, PutBearerTokenAuthenticationCommandOutput } from "./commands/PutBearerTokenAuthenticationCommand";
|
|
81
82
|
import { PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput } from "./commands/PutDataProtectionPolicyCommand";
|
|
82
83
|
import { PutDeliveryDestinationCommandInput, PutDeliveryDestinationCommandOutput } from "./commands/PutDeliveryDestinationCommand";
|
|
83
84
|
import { PutDeliveryDestinationPolicyCommandInput, PutDeliveryDestinationPolicyCommandOutput } from "./commands/PutDeliveryDestinationPolicyCommand";
|
|
@@ -598,6 +599,12 @@ export interface CloudWatchLogs {
|
|
|
598
599
|
putAccountPolicy(args: PutAccountPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutAccountPolicyCommandOutput>;
|
|
599
600
|
putAccountPolicy(args: PutAccountPolicyCommandInput, cb: (err: any, data?: PutAccountPolicyCommandOutput) => void): void;
|
|
600
601
|
putAccountPolicy(args: PutAccountPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountPolicyCommandOutput) => void): void;
|
|
602
|
+
/**
|
|
603
|
+
* @see {@link PutBearerTokenAuthenticationCommand}
|
|
604
|
+
*/
|
|
605
|
+
putBearerTokenAuthentication(args: PutBearerTokenAuthenticationCommandInput, options?: __HttpHandlerOptions): Promise<PutBearerTokenAuthenticationCommandOutput>;
|
|
606
|
+
putBearerTokenAuthentication(args: PutBearerTokenAuthenticationCommandInput, cb: (err: any, data?: PutBearerTokenAuthenticationCommandOutput) => void): void;
|
|
607
|
+
putBearerTokenAuthentication(args: PutBearerTokenAuthenticationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBearerTokenAuthenticationCommandOutput) => void): void;
|
|
601
608
|
/**
|
|
602
609
|
* @see {@link PutDataProtectionPolicyCommand}
|
|
603
610
|
*/
|
|
@@ -86,6 +86,7 @@ import { ListSourcesForS3TableIntegrationCommandInput, ListSourcesForS3TableInte
|
|
|
86
86
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
87
87
|
import { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
|
|
88
88
|
import { PutAccountPolicyCommandInput, PutAccountPolicyCommandOutput } from "./commands/PutAccountPolicyCommand";
|
|
89
|
+
import { PutBearerTokenAuthenticationCommandInput, PutBearerTokenAuthenticationCommandOutput } from "./commands/PutBearerTokenAuthenticationCommand";
|
|
89
90
|
import { PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput } from "./commands/PutDataProtectionPolicyCommand";
|
|
90
91
|
import { PutDeliveryDestinationCommandInput, PutDeliveryDestinationCommandOutput } from "./commands/PutDeliveryDestinationCommand";
|
|
91
92
|
import { PutDeliveryDestinationPolicyCommandInput, PutDeliveryDestinationPolicyCommandOutput } from "./commands/PutDeliveryDestinationPolicyCommand";
|
|
@@ -121,11 +122,11 @@ export { __Client };
|
|
|
121
122
|
/**
|
|
122
123
|
* @public
|
|
123
124
|
*/
|
|
124
|
-
export type ServiceInputTypes = AssociateKmsKeyCommandInput | AssociateSourceToS3TableIntegrationCommandInput | CancelExportTaskCommandInput | CancelImportTaskCommandInput | CreateDeliveryCommandInput | CreateExportTaskCommandInput | CreateImportTaskCommandInput | CreateLogAnomalyDetectorCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | CreateScheduledQueryCommandInput | DeleteAccountPolicyCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDeliveryCommandInput | DeleteDeliveryDestinationCommandInput | DeleteDeliveryDestinationPolicyCommandInput | DeleteDeliverySourceCommandInput | DeleteDestinationCommandInput | DeleteIndexPolicyCommandInput | DeleteIntegrationCommandInput | DeleteLogAnomalyDetectorCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteScheduledQueryCommandInput | DeleteSubscriptionFilterCommandInput | DeleteTransformerCommandInput | DescribeAccountPoliciesCommandInput | DescribeConfigurationTemplatesCommandInput | DescribeDeliveriesCommandInput | DescribeDeliveryDestinationsCommandInput | DescribeDeliverySourcesCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeFieldIndexesCommandInput | DescribeImportTaskBatchesCommandInput | DescribeImportTasksCommandInput | DescribeIndexPoliciesCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | DisassociateSourceFromS3TableIntegrationCommandInput | FilterLogEventsCommandInput | GetDataProtectionPolicyCommandInput | GetDeliveryCommandInput | GetDeliveryDestinationCommandInput | GetDeliveryDestinationPolicyCommandInput | GetDeliverySourceCommandInput | GetIntegrationCommandInput | GetLogAnomalyDetectorCommandInput | GetLogEventsCommandInput | GetLogFieldsCommandInput | GetLogGroupFieldsCommandInput | GetLogObjectCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | GetScheduledQueryCommandInput | GetScheduledQueryHistoryCommandInput | GetTransformerCommandInput | ListAggregateLogGroupSummariesCommandInput | ListAnomaliesCommandInput | ListIntegrationsCommandInput | ListLogAnomalyDetectorsCommandInput | ListLogGroupsCommandInput | ListLogGroupsForQueryCommandInput | ListScheduledQueriesCommandInput | ListSourcesForS3TableIntegrationCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutAccountPolicyCommandInput | PutDataProtectionPolicyCommandInput | PutDeliveryDestinationCommandInput | PutDeliveryDestinationPolicyCommandInput | PutDeliverySourceCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutIndexPolicyCommandInput | PutIntegrationCommandInput | PutLogEventsCommandInput | PutLogGroupDeletionProtectionCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | PutTransformerCommandInput | StartLiveTailCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | TestTransformerCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput | UpdateAnomalyCommandInput | UpdateDeliveryConfigurationCommandInput | UpdateLogAnomalyDetectorCommandInput | UpdateScheduledQueryCommandInput;
|
|
125
|
+
export type ServiceInputTypes = AssociateKmsKeyCommandInput | AssociateSourceToS3TableIntegrationCommandInput | CancelExportTaskCommandInput | CancelImportTaskCommandInput | CreateDeliveryCommandInput | CreateExportTaskCommandInput | CreateImportTaskCommandInput | CreateLogAnomalyDetectorCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | CreateScheduledQueryCommandInput | DeleteAccountPolicyCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDeliveryCommandInput | DeleteDeliveryDestinationCommandInput | DeleteDeliveryDestinationPolicyCommandInput | DeleteDeliverySourceCommandInput | DeleteDestinationCommandInput | DeleteIndexPolicyCommandInput | DeleteIntegrationCommandInput | DeleteLogAnomalyDetectorCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteScheduledQueryCommandInput | DeleteSubscriptionFilterCommandInput | DeleteTransformerCommandInput | DescribeAccountPoliciesCommandInput | DescribeConfigurationTemplatesCommandInput | DescribeDeliveriesCommandInput | DescribeDeliveryDestinationsCommandInput | DescribeDeliverySourcesCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeFieldIndexesCommandInput | DescribeImportTaskBatchesCommandInput | DescribeImportTasksCommandInput | DescribeIndexPoliciesCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | DisassociateSourceFromS3TableIntegrationCommandInput | FilterLogEventsCommandInput | GetDataProtectionPolicyCommandInput | GetDeliveryCommandInput | GetDeliveryDestinationCommandInput | GetDeliveryDestinationPolicyCommandInput | GetDeliverySourceCommandInput | GetIntegrationCommandInput | GetLogAnomalyDetectorCommandInput | GetLogEventsCommandInput | GetLogFieldsCommandInput | GetLogGroupFieldsCommandInput | GetLogObjectCommandInput | GetLogRecordCommandInput | GetQueryResultsCommandInput | GetScheduledQueryCommandInput | GetScheduledQueryHistoryCommandInput | GetTransformerCommandInput | ListAggregateLogGroupSummariesCommandInput | ListAnomaliesCommandInput | ListIntegrationsCommandInput | ListLogAnomalyDetectorsCommandInput | ListLogGroupsCommandInput | ListLogGroupsForQueryCommandInput | ListScheduledQueriesCommandInput | ListSourcesForS3TableIntegrationCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutAccountPolicyCommandInput | PutBearerTokenAuthenticationCommandInput | PutDataProtectionPolicyCommandInput | PutDeliveryDestinationCommandInput | PutDeliveryDestinationPolicyCommandInput | PutDeliverySourceCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutIndexPolicyCommandInput | PutIntegrationCommandInput | PutLogEventsCommandInput | PutLogGroupDeletionProtectionCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | PutTransformerCommandInput | StartLiveTailCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | TestTransformerCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput | UpdateAnomalyCommandInput | UpdateDeliveryConfigurationCommandInput | UpdateLogAnomalyDetectorCommandInput | UpdateScheduledQueryCommandInput;
|
|
125
126
|
/**
|
|
126
127
|
* @public
|
|
127
128
|
*/
|
|
128
|
-
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | AssociateSourceToS3TableIntegrationCommandOutput | CancelExportTaskCommandOutput | CancelImportTaskCommandOutput | CreateDeliveryCommandOutput | CreateExportTaskCommandOutput | CreateImportTaskCommandOutput | CreateLogAnomalyDetectorCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | CreateScheduledQueryCommandOutput | DeleteAccountPolicyCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDeliveryCommandOutput | DeleteDeliveryDestinationCommandOutput | DeleteDeliveryDestinationPolicyCommandOutput | DeleteDeliverySourceCommandOutput | DeleteDestinationCommandOutput | DeleteIndexPolicyCommandOutput | DeleteIntegrationCommandOutput | DeleteLogAnomalyDetectorCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteScheduledQueryCommandOutput | DeleteSubscriptionFilterCommandOutput | DeleteTransformerCommandOutput | DescribeAccountPoliciesCommandOutput | DescribeConfigurationTemplatesCommandOutput | DescribeDeliveriesCommandOutput | DescribeDeliveryDestinationsCommandOutput | DescribeDeliverySourcesCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeFieldIndexesCommandOutput | DescribeImportTaskBatchesCommandOutput | DescribeImportTasksCommandOutput | DescribeIndexPoliciesCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | DisassociateSourceFromS3TableIntegrationCommandOutput | FilterLogEventsCommandOutput | GetDataProtectionPolicyCommandOutput | GetDeliveryCommandOutput | GetDeliveryDestinationCommandOutput | GetDeliveryDestinationPolicyCommandOutput | GetDeliverySourceCommandOutput | GetIntegrationCommandOutput | GetLogAnomalyDetectorCommandOutput | GetLogEventsCommandOutput | GetLogFieldsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogObjectCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | GetScheduledQueryCommandOutput | GetScheduledQueryHistoryCommandOutput | GetTransformerCommandOutput | ListAggregateLogGroupSummariesCommandOutput | ListAnomaliesCommandOutput | ListIntegrationsCommandOutput | ListLogAnomalyDetectorsCommandOutput | ListLogGroupsCommandOutput | ListLogGroupsForQueryCommandOutput | ListScheduledQueriesCommandOutput | ListSourcesForS3TableIntegrationCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutAccountPolicyCommandOutput | PutDataProtectionPolicyCommandOutput | PutDeliveryDestinationCommandOutput | PutDeliveryDestinationPolicyCommandOutput | PutDeliverySourceCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutIndexPolicyCommandOutput | PutIntegrationCommandOutput | PutLogEventsCommandOutput | PutLogGroupDeletionProtectionCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | PutTransformerCommandOutput | StartLiveTailCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | TestTransformerCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput | UpdateAnomalyCommandOutput | UpdateDeliveryConfigurationCommandOutput | UpdateLogAnomalyDetectorCommandOutput | UpdateScheduledQueryCommandOutput;
|
|
129
|
+
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | AssociateSourceToS3TableIntegrationCommandOutput | CancelExportTaskCommandOutput | CancelImportTaskCommandOutput | CreateDeliveryCommandOutput | CreateExportTaskCommandOutput | CreateImportTaskCommandOutput | CreateLogAnomalyDetectorCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | CreateScheduledQueryCommandOutput | DeleteAccountPolicyCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDeliveryCommandOutput | DeleteDeliveryDestinationCommandOutput | DeleteDeliveryDestinationPolicyCommandOutput | DeleteDeliverySourceCommandOutput | DeleteDestinationCommandOutput | DeleteIndexPolicyCommandOutput | DeleteIntegrationCommandOutput | DeleteLogAnomalyDetectorCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteScheduledQueryCommandOutput | DeleteSubscriptionFilterCommandOutput | DeleteTransformerCommandOutput | DescribeAccountPoliciesCommandOutput | DescribeConfigurationTemplatesCommandOutput | DescribeDeliveriesCommandOutput | DescribeDeliveryDestinationsCommandOutput | DescribeDeliverySourcesCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeFieldIndexesCommandOutput | DescribeImportTaskBatchesCommandOutput | DescribeImportTasksCommandOutput | DescribeIndexPoliciesCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | DisassociateSourceFromS3TableIntegrationCommandOutput | FilterLogEventsCommandOutput | GetDataProtectionPolicyCommandOutput | GetDeliveryCommandOutput | GetDeliveryDestinationCommandOutput | GetDeliveryDestinationPolicyCommandOutput | GetDeliverySourceCommandOutput | GetIntegrationCommandOutput | GetLogAnomalyDetectorCommandOutput | GetLogEventsCommandOutput | GetLogFieldsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogObjectCommandOutput | GetLogRecordCommandOutput | GetQueryResultsCommandOutput | GetScheduledQueryCommandOutput | GetScheduledQueryHistoryCommandOutput | GetTransformerCommandOutput | ListAggregateLogGroupSummariesCommandOutput | ListAnomaliesCommandOutput | ListIntegrationsCommandOutput | ListLogAnomalyDetectorsCommandOutput | ListLogGroupsCommandOutput | ListLogGroupsForQueryCommandOutput | ListScheduledQueriesCommandOutput | ListSourcesForS3TableIntegrationCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutAccountPolicyCommandOutput | PutBearerTokenAuthenticationCommandOutput | PutDataProtectionPolicyCommandOutput | PutDeliveryDestinationCommandOutput | PutDeliveryDestinationPolicyCommandOutput | PutDeliverySourceCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutIndexPolicyCommandOutput | PutIntegrationCommandOutput | PutLogEventsCommandOutput | PutLogGroupDeletionProtectionCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | PutTransformerCommandOutput | StartLiveTailCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | TestTransformerCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput | UpdateAnomalyCommandOutput | UpdateDeliveryConfigurationCommandOutput | UpdateLogAnomalyDetectorCommandOutput | UpdateScheduledQueryCommandOutput;
|
|
129
130
|
/**
|
|
130
131
|
* @public
|
|
131
132
|
*/
|
|
@@ -54,10 +54,10 @@ declare const CreateImportTaskCommand_base: {
|
|
|
54
54
|
* <p>logs:PutResourcePolicy</p>
|
|
55
55
|
* </li>
|
|
56
56
|
* <li>
|
|
57
|
-
* <p>(If source has an associated
|
|
57
|
+
* <p>(If source has an associated Amazon Web Services KMS Key) kms:Decrypt</p>
|
|
58
58
|
* </li>
|
|
59
59
|
* <li>
|
|
60
|
-
* <p>(If source has an associated
|
|
60
|
+
* <p>(If source has an associated Amazon Web Services KMS Key) kms:GenerateDataKey</p>
|
|
61
61
|
* </li>
|
|
62
62
|
* </ul>
|
|
63
63
|
* <p>Example IAM policy for provided import role:</p>
|
|
@@ -83,6 +83,7 @@ declare const DescribeLogGroupsCommand_base: {
|
|
|
83
83
|
* // logGroupClass: "STANDARD" || "INFREQUENT_ACCESS" || "DELIVERY",
|
|
84
84
|
* // logGroupArn: "STRING_VALUE",
|
|
85
85
|
* // deletionProtectionEnabled: true || false,
|
|
86
|
+
* // bearerTokenAuthenticationEnabled: true || false,
|
|
86
87
|
* // },
|
|
87
88
|
* // ],
|
|
88
89
|
* // nextToken: "STRING_VALUE",
|
|
@@ -38,6 +38,12 @@ declare const GetLogObjectCommand_base: {
|
|
|
38
38
|
* original JSON structure where the large field was located. For example, this could be
|
|
39
39
|
* <code>@ptr.$['input']['message']</code>, <code>@ptr.$['AAA']['BBB']['CCC']['DDD']</code>,
|
|
40
40
|
* <code>@ptr.$['AAA']</code>, or any other path matching your log structure.</p>
|
|
41
|
+
* <note>
|
|
42
|
+
* <p>The <code>GetLogObject</code> API routes requests using SDK host prefix injection. SDK versions released before April 1, 2026 route to
|
|
43
|
+
* <code>streaming-logs.<i>Region</i>.amazonaws.com</code>, which does not support VPC endpoints. SDK versions released on or after April 1, 2026 route to
|
|
44
|
+
* <code>stream-logs.<i>Region</i>.amazonaws.com</code>, which supports VPC endpoints. To set up a VPC endpoint for this API, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch-logs-and-interface-VPC.html#create-VPC-endpoint-for-CloudWatchLogs">Creating a VPC endpoint for CloudWatch Logs
|
|
45
|
+
* </a>.</p>
|
|
46
|
+
* </note>
|
|
41
47
|
* @example
|
|
42
48
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
49
|
* ```javascript
|
|
@@ -391,7 +391,7 @@ declare const PutAccountPolicyCommand_base: {
|
|
|
391
391
|
* <p>When a policy disables EMF metric creation for a log group, log events in the EMF format
|
|
392
392
|
* are still ingested, but no CloudWatch Metrics are created from them.</p>
|
|
393
393
|
* <important>
|
|
394
|
-
* <p>Creating a policy disables metrics for
|
|
394
|
+
* <p>Creating a policy disables metrics for Amazon Web Services features that use EMF to create metrics, such
|
|
395
395
|
* as CloudWatch Container Insights and CloudWatch Application Signals. To prevent turning off
|
|
396
396
|
* those features by accident, we recommend that you exclude the underlying log-groups through
|
|
397
397
|
* a selection-criteria such as <code>LogGroupNamePrefix NOT IN ["/aws/containerinsights",
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
+
import type { PutBearerTokenAuthenticationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutBearerTokenAuthenticationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutBearerTokenAuthenticationCommandInput extends PutBearerTokenAuthenticationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutBearerTokenAuthenticationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutBearerTokenAuthenticationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutBearerTokenAuthenticationCommand_base: {
|
|
25
|
+
new (input: PutBearerTokenAuthenticationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBearerTokenAuthenticationCommandInput, PutBearerTokenAuthenticationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutBearerTokenAuthenticationCommandInput): import("@smithy/smithy-client").CommandImpl<PutBearerTokenAuthenticationCommandInput, PutBearerTokenAuthenticationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Enables or disables bearer token authentication for the specified log group. When enabled on a
|
|
31
|
+
* log group, bearer token authentication is enabled on operations until it is explicitly
|
|
32
|
+
* disabled.</p>
|
|
33
|
+
* <p>For information about the parameters that are common to all actions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/CommonParameters.html">Common Parameters</a>.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { CloudWatchLogsClient, PutBearerTokenAuthenticationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
38
|
+
* // const { CloudWatchLogsClient, PutBearerTokenAuthenticationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
39
|
+
* // import type { CloudWatchLogsClientConfig } from "@aws-sdk/client-cloudwatch-logs";
|
|
40
|
+
* const config = {}; // type is CloudWatchLogsClientConfig
|
|
41
|
+
* const client = new CloudWatchLogsClient(config);
|
|
42
|
+
* const input = { // PutBearerTokenAuthenticationRequest
|
|
43
|
+
* logGroupIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* bearerTokenAuthenticationEnabled: true || false, // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new PutBearerTokenAuthenticationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param PutBearerTokenAuthenticationCommandInput - {@link PutBearerTokenAuthenticationCommandInput}
|
|
53
|
+
* @returns {@link PutBearerTokenAuthenticationCommandOutput}
|
|
54
|
+
* @see {@link PutBearerTokenAuthenticationCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link PutBearerTokenAuthenticationCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
62
|
+
* <p>The operation is not valid on the specified resource.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
65
|
+
* <p>A parameter is specified incorrectly.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link OperationAbortedException} (client fault)
|
|
68
|
+
* <p>Multiple concurrent requests to update the same resource were in conflict.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The specified resource does not exist.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
|
+
* <p>The service cannot complete the request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class PutBearerTokenAuthenticationCommand extends PutBearerTokenAuthenticationCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: PutBearerTokenAuthenticationRequest;
|
|
87
|
+
output: {};
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: PutBearerTokenAuthenticationCommandInput;
|
|
91
|
+
output: PutBearerTokenAuthenticationCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -60,9 +60,10 @@ declare const StartLiveTailCommand_base: {
|
|
|
60
60
|
* </li>
|
|
61
61
|
* </ul>
|
|
62
62
|
* <note>
|
|
63
|
-
* <p>The <code>StartLiveTail</code> API routes requests to
|
|
64
|
-
* <code>streaming-logs.<i>Region</i>.amazonaws.com</code
|
|
65
|
-
*
|
|
63
|
+
* <p>The <code>StartLiveTail</code> API routes requests using SDK host prefix injection. SDK versions released before April 1, 2026 route to
|
|
64
|
+
* <code>streaming-logs.<i>Region</i>.amazonaws.com</code>, which does not support VPC endpoints. SDK versions released on or after April 1, 2026 route to
|
|
65
|
+
* <code>stream-logs.<i>Region</i>.amazonaws.com</code>, which supports VPC endpoints. To set up a VPC endpoint for this API, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch-logs-and-interface-VPC.html#create-VPC-endpoint-for-CloudWatchLogs">Creating a VPC endpoint for CloudWatch Logs
|
|
66
|
+
* </a>.</p>
|
|
66
67
|
* </note>
|
|
67
68
|
* <important>
|
|
68
69
|
* <p>You can end a session before it times out by closing the session stream or by closing
|
|
@@ -76,6 +76,7 @@ export * from "./ListSourcesForS3TableIntegrationCommand";
|
|
|
76
76
|
export * from "./ListTagsForResourceCommand";
|
|
77
77
|
export * from "./ListTagsLogGroupCommand";
|
|
78
78
|
export * from "./PutAccountPolicyCommand";
|
|
79
|
+
export * from "./PutBearerTokenAuthenticationCommand";
|
|
79
80
|
export * from "./PutDataProtectionPolicyCommand";
|
|
80
81
|
export * from "./PutDeliveryDestinationCommand";
|
|
81
82
|
export * from "./PutDeliveryDestinationPolicyCommand";
|
|
@@ -2647,6 +2647,12 @@ export interface LogGroup {
|
|
|
2647
2647
|
* @public
|
|
2648
2648
|
*/
|
|
2649
2649
|
deletionProtectionEnabled?: boolean | undefined;
|
|
2650
|
+
/**
|
|
2651
|
+
* <p>Indicates whether bearer token authentication is enabled for this log group. When enabled,
|
|
2652
|
+
* bearer token authentication is allowed on operations until it is explicitly disabled.</p>
|
|
2653
|
+
* @public
|
|
2654
|
+
*/
|
|
2655
|
+
bearerTokenAuthenticationEnabled?: boolean | undefined;
|
|
2650
2656
|
}
|
|
2651
2657
|
/**
|
|
2652
2658
|
* @public
|
|
@@ -4849,7 +4855,7 @@ export interface GetTransformerRequest {
|
|
|
4849
4855
|
/**
|
|
4850
4856
|
* <p>This processor uses pattern matching to parse and structure unstructured data. This
|
|
4851
4857
|
* processor can also extract fields from log messages.</p>
|
|
4852
|
-
* <p>For more information about this processor including examples, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-
|
|
4858
|
+
* <p>For more information about this processor including examples, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-Configurable.html#CloudWatch-Logs-Transformation-Grok">grok</a> in the <i>CloudWatch Logs User Guide</i>.</p>
|
|
4853
4859
|
* @public
|
|
4854
4860
|
*/
|
|
4855
4861
|
export interface Grok {
|
|
@@ -4861,7 +4867,7 @@ export interface Grok {
|
|
|
4861
4867
|
source?: string | undefined;
|
|
4862
4868
|
/**
|
|
4863
4869
|
* <p>The grok pattern to match against the log event. For a list of supported grok patterns,
|
|
4864
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-
|
|
4870
|
+
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-Configurable.html#CloudWatch-Logs-Transformation-Grok">Supported grok patterns</a>.</p>
|
|
4865
4871
|
* @public
|
|
4866
4872
|
*/
|
|
4867
4873
|
match: string | undefined;
|
|
@@ -6414,6 +6420,28 @@ export interface PutAccountPolicyResponse {
|
|
|
6414
6420
|
*/
|
|
6415
6421
|
accountPolicy?: AccountPolicy | undefined;
|
|
6416
6422
|
}
|
|
6423
|
+
/**
|
|
6424
|
+
* @public
|
|
6425
|
+
*/
|
|
6426
|
+
export interface PutBearerTokenAuthenticationRequest {
|
|
6427
|
+
/**
|
|
6428
|
+
* <p>The name or ARN of the log group.</p>
|
|
6429
|
+
* <p>Type: String</p>
|
|
6430
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 512.</p>
|
|
6431
|
+
* <p>Pattern: <code>[\.\-_/#A-Za-z0-9]+</code>
|
|
6432
|
+
* </p>
|
|
6433
|
+
* <p>Required: Yes</p>
|
|
6434
|
+
* @public
|
|
6435
|
+
*/
|
|
6436
|
+
logGroupIdentifier: string | undefined;
|
|
6437
|
+
/**
|
|
6438
|
+
* <p>Whether to enable bearer token authentication.</p>
|
|
6439
|
+
* <p>Type: Boolean</p>
|
|
6440
|
+
* <p>Required: Yes</p>
|
|
6441
|
+
* @public
|
|
6442
|
+
*/
|
|
6443
|
+
bearerTokenAuthenticationEnabled: boolean | undefined;
|
|
6444
|
+
}
|
|
6417
6445
|
/**
|
|
6418
6446
|
* @public
|
|
6419
6447
|
*/
|
|
@@ -242,6 +242,7 @@ export declare var Policy$: StaticStructureSchema;
|
|
|
242
242
|
export declare var Processor$: StaticStructureSchema;
|
|
243
243
|
export declare var PutAccountPolicyRequest$: StaticStructureSchema;
|
|
244
244
|
export declare var PutAccountPolicyResponse$: StaticStructureSchema;
|
|
245
|
+
export declare var PutBearerTokenAuthenticationRequest$: StaticStructureSchema;
|
|
245
246
|
export declare var PutDataProtectionPolicyRequest$: StaticStructureSchema;
|
|
246
247
|
export declare var PutDataProtectionPolicyResponse$: StaticStructureSchema;
|
|
247
248
|
export declare var PutDeliveryDestinationPolicyRequest$: StaticStructureSchema;
|
|
@@ -400,6 +401,7 @@ export declare var ListSourcesForS3TableIntegration$: StaticOperationSchema;
|
|
|
400
401
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
401
402
|
export declare var ListTagsLogGroup$: StaticOperationSchema;
|
|
402
403
|
export declare var PutAccountPolicy$: StaticOperationSchema;
|
|
404
|
+
export declare var PutBearerTokenAuthentication$: StaticOperationSchema;
|
|
403
405
|
export declare var PutDataProtectionPolicy$: StaticOperationSchema;
|
|
404
406
|
export declare var PutDeliveryDestination$: StaticOperationSchema;
|
|
405
407
|
export declare var PutDeliveryDestinationPolicy$: StaticOperationSchema;
|
|
@@ -316,6 +316,10 @@ import {
|
|
|
316
316
|
PutAccountPolicyCommandInput,
|
|
317
317
|
PutAccountPolicyCommandOutput,
|
|
318
318
|
} from "./commands/PutAccountPolicyCommand";
|
|
319
|
+
import {
|
|
320
|
+
PutBearerTokenAuthenticationCommandInput,
|
|
321
|
+
PutBearerTokenAuthenticationCommandOutput,
|
|
322
|
+
} from "./commands/PutBearerTokenAuthenticationCommand";
|
|
319
323
|
import {
|
|
320
324
|
PutDataProtectionPolicyCommandInput,
|
|
321
325
|
PutDataProtectionPolicyCommandOutput,
|
|
@@ -1481,6 +1485,19 @@ export interface CloudWatchLogs {
|
|
|
1481
1485
|
options: __HttpHandlerOptions,
|
|
1482
1486
|
cb: (err: any, data?: PutAccountPolicyCommandOutput) => void
|
|
1483
1487
|
): void;
|
|
1488
|
+
putBearerTokenAuthentication(
|
|
1489
|
+
args: PutBearerTokenAuthenticationCommandInput,
|
|
1490
|
+
options?: __HttpHandlerOptions
|
|
1491
|
+
): Promise<PutBearerTokenAuthenticationCommandOutput>;
|
|
1492
|
+
putBearerTokenAuthentication(
|
|
1493
|
+
args: PutBearerTokenAuthenticationCommandInput,
|
|
1494
|
+
cb: (err: any, data?: PutBearerTokenAuthenticationCommandOutput) => void
|
|
1495
|
+
): void;
|
|
1496
|
+
putBearerTokenAuthentication(
|
|
1497
|
+
args: PutBearerTokenAuthenticationCommandInput,
|
|
1498
|
+
options: __HttpHandlerOptions,
|
|
1499
|
+
cb: (err: any, data?: PutBearerTokenAuthenticationCommandOutput) => void
|
|
1500
|
+
): void;
|
|
1484
1501
|
putDataProtectionPolicy(
|
|
1485
1502
|
args: PutDataProtectionPolicyCommandInput,
|
|
1486
1503
|
options?: __HttpHandlerOptions
|
|
@@ -362,6 +362,10 @@ import {
|
|
|
362
362
|
PutAccountPolicyCommandInput,
|
|
363
363
|
PutAccountPolicyCommandOutput,
|
|
364
364
|
} from "./commands/PutAccountPolicyCommand";
|
|
365
|
+
import {
|
|
366
|
+
PutBearerTokenAuthenticationCommandInput,
|
|
367
|
+
PutBearerTokenAuthenticationCommandOutput,
|
|
368
|
+
} from "./commands/PutBearerTokenAuthenticationCommand";
|
|
365
369
|
import {
|
|
366
370
|
PutDataProtectionPolicyCommandInput,
|
|
367
371
|
PutDataProtectionPolicyCommandOutput,
|
|
@@ -564,6 +568,7 @@ export type ServiceInputTypes =
|
|
|
564
568
|
| ListTagsForResourceCommandInput
|
|
565
569
|
| ListTagsLogGroupCommandInput
|
|
566
570
|
| PutAccountPolicyCommandInput
|
|
571
|
+
| PutBearerTokenAuthenticationCommandInput
|
|
567
572
|
| PutDataProtectionPolicyCommandInput
|
|
568
573
|
| PutDeliveryDestinationCommandInput
|
|
569
574
|
| PutDeliveryDestinationPolicyCommandInput
|
|
@@ -672,6 +677,7 @@ export type ServiceOutputTypes =
|
|
|
672
677
|
| ListTagsForResourceCommandOutput
|
|
673
678
|
| ListTagsLogGroupCommandOutput
|
|
674
679
|
| PutAccountPolicyCommandOutput
|
|
680
|
+
| PutBearerTokenAuthenticationCommandOutput
|
|
675
681
|
| PutDataProtectionPolicyCommandOutput
|
|
676
682
|
| PutDeliveryDestinationCommandOutput
|
|
677
683
|
| PutDeliveryDestinationPolicyCommandOutput
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CloudWatchLogsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CloudWatchLogsClient";
|
|
8
|
+
import { PutBearerTokenAuthenticationRequest } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface PutBearerTokenAuthenticationCommandInput
|
|
12
|
+
extends PutBearerTokenAuthenticationRequest {}
|
|
13
|
+
export interface PutBearerTokenAuthenticationCommandOutput
|
|
14
|
+
extends __MetadataBearer {}
|
|
15
|
+
declare const PutBearerTokenAuthenticationCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: PutBearerTokenAuthenticationCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
PutBearerTokenAuthenticationCommandInput,
|
|
20
|
+
PutBearerTokenAuthenticationCommandOutput,
|
|
21
|
+
CloudWatchLogsClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: PutBearerTokenAuthenticationCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
PutBearerTokenAuthenticationCommandInput,
|
|
29
|
+
PutBearerTokenAuthenticationCommandOutput,
|
|
30
|
+
CloudWatchLogsClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class PutBearerTokenAuthenticationCommand extends PutBearerTokenAuthenticationCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: PutBearerTokenAuthenticationRequest;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: PutBearerTokenAuthenticationCommandInput;
|
|
44
|
+
output: PutBearerTokenAuthenticationCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -76,6 +76,7 @@ export * from "./ListSourcesForS3TableIntegrationCommand";
|
|
|
76
76
|
export * from "./ListTagsForResourceCommand";
|
|
77
77
|
export * from "./ListTagsLogGroupCommand";
|
|
78
78
|
export * from "./PutAccountPolicyCommand";
|
|
79
|
+
export * from "./PutBearerTokenAuthenticationCommand";
|
|
79
80
|
export * from "./PutDataProtectionPolicyCommand";
|
|
80
81
|
export * from "./PutDeliveryDestinationCommand";
|
|
81
82
|
export * from "./PutDeliveryDestinationPolicyCommand";
|
|
@@ -574,6 +574,7 @@ export interface LogGroup {
|
|
|
574
574
|
logGroupClass?: LogGroupClass | undefined;
|
|
575
575
|
logGroupArn?: string | undefined;
|
|
576
576
|
deletionProtectionEnabled?: boolean | undefined;
|
|
577
|
+
bearerTokenAuthenticationEnabled?: boolean | undefined;
|
|
577
578
|
}
|
|
578
579
|
export interface DescribeLogGroupsResponse {
|
|
579
580
|
logGroups?: LogGroup[] | undefined;
|
|
@@ -1315,6 +1316,10 @@ export interface PutAccountPolicyRequest {
|
|
|
1315
1316
|
export interface PutAccountPolicyResponse {
|
|
1316
1317
|
accountPolicy?: AccountPolicy | undefined;
|
|
1317
1318
|
}
|
|
1319
|
+
export interface PutBearerTokenAuthenticationRequest {
|
|
1320
|
+
logGroupIdentifier: string | undefined;
|
|
1321
|
+
bearerTokenAuthenticationEnabled: boolean | undefined;
|
|
1322
|
+
}
|
|
1318
1323
|
export interface PutDataProtectionPolicyRequest {
|
|
1319
1324
|
logGroupIdentifier: string | undefined;
|
|
1320
1325
|
policyDocument: string | undefined;
|
|
@@ -242,6 +242,7 @@ export declare var Policy$: StaticStructureSchema;
|
|
|
242
242
|
export declare var Processor$: StaticStructureSchema;
|
|
243
243
|
export declare var PutAccountPolicyRequest$: StaticStructureSchema;
|
|
244
244
|
export declare var PutAccountPolicyResponse$: StaticStructureSchema;
|
|
245
|
+
export declare var PutBearerTokenAuthenticationRequest$: StaticStructureSchema;
|
|
245
246
|
export declare var PutDataProtectionPolicyRequest$: StaticStructureSchema;
|
|
246
247
|
export declare var PutDataProtectionPolicyResponse$: StaticStructureSchema;
|
|
247
248
|
export declare var PutDeliveryDestinationPolicyRequest$: StaticStructureSchema;
|
|
@@ -400,6 +401,7 @@ export declare var ListSourcesForS3TableIntegration$: StaticOperationSchema;
|
|
|
400
401
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
401
402
|
export declare var ListTagsLogGroup$: StaticOperationSchema;
|
|
402
403
|
export declare var PutAccountPolicy$: StaticOperationSchema;
|
|
404
|
+
export declare var PutBearerTokenAuthentication$: StaticOperationSchema;
|
|
403
405
|
export declare var PutDataProtectionPolicy$: StaticOperationSchema;
|
|
404
406
|
export declare var PutDeliveryDestination$: StaticOperationSchema;
|
|
405
407
|
export declare var PutDeliveryDestinationPolicy$: StaticOperationSchema;
|
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.1001.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,41 +27,41 @@
|
|
|
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.16",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.15",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "^3.972.6",
|
|
33
33
|
"@aws-sdk/middleware-logger": "^3.972.6",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "^3.972.6",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "^3.972.16",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "^3.972.6",
|
|
37
37
|
"@aws-sdk/types": "^3.973.4",
|
|
38
38
|
"@aws-sdk/util-endpoints": "^3.996.3",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "^3.972.6",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "^3.973.1",
|
|
41
41
|
"@smithy/config-resolver": "^4.4.9",
|
|
42
|
-
"@smithy/core": "^3.23.
|
|
42
|
+
"@smithy/core": "^3.23.7",
|
|
43
43
|
"@smithy/eventstream-serde-browser": "^4.2.10",
|
|
44
44
|
"@smithy/eventstream-serde-config-resolver": "^4.3.10",
|
|
45
45
|
"@smithy/eventstream-serde-node": "^4.2.10",
|
|
46
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
46
|
+
"@smithy/fetch-http-handler": "^5.3.12",
|
|
47
47
|
"@smithy/hash-node": "^4.2.10",
|
|
48
48
|
"@smithy/invalid-dependency": "^4.2.10",
|
|
49
49
|
"@smithy/middleware-content-length": "^4.2.10",
|
|
50
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
51
|
-
"@smithy/middleware-retry": "^4.4.
|
|
50
|
+
"@smithy/middleware-endpoint": "^4.4.21",
|
|
51
|
+
"@smithy/middleware-retry": "^4.4.38",
|
|
52
52
|
"@smithy/middleware-serde": "^4.2.11",
|
|
53
53
|
"@smithy/middleware-stack": "^4.2.10",
|
|
54
54
|
"@smithy/node-config-provider": "^4.3.10",
|
|
55
|
-
"@smithy/node-http-handler": "^4.4.
|
|
55
|
+
"@smithy/node-http-handler": "^4.4.13",
|
|
56
56
|
"@smithy/protocol-http": "^5.3.10",
|
|
57
|
-
"@smithy/smithy-client": "^4.12.
|
|
57
|
+
"@smithy/smithy-client": "^4.12.1",
|
|
58
58
|
"@smithy/types": "^4.13.0",
|
|
59
59
|
"@smithy/url-parser": "^4.2.10",
|
|
60
60
|
"@smithy/util-base64": "^4.3.1",
|
|
61
61
|
"@smithy/util-body-length-browser": "^4.2.1",
|
|
62
62
|
"@smithy/util-body-length-node": "^4.2.2",
|
|
63
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
64
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
63
|
+
"@smithy/util-defaults-mode-browser": "^4.3.37",
|
|
64
|
+
"@smithy/util-defaults-mode-node": "^4.2.40",
|
|
65
65
|
"@smithy/util-endpoints": "^3.3.1",
|
|
66
66
|
"@smithy/util-middleware": "^4.2.10",
|
|
67
67
|
"@smithy/util-retry": "^4.2.10",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"tslib": "^2.6.2"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@smithy/snapshot-testing": "^1.0.
|
|
72
|
+
"@smithy/snapshot-testing": "^1.0.8",
|
|
73
73
|
"@tsconfig/node20": "20.1.8",
|
|
74
74
|
"@types/node": "^20.14.8",
|
|
75
75
|
"concurrently": "7.0.0",
|