@aws-sdk/client-cloudwatch-logs 3.30.0 → 3.34.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/CHANGELOG.md +35 -0
- package/dist/cjs/CloudWatchLogsClient.js +13 -13
- package/dist/cjs/CloudWatchLogsClient.js.map +1 -1
- package/dist/cjs/commands/AssociateKmsKeyCommand.js +3 -3
- package/dist/cjs/commands/AssociateKmsKeyCommand.js.map +1 -1
- package/dist/cjs/commands/CancelExportTaskCommand.js +3 -3
- package/dist/cjs/commands/CancelExportTaskCommand.js.map +1 -1
- package/dist/cjs/commands/CreateExportTaskCommand.js +3 -3
- package/dist/cjs/commands/CreateExportTaskCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLogGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateLogGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLogStreamCommand.js +3 -3
- package/dist/cjs/commands/CreateLogStreamCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDestinationCommand.js +3 -3
- package/dist/cjs/commands/DeleteDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLogGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteLogGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLogStreamCommand.js +3 -3
- package/dist/cjs/commands/DeleteLogStreamCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMetricFilterCommand.js +3 -3
- package/dist/cjs/commands/DeleteMetricFilterCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteQueryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/DeleteQueryDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRetentionPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteRetentionPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSubscriptionFilterCommand.js +3 -3
- package/dist/cjs/commands/DeleteSubscriptionFilterCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDestinationsCommand.js +3 -3
- package/dist/cjs/commands/DescribeDestinationsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeExportTasksCommand.js +3 -3
- package/dist/cjs/commands/DescribeExportTasksCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLogGroupsCommand.js +3 -3
- package/dist/cjs/commands/DescribeLogGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLogStreamsCommand.js +3 -3
- package/dist/cjs/commands/DescribeLogStreamsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeMetricFiltersCommand.js +3 -3
- package/dist/cjs/commands/DescribeMetricFiltersCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeQueriesCommand.js +3 -3
- package/dist/cjs/commands/DescribeQueriesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeQueryDefinitionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeQueryDefinitionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeResourcePoliciesCommand.js +3 -3
- package/dist/cjs/commands/DescribeResourcePoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeSubscriptionFiltersCommand.js +3 -3
- package/dist/cjs/commands/DescribeSubscriptionFiltersCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateKmsKeyCommand.js +3 -3
- package/dist/cjs/commands/DisassociateKmsKeyCommand.js.map +1 -1
- package/dist/cjs/commands/FilterLogEventsCommand.js +3 -3
- package/dist/cjs/commands/FilterLogEventsCommand.js.map +1 -1
- package/dist/cjs/commands/GetLogEventsCommand.js +3 -3
- package/dist/cjs/commands/GetLogEventsCommand.js.map +1 -1
- package/dist/cjs/commands/GetLogGroupFieldsCommand.js +3 -3
- package/dist/cjs/commands/GetLogGroupFieldsCommand.js.map +1 -1
- package/dist/cjs/commands/GetLogRecordCommand.js +3 -3
- package/dist/cjs/commands/GetLogRecordCommand.js.map +1 -1
- package/dist/cjs/commands/GetQueryResultsCommand.js +3 -3
- package/dist/cjs/commands/GetQueryResultsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsLogGroupCommand.js +3 -3
- package/dist/cjs/commands/ListTagsLogGroupCommand.js.map +1 -1
- package/dist/cjs/commands/PutDestinationCommand.js +3 -3
- package/dist/cjs/commands/PutDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/PutDestinationPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutDestinationPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutLogEventsCommand.js +3 -3
- package/dist/cjs/commands/PutLogEventsCommand.js.map +1 -1
- package/dist/cjs/commands/PutMetricFilterCommand.js +3 -3
- package/dist/cjs/commands/PutMetricFilterCommand.js.map +1 -1
- package/dist/cjs/commands/PutQueryDefinitionCommand.js +3 -3
- package/dist/cjs/commands/PutQueryDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist/cjs/commands/PutResourcePolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutRetentionPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutRetentionPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutSubscriptionFilterCommand.js +3 -3
- package/dist/cjs/commands/PutSubscriptionFilterCommand.js.map +1 -1
- package/dist/cjs/commands/StartQueryCommand.js +3 -3
- package/dist/cjs/commands/StartQueryCommand.js.map +1 -1
- package/dist/cjs/commands/StopQueryCommand.js +3 -3
- package/dist/cjs/commands/StopQueryCommand.js.map +1 -1
- package/dist/cjs/commands/TagLogGroupCommand.js +3 -3
- package/dist/cjs/commands/TagLogGroupCommand.js.map +1 -1
- package/dist/cjs/commands/TestMetricFilterCommand.js +3 -3
- package/dist/cjs/commands/TestMetricFilterCommand.js.map +1 -1
- package/dist/cjs/commands/UntagLogGroupCommand.js +3 -3
- package/dist/cjs/commands/UntagLogGroupCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +53 -53
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_1.js +123 -123
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/CloudWatchLogs.js +1 -37
- package/dist/es/CloudWatchLogs.js.map +1 -1
- package/dist/es/CloudWatchLogsClient.js +1 -42
- package/dist/es/CloudWatchLogsClient.js.map +1 -1
- package/dist/es/commands/AssociateKmsKeyCommand.js +2 -39
- package/dist/es/commands/AssociateKmsKeyCommand.js.map +1 -1
- package/dist/es/commands/CancelExportTaskCommand.js +2 -28
- package/dist/es/commands/CancelExportTaskCommand.js.map +1 -1
- package/dist/es/commands/CreateExportTaskCommand.js +2 -40
- package/dist/es/commands/CreateExportTaskCommand.js.map +1 -1
- package/dist/es/commands/CreateLogGroupCommand.js +2 -53
- package/dist/es/commands/CreateLogGroupCommand.js.map +1 -1
- package/dist/es/commands/CreateLogStreamCommand.js +2 -43
- package/dist/es/commands/CreateLogStreamCommand.js.map +1 -1
- package/dist/es/commands/DeleteDestinationCommand.js +2 -29
- package/dist/es/commands/DeleteDestinationCommand.js.map +1 -1
- package/dist/es/commands/DeleteLogGroupCommand.js +2 -28
- package/dist/es/commands/DeleteLogGroupCommand.js.map +1 -1
- package/dist/es/commands/DeleteLogStreamCommand.js +2 -28
- package/dist/es/commands/DeleteLogStreamCommand.js.map +1 -1
- package/dist/es/commands/DeleteMetricFilterCommand.js +2 -27
- package/dist/es/commands/DeleteMetricFilterCommand.js.map +1 -1
- package/dist/es/commands/DeleteQueryDefinitionCommand.js +2 -31
- package/dist/es/commands/DeleteQueryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/DeleteResourcePolicyCommand.js +2 -28
- package/dist/es/commands/DeleteResourcePolicyCommand.js.map +1 -1
- package/dist/es/commands/DeleteRetentionPolicyCommand.js +2 -28
- package/dist/es/commands/DeleteRetentionPolicyCommand.js.map +1 -1
- package/dist/es/commands/DeleteSubscriptionFilterCommand.js +2 -27
- package/dist/es/commands/DeleteSubscriptionFilterCommand.js.map +1 -1
- package/dist/es/commands/DescribeDestinationsCommand.js +2 -27
- package/dist/es/commands/DescribeDestinationsCommand.js.map +1 -1
- package/dist/es/commands/DescribeExportTasksCommand.js +2 -28
- package/dist/es/commands/DescribeExportTasksCommand.js.map +1 -1
- package/dist/es/commands/DescribeLogGroupsCommand.js +2 -35
- package/dist/es/commands/DescribeLogGroupsCommand.js.map +1 -1
- package/dist/es/commands/DescribeLogStreamsCommand.js +2 -30
- package/dist/es/commands/DescribeLogStreamsCommand.js.map +1 -1
- package/dist/es/commands/DescribeMetricFiltersCommand.js +2 -29
- package/dist/es/commands/DescribeMetricFiltersCommand.js.map +1 -1
- package/dist/es/commands/DescribeQueriesCommand.js +2 -29
- package/dist/es/commands/DescribeQueriesCommand.js.map +1 -1
- package/dist/es/commands/DescribeQueryDefinitionsCommand.js +2 -29
- package/dist/es/commands/DescribeQueryDefinitionsCommand.js.map +1 -1
- package/dist/es/commands/DescribeResourcePoliciesCommand.js +2 -27
- package/dist/es/commands/DescribeResourcePoliciesCommand.js.map +1 -1
- package/dist/es/commands/DescribeSubscriptionFiltersCommand.js +2 -28
- package/dist/es/commands/DescribeSubscriptionFiltersCommand.js.map +1 -1
- package/dist/es/commands/DisassociateKmsKeyCommand.js +2 -30
- package/dist/es/commands/DisassociateKmsKeyCommand.js.map +1 -1
- package/dist/es/commands/FilterLogEventsCommand.js +2 -35
- package/dist/es/commands/FilterLogEventsCommand.js.map +1 -1
- package/dist/es/commands/GetLogEventsCommand.js +2 -32
- package/dist/es/commands/GetLogEventsCommand.js.map +1 -1
- package/dist/es/commands/GetLogGroupFieldsCommand.js +2 -34
- package/dist/es/commands/GetLogGroupFieldsCommand.js.map +1 -1
- package/dist/es/commands/GetLogRecordCommand.js +2 -30
- package/dist/es/commands/GetLogRecordCommand.js.map +1 -1
- package/dist/es/commands/GetQueryResultsCommand.js +2 -37
- package/dist/es/commands/GetQueryResultsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsLogGroupCommand.js +2 -27
- package/dist/es/commands/ListTagsLogGroupCommand.js.map +1 -1
- package/dist/es/commands/PutDestinationCommand.js +2 -36
- package/dist/es/commands/PutDestinationCommand.js.map +1 -1
- package/dist/es/commands/PutDestinationPolicyCommand.js +2 -32
- package/dist/es/commands/PutDestinationPolicyCommand.js.map +1 -1
- package/dist/es/commands/PutLogEventsCommand.js +2 -64
- package/dist/es/commands/PutLogEventsCommand.js.map +1 -1
- package/dist/es/commands/PutMetricFilterCommand.js +2 -49
- package/dist/es/commands/PutMetricFilterCommand.js.map +1 -1
- package/dist/es/commands/PutQueryDefinitionCommand.js +2 -38
- package/dist/es/commands/PutQueryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/PutResourcePolicyCommand.js +2 -29
- package/dist/es/commands/PutResourcePolicyCommand.js.map +1 -1
- package/dist/es/commands/PutRetentionPolicyCommand.js +2 -29
- package/dist/es/commands/PutRetentionPolicyCommand.js.map +1 -1
- package/dist/es/commands/PutSubscriptionFilterCommand.js +2 -55
- package/dist/es/commands/PutSubscriptionFilterCommand.js.map +1 -1
- package/dist/es/commands/StartQueryCommand.js +2 -32
- package/dist/es/commands/StartQueryCommand.js.map +1 -1
- package/dist/es/commands/StopQueryCommand.js +2 -28
- package/dist/es/commands/StopQueryCommand.js.map +1 -1
- package/dist/es/commands/TagLogGroupCommand.js +2 -36
- package/dist/es/commands/TagLogGroupCommand.js.map +1 -1
- package/dist/es/commands/TestMetricFilterCommand.js +2 -28
- package/dist/es/commands/TestMetricFilterCommand.js.map +1 -1
- package/dist/es/commands/UntagLogGroupCommand.js +2 -33
- package/dist/es/commands/UntagLogGroupCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -300
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/DescribeDestinationsPaginator.js +16 -28
- package/dist/es/pagination/DescribeDestinationsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeLogGroupsPaginator.js +16 -28
- package/dist/es/pagination/DescribeLogGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeLogStreamsPaginator.js +16 -28
- package/dist/es/pagination/DescribeLogStreamsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeMetricFiltersPaginator.js +16 -28
- package/dist/es/pagination/DescribeMetricFiltersPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeSubscriptionFiltersPaginator.js +16 -28
- package/dist/es/pagination/DescribeSubscriptionFiltersPaginator.js.map +1 -1
- package/dist/es/pagination/FilterLogEventsPaginator.js +16 -28
- package/dist/es/pagination/FilterLogEventsPaginator.js.map +1 -1
- package/dist/es/pagination/GetLogEventsPaginator.js +16 -28
- package/dist/es/pagination/GetLogEventsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +879 -884
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3538,7 +3538,7 @@ const serializeAws_json1_1LogGroupNames = (input, context) => {
|
|
|
3538
3538
|
const serializeAws_json1_1MetricTransformation = (input, context) => {
|
|
3539
3539
|
return {
|
|
3540
3540
|
...(input.defaultValue !== undefined &&
|
|
3541
|
-
input.defaultValue !== null && { defaultValue:
|
|
3541
|
+
input.defaultValue !== null && { defaultValue: smithy_client_1.serializeFloat(input.defaultValue) }),
|
|
3542
3542
|
...(input.dimensions !== undefined &&
|
|
3543
3543
|
input.dimensions !== null && { dimensions: serializeAws_json1_1Dimensions(input.dimensions, context) }),
|
|
3544
3544
|
...(input.metricName !== undefined && input.metricName !== null && { metricName: input.metricName }),
|
|
@@ -3702,18 +3702,18 @@ const serializeAws_json1_1UntagLogGroupRequest = (input, context) => {
|
|
|
3702
3702
|
};
|
|
3703
3703
|
const deserializeAws_json1_1CreateExportTaskResponse = (output, context) => {
|
|
3704
3704
|
return {
|
|
3705
|
-
taskId:
|
|
3705
|
+
taskId: smithy_client_1.expectString(output.taskId),
|
|
3706
3706
|
};
|
|
3707
3707
|
};
|
|
3708
3708
|
const deserializeAws_json1_1DataAlreadyAcceptedException = (output, context) => {
|
|
3709
3709
|
return {
|
|
3710
|
-
expectedSequenceToken:
|
|
3711
|
-
message:
|
|
3710
|
+
expectedSequenceToken: smithy_client_1.expectString(output.expectedSequenceToken),
|
|
3711
|
+
message: smithy_client_1.expectString(output.message),
|
|
3712
3712
|
};
|
|
3713
3713
|
};
|
|
3714
3714
|
const deserializeAws_json1_1DeleteQueryDefinitionResponse = (output, context) => {
|
|
3715
3715
|
return {
|
|
3716
|
-
success:
|
|
3716
|
+
success: smithy_client_1.expectBoolean(output.success),
|
|
3717
3717
|
};
|
|
3718
3718
|
};
|
|
3719
3719
|
const deserializeAws_json1_1DescribeDestinationsResponse = (output, context) => {
|
|
@@ -3721,7 +3721,7 @@ const deserializeAws_json1_1DescribeDestinationsResponse = (output, context) =>
|
|
|
3721
3721
|
destinations: output.destinations !== undefined && output.destinations !== null
|
|
3722
3722
|
? deserializeAws_json1_1Destinations(output.destinations, context)
|
|
3723
3723
|
: undefined,
|
|
3724
|
-
nextToken:
|
|
3724
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3725
3725
|
};
|
|
3726
3726
|
};
|
|
3727
3727
|
const deserializeAws_json1_1DescribeExportTasksResponse = (output, context) => {
|
|
@@ -3729,7 +3729,7 @@ const deserializeAws_json1_1DescribeExportTasksResponse = (output, context) => {
|
|
|
3729
3729
|
exportTasks: output.exportTasks !== undefined && output.exportTasks !== null
|
|
3730
3730
|
? deserializeAws_json1_1ExportTasks(output.exportTasks, context)
|
|
3731
3731
|
: undefined,
|
|
3732
|
-
nextToken:
|
|
3732
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3733
3733
|
};
|
|
3734
3734
|
};
|
|
3735
3735
|
const deserializeAws_json1_1DescribeLogGroupsResponse = (output, context) => {
|
|
@@ -3737,7 +3737,7 @@ const deserializeAws_json1_1DescribeLogGroupsResponse = (output, context) => {
|
|
|
3737
3737
|
logGroups: output.logGroups !== undefined && output.logGroups !== null
|
|
3738
3738
|
? deserializeAws_json1_1LogGroups(output.logGroups, context)
|
|
3739
3739
|
: undefined,
|
|
3740
|
-
nextToken:
|
|
3740
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3741
3741
|
};
|
|
3742
3742
|
};
|
|
3743
3743
|
const deserializeAws_json1_1DescribeLogStreamsResponse = (output, context) => {
|
|
@@ -3745,7 +3745,7 @@ const deserializeAws_json1_1DescribeLogStreamsResponse = (output, context) => {
|
|
|
3745
3745
|
logStreams: output.logStreams !== undefined && output.logStreams !== null
|
|
3746
3746
|
? deserializeAws_json1_1LogStreams(output.logStreams, context)
|
|
3747
3747
|
: undefined,
|
|
3748
|
-
nextToken:
|
|
3748
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3749
3749
|
};
|
|
3750
3750
|
};
|
|
3751
3751
|
const deserializeAws_json1_1DescribeMetricFiltersResponse = (output, context) => {
|
|
@@ -3753,12 +3753,12 @@ const deserializeAws_json1_1DescribeMetricFiltersResponse = (output, context) =>
|
|
|
3753
3753
|
metricFilters: output.metricFilters !== undefined && output.metricFilters !== null
|
|
3754
3754
|
? deserializeAws_json1_1MetricFilters(output.metricFilters, context)
|
|
3755
3755
|
: undefined,
|
|
3756
|
-
nextToken:
|
|
3756
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3757
3757
|
};
|
|
3758
3758
|
};
|
|
3759
3759
|
const deserializeAws_json1_1DescribeQueriesResponse = (output, context) => {
|
|
3760
3760
|
return {
|
|
3761
|
-
nextToken:
|
|
3761
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3762
3762
|
queries: output.queries !== undefined && output.queries !== null
|
|
3763
3763
|
? deserializeAws_json1_1QueryInfoList(output.queries, context)
|
|
3764
3764
|
: undefined,
|
|
@@ -3766,7 +3766,7 @@ const deserializeAws_json1_1DescribeQueriesResponse = (output, context) => {
|
|
|
3766
3766
|
};
|
|
3767
3767
|
const deserializeAws_json1_1DescribeQueryDefinitionsResponse = (output, context) => {
|
|
3768
3768
|
return {
|
|
3769
|
-
nextToken:
|
|
3769
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3770
3770
|
queryDefinitions: output.queryDefinitions !== undefined && output.queryDefinitions !== null
|
|
3771
3771
|
? deserializeAws_json1_1QueryDefinitionList(output.queryDefinitions, context)
|
|
3772
3772
|
: undefined,
|
|
@@ -3774,7 +3774,7 @@ const deserializeAws_json1_1DescribeQueryDefinitionsResponse = (output, context)
|
|
|
3774
3774
|
};
|
|
3775
3775
|
const deserializeAws_json1_1DescribeResourcePoliciesResponse = (output, context) => {
|
|
3776
3776
|
return {
|
|
3777
|
-
nextToken:
|
|
3777
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3778
3778
|
resourcePolicies: output.resourcePolicies !== undefined && output.resourcePolicies !== null
|
|
3779
3779
|
? deserializeAws_json1_1ResourcePolicies(output.resourcePolicies, context)
|
|
3780
3780
|
: undefined,
|
|
@@ -3782,7 +3782,7 @@ const deserializeAws_json1_1DescribeResourcePoliciesResponse = (output, context)
|
|
|
3782
3782
|
};
|
|
3783
3783
|
const deserializeAws_json1_1DescribeSubscriptionFiltersResponse = (output, context) => {
|
|
3784
3784
|
return {
|
|
3785
|
-
nextToken:
|
|
3785
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3786
3786
|
subscriptionFilters: output.subscriptionFilters !== undefined && output.subscriptionFilters !== null
|
|
3787
3787
|
? deserializeAws_json1_1SubscriptionFilters(output.subscriptionFilters, context)
|
|
3788
3788
|
: undefined,
|
|
@@ -3790,12 +3790,12 @@ const deserializeAws_json1_1DescribeSubscriptionFiltersResponse = (output, conte
|
|
|
3790
3790
|
};
|
|
3791
3791
|
const deserializeAws_json1_1Destination = (output, context) => {
|
|
3792
3792
|
return {
|
|
3793
|
-
accessPolicy:
|
|
3794
|
-
arn:
|
|
3795
|
-
creationTime:
|
|
3796
|
-
destinationName:
|
|
3797
|
-
roleArn:
|
|
3798
|
-
targetArn:
|
|
3793
|
+
accessPolicy: smithy_client_1.expectString(output.accessPolicy),
|
|
3794
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
3795
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
3796
|
+
destinationName: smithy_client_1.expectString(output.destinationName),
|
|
3797
|
+
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
3798
|
+
targetArn: smithy_client_1.expectString(output.targetArn),
|
|
3799
3799
|
};
|
|
3800
3800
|
};
|
|
3801
3801
|
const deserializeAws_json1_1Destinations = (output, context) => {
|
|
@@ -3815,31 +3815,31 @@ const deserializeAws_json1_1Dimensions = (output, context) => {
|
|
|
3815
3815
|
}
|
|
3816
3816
|
return {
|
|
3817
3817
|
...acc,
|
|
3818
|
-
[key]:
|
|
3818
|
+
[key]: smithy_client_1.expectString(value),
|
|
3819
3819
|
};
|
|
3820
3820
|
}, {});
|
|
3821
3821
|
};
|
|
3822
3822
|
const deserializeAws_json1_1ExportTask = (output, context) => {
|
|
3823
3823
|
return {
|
|
3824
|
-
destination:
|
|
3825
|
-
destinationPrefix:
|
|
3824
|
+
destination: smithy_client_1.expectString(output.destination),
|
|
3825
|
+
destinationPrefix: smithy_client_1.expectString(output.destinationPrefix),
|
|
3826
3826
|
executionInfo: output.executionInfo !== undefined && output.executionInfo !== null
|
|
3827
3827
|
? deserializeAws_json1_1ExportTaskExecutionInfo(output.executionInfo, context)
|
|
3828
3828
|
: undefined,
|
|
3829
|
-
from:
|
|
3830
|
-
logGroupName:
|
|
3829
|
+
from: smithy_client_1.expectLong(output.from),
|
|
3830
|
+
logGroupName: smithy_client_1.expectString(output.logGroupName),
|
|
3831
3831
|
status: output.status !== undefined && output.status !== null
|
|
3832
3832
|
? deserializeAws_json1_1ExportTaskStatus(output.status, context)
|
|
3833
3833
|
: undefined,
|
|
3834
|
-
taskId:
|
|
3835
|
-
taskName:
|
|
3836
|
-
to:
|
|
3834
|
+
taskId: smithy_client_1.expectString(output.taskId),
|
|
3835
|
+
taskName: smithy_client_1.expectString(output.taskName),
|
|
3836
|
+
to: smithy_client_1.expectLong(output.to),
|
|
3837
3837
|
};
|
|
3838
3838
|
};
|
|
3839
3839
|
const deserializeAws_json1_1ExportTaskExecutionInfo = (output, context) => {
|
|
3840
3840
|
return {
|
|
3841
|
-
completionTime:
|
|
3842
|
-
creationTime:
|
|
3841
|
+
completionTime: smithy_client_1.expectLong(output.completionTime),
|
|
3842
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
3843
3843
|
};
|
|
3844
3844
|
};
|
|
3845
3845
|
const deserializeAws_json1_1ExportTasks = (output, context) => {
|
|
@@ -3854,8 +3854,8 @@ const deserializeAws_json1_1ExportTasks = (output, context) => {
|
|
|
3854
3854
|
};
|
|
3855
3855
|
const deserializeAws_json1_1ExportTaskStatus = (output, context) => {
|
|
3856
3856
|
return {
|
|
3857
|
-
code:
|
|
3858
|
-
message:
|
|
3857
|
+
code: smithy_client_1.expectString(output.code),
|
|
3858
|
+
message: smithy_client_1.expectString(output.message),
|
|
3859
3859
|
};
|
|
3860
3860
|
};
|
|
3861
3861
|
const deserializeAws_json1_1ExtractedValues = (output, context) => {
|
|
@@ -3865,17 +3865,17 @@ const deserializeAws_json1_1ExtractedValues = (output, context) => {
|
|
|
3865
3865
|
}
|
|
3866
3866
|
return {
|
|
3867
3867
|
...acc,
|
|
3868
|
-
[key]:
|
|
3868
|
+
[key]: smithy_client_1.expectString(value),
|
|
3869
3869
|
};
|
|
3870
3870
|
}, {});
|
|
3871
3871
|
};
|
|
3872
3872
|
const deserializeAws_json1_1FilteredLogEvent = (output, context) => {
|
|
3873
3873
|
return {
|
|
3874
|
-
eventId:
|
|
3875
|
-
ingestionTime:
|
|
3876
|
-
logStreamName:
|
|
3877
|
-
message:
|
|
3878
|
-
timestamp:
|
|
3874
|
+
eventId: smithy_client_1.expectString(output.eventId),
|
|
3875
|
+
ingestionTime: smithy_client_1.expectLong(output.ingestionTime),
|
|
3876
|
+
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
3877
|
+
message: smithy_client_1.expectString(output.message),
|
|
3878
|
+
timestamp: smithy_client_1.expectLong(output.timestamp),
|
|
3879
3879
|
};
|
|
3880
3880
|
};
|
|
3881
3881
|
const deserializeAws_json1_1FilteredLogEvents = (output, context) => {
|
|
@@ -3893,7 +3893,7 @@ const deserializeAws_json1_1FilterLogEventsResponse = (output, context) => {
|
|
|
3893
3893
|
events: output.events !== undefined && output.events !== null
|
|
3894
3894
|
? deserializeAws_json1_1FilteredLogEvents(output.events, context)
|
|
3895
3895
|
: undefined,
|
|
3896
|
-
nextToken:
|
|
3896
|
+
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3897
3897
|
searchedLogStreams: output.searchedLogStreams !== undefined && output.searchedLogStreams !== null
|
|
3898
3898
|
? deserializeAws_json1_1SearchedLogStreams(output.searchedLogStreams, context)
|
|
3899
3899
|
: undefined,
|
|
@@ -3904,8 +3904,8 @@ const deserializeAws_json1_1GetLogEventsResponse = (output, context) => {
|
|
|
3904
3904
|
events: output.events !== undefined && output.events !== null
|
|
3905
3905
|
? deserializeAws_json1_1OutputLogEvents(output.events, context)
|
|
3906
3906
|
: undefined,
|
|
3907
|
-
nextBackwardToken:
|
|
3908
|
-
nextForwardToken:
|
|
3907
|
+
nextBackwardToken: smithy_client_1.expectString(output.nextBackwardToken),
|
|
3908
|
+
nextForwardToken: smithy_client_1.expectString(output.nextForwardToken),
|
|
3909
3909
|
};
|
|
3910
3910
|
};
|
|
3911
3911
|
const deserializeAws_json1_1GetLogGroupFieldsResponse = (output, context) => {
|
|
@@ -3930,28 +3930,28 @@ const deserializeAws_json1_1GetQueryResultsResponse = (output, context) => {
|
|
|
3930
3930
|
statistics: output.statistics !== undefined && output.statistics !== null
|
|
3931
3931
|
? deserializeAws_json1_1QueryStatistics(output.statistics, context)
|
|
3932
3932
|
: undefined,
|
|
3933
|
-
status:
|
|
3933
|
+
status: smithy_client_1.expectString(output.status),
|
|
3934
3934
|
};
|
|
3935
3935
|
};
|
|
3936
3936
|
const deserializeAws_json1_1InvalidOperationException = (output, context) => {
|
|
3937
3937
|
return {
|
|
3938
|
-
message:
|
|
3938
|
+
message: smithy_client_1.expectString(output.message),
|
|
3939
3939
|
};
|
|
3940
3940
|
};
|
|
3941
3941
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
3942
3942
|
return {
|
|
3943
|
-
message:
|
|
3943
|
+
message: smithy_client_1.expectString(output.message),
|
|
3944
3944
|
};
|
|
3945
3945
|
};
|
|
3946
3946
|
const deserializeAws_json1_1InvalidSequenceTokenException = (output, context) => {
|
|
3947
3947
|
return {
|
|
3948
|
-
expectedSequenceToken:
|
|
3949
|
-
message:
|
|
3948
|
+
expectedSequenceToken: smithy_client_1.expectString(output.expectedSequenceToken),
|
|
3949
|
+
message: smithy_client_1.expectString(output.message),
|
|
3950
3950
|
};
|
|
3951
3951
|
};
|
|
3952
3952
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
3953
3953
|
return {
|
|
3954
|
-
message:
|
|
3954
|
+
message: smithy_client_1.expectString(output.message),
|
|
3955
3955
|
};
|
|
3956
3956
|
};
|
|
3957
3957
|
const deserializeAws_json1_1ListTagsLogGroupResponse = (output, context) => {
|
|
@@ -3961,19 +3961,19 @@ const deserializeAws_json1_1ListTagsLogGroupResponse = (output, context) => {
|
|
|
3961
3961
|
};
|
|
3962
3962
|
const deserializeAws_json1_1LogGroup = (output, context) => {
|
|
3963
3963
|
return {
|
|
3964
|
-
arn:
|
|
3965
|
-
creationTime:
|
|
3966
|
-
kmsKeyId:
|
|
3967
|
-
logGroupName:
|
|
3968
|
-
metricFilterCount:
|
|
3969
|
-
retentionInDays:
|
|
3970
|
-
storedBytes:
|
|
3964
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
3965
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
3966
|
+
kmsKeyId: smithy_client_1.expectString(output.kmsKeyId),
|
|
3967
|
+
logGroupName: smithy_client_1.expectString(output.logGroupName),
|
|
3968
|
+
metricFilterCount: smithy_client_1.expectInt32(output.metricFilterCount),
|
|
3969
|
+
retentionInDays: smithy_client_1.expectInt32(output.retentionInDays),
|
|
3970
|
+
storedBytes: smithy_client_1.expectLong(output.storedBytes),
|
|
3971
3971
|
};
|
|
3972
3972
|
};
|
|
3973
3973
|
const deserializeAws_json1_1LogGroupField = (output, context) => {
|
|
3974
3974
|
return {
|
|
3975
|
-
name:
|
|
3976
|
-
percent:
|
|
3975
|
+
name: smithy_client_1.expectString(output.name),
|
|
3976
|
+
percent: smithy_client_1.expectInt32(output.percent),
|
|
3977
3977
|
};
|
|
3978
3978
|
};
|
|
3979
3979
|
const deserializeAws_json1_1LogGroupFieldList = (output, context) => {
|
|
@@ -3993,7 +3993,7 @@ const deserializeAws_json1_1LogGroupNames = (output, context) => {
|
|
|
3993
3993
|
if (entry === null) {
|
|
3994
3994
|
return null;
|
|
3995
3995
|
}
|
|
3996
|
-
return
|
|
3996
|
+
return smithy_client_1.expectString(entry);
|
|
3997
3997
|
});
|
|
3998
3998
|
};
|
|
3999
3999
|
const deserializeAws_json1_1LogGroups = (output, context) => {
|
|
@@ -4013,20 +4013,20 @@ const deserializeAws_json1_1LogRecord = (output, context) => {
|
|
|
4013
4013
|
}
|
|
4014
4014
|
return {
|
|
4015
4015
|
...acc,
|
|
4016
|
-
[key]:
|
|
4016
|
+
[key]: smithy_client_1.expectString(value),
|
|
4017
4017
|
};
|
|
4018
4018
|
}, {});
|
|
4019
4019
|
};
|
|
4020
4020
|
const deserializeAws_json1_1LogStream = (output, context) => {
|
|
4021
4021
|
return {
|
|
4022
|
-
arn:
|
|
4023
|
-
creationTime:
|
|
4024
|
-
firstEventTimestamp:
|
|
4025
|
-
lastEventTimestamp:
|
|
4026
|
-
lastIngestionTime:
|
|
4027
|
-
logStreamName:
|
|
4028
|
-
storedBytes:
|
|
4029
|
-
uploadSequenceToken:
|
|
4022
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
4023
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
4024
|
+
firstEventTimestamp: smithy_client_1.expectLong(output.firstEventTimestamp),
|
|
4025
|
+
lastEventTimestamp: smithy_client_1.expectLong(output.lastEventTimestamp),
|
|
4026
|
+
lastIngestionTime: smithy_client_1.expectLong(output.lastIngestionTime),
|
|
4027
|
+
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
4028
|
+
storedBytes: smithy_client_1.expectLong(output.storedBytes),
|
|
4029
|
+
uploadSequenceToken: smithy_client_1.expectString(output.uploadSequenceToken),
|
|
4030
4030
|
};
|
|
4031
4031
|
};
|
|
4032
4032
|
const deserializeAws_json1_1LogStreams = (output, context) => {
|
|
@@ -4041,7 +4041,7 @@ const deserializeAws_json1_1LogStreams = (output, context) => {
|
|
|
4041
4041
|
};
|
|
4042
4042
|
const deserializeAws_json1_1MalformedQueryException = (output, context) => {
|
|
4043
4043
|
return {
|
|
4044
|
-
message:
|
|
4044
|
+
message: smithy_client_1.expectString(output.message),
|
|
4045
4045
|
queryCompileError: output.queryCompileError !== undefined && output.queryCompileError !== null
|
|
4046
4046
|
? deserializeAws_json1_1QueryCompileError(output.queryCompileError, context)
|
|
4047
4047
|
: undefined,
|
|
@@ -4049,10 +4049,10 @@ const deserializeAws_json1_1MalformedQueryException = (output, context) => {
|
|
|
4049
4049
|
};
|
|
4050
4050
|
const deserializeAws_json1_1MetricFilter = (output, context) => {
|
|
4051
4051
|
return {
|
|
4052
|
-
creationTime:
|
|
4053
|
-
filterName:
|
|
4054
|
-
filterPattern:
|
|
4055
|
-
logGroupName:
|
|
4052
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
4053
|
+
filterName: smithy_client_1.expectString(output.filterName),
|
|
4054
|
+
filterPattern: smithy_client_1.expectString(output.filterPattern),
|
|
4055
|
+
logGroupName: smithy_client_1.expectString(output.logGroupName),
|
|
4056
4056
|
metricTransformations: output.metricTransformations !== undefined && output.metricTransformations !== null
|
|
4057
4057
|
? deserializeAws_json1_1MetricTransformations(output.metricTransformations, context)
|
|
4058
4058
|
: undefined,
|
|
@@ -4070,8 +4070,8 @@ const deserializeAws_json1_1MetricFilterMatches = (output, context) => {
|
|
|
4070
4070
|
};
|
|
4071
4071
|
const deserializeAws_json1_1MetricFilterMatchRecord = (output, context) => {
|
|
4072
4072
|
return {
|
|
4073
|
-
eventMessage:
|
|
4074
|
-
eventNumber:
|
|
4073
|
+
eventMessage: smithy_client_1.expectString(output.eventMessage),
|
|
4074
|
+
eventNumber: smithy_client_1.expectLong(output.eventNumber),
|
|
4075
4075
|
extractedValues: output.extractedValues !== undefined && output.extractedValues !== null
|
|
4076
4076
|
? deserializeAws_json1_1ExtractedValues(output.extractedValues, context)
|
|
4077
4077
|
: undefined,
|
|
@@ -4089,14 +4089,14 @@ const deserializeAws_json1_1MetricFilters = (output, context) => {
|
|
|
4089
4089
|
};
|
|
4090
4090
|
const deserializeAws_json1_1MetricTransformation = (output, context) => {
|
|
4091
4091
|
return {
|
|
4092
|
-
defaultValue:
|
|
4092
|
+
defaultValue: smithy_client_1.limitedParseDouble(output.defaultValue),
|
|
4093
4093
|
dimensions: output.dimensions !== undefined && output.dimensions !== null
|
|
4094
4094
|
? deserializeAws_json1_1Dimensions(output.dimensions, context)
|
|
4095
4095
|
: undefined,
|
|
4096
|
-
metricName:
|
|
4097
|
-
metricNamespace:
|
|
4098
|
-
metricValue:
|
|
4099
|
-
unit:
|
|
4096
|
+
metricName: smithy_client_1.expectString(output.metricName),
|
|
4097
|
+
metricNamespace: smithy_client_1.expectString(output.metricNamespace),
|
|
4098
|
+
metricValue: smithy_client_1.expectString(output.metricValue),
|
|
4099
|
+
unit: smithy_client_1.expectString(output.unit),
|
|
4100
4100
|
};
|
|
4101
4101
|
};
|
|
4102
4102
|
const deserializeAws_json1_1MetricTransformations = (output, context) => {
|
|
@@ -4111,14 +4111,14 @@ const deserializeAws_json1_1MetricTransformations = (output, context) => {
|
|
|
4111
4111
|
};
|
|
4112
4112
|
const deserializeAws_json1_1OperationAbortedException = (output, context) => {
|
|
4113
4113
|
return {
|
|
4114
|
-
message:
|
|
4114
|
+
message: smithy_client_1.expectString(output.message),
|
|
4115
4115
|
};
|
|
4116
4116
|
};
|
|
4117
4117
|
const deserializeAws_json1_1OutputLogEvent = (output, context) => {
|
|
4118
4118
|
return {
|
|
4119
|
-
ingestionTime:
|
|
4120
|
-
message:
|
|
4121
|
-
timestamp:
|
|
4119
|
+
ingestionTime: smithy_client_1.expectLong(output.ingestionTime),
|
|
4120
|
+
message: smithy_client_1.expectString(output.message),
|
|
4121
|
+
timestamp: smithy_client_1.expectLong(output.timestamp),
|
|
4122
4122
|
};
|
|
4123
4123
|
};
|
|
4124
4124
|
const deserializeAws_json1_1OutputLogEvents = (output, context) => {
|
|
@@ -4140,7 +4140,7 @@ const deserializeAws_json1_1PutDestinationResponse = (output, context) => {
|
|
|
4140
4140
|
};
|
|
4141
4141
|
const deserializeAws_json1_1PutLogEventsResponse = (output, context) => {
|
|
4142
4142
|
return {
|
|
4143
|
-
nextSequenceToken:
|
|
4143
|
+
nextSequenceToken: smithy_client_1.expectString(output.nextSequenceToken),
|
|
4144
4144
|
rejectedLogEventsInfo: output.rejectedLogEventsInfo !== undefined && output.rejectedLogEventsInfo !== null
|
|
4145
4145
|
? deserializeAws_json1_1RejectedLogEventsInfo(output.rejectedLogEventsInfo, context)
|
|
4146
4146
|
: undefined,
|
|
@@ -4148,7 +4148,7 @@ const deserializeAws_json1_1PutLogEventsResponse = (output, context) => {
|
|
|
4148
4148
|
};
|
|
4149
4149
|
const deserializeAws_json1_1PutQueryDefinitionResponse = (output, context) => {
|
|
4150
4150
|
return {
|
|
4151
|
-
queryDefinitionId:
|
|
4151
|
+
queryDefinitionId: smithy_client_1.expectString(output.queryDefinitionId),
|
|
4152
4152
|
};
|
|
4153
4153
|
};
|
|
4154
4154
|
const deserializeAws_json1_1PutResourcePolicyResponse = (output, context) => {
|
|
@@ -4163,24 +4163,24 @@ const deserializeAws_json1_1QueryCompileError = (output, context) => {
|
|
|
4163
4163
|
location: output.location !== undefined && output.location !== null
|
|
4164
4164
|
? deserializeAws_json1_1QueryCompileErrorLocation(output.location, context)
|
|
4165
4165
|
: undefined,
|
|
4166
|
-
message:
|
|
4166
|
+
message: smithy_client_1.expectString(output.message),
|
|
4167
4167
|
};
|
|
4168
4168
|
};
|
|
4169
4169
|
const deserializeAws_json1_1QueryCompileErrorLocation = (output, context) => {
|
|
4170
4170
|
return {
|
|
4171
|
-
endCharOffset:
|
|
4172
|
-
startCharOffset:
|
|
4171
|
+
endCharOffset: smithy_client_1.expectInt32(output.endCharOffset),
|
|
4172
|
+
startCharOffset: smithy_client_1.expectInt32(output.startCharOffset),
|
|
4173
4173
|
};
|
|
4174
4174
|
};
|
|
4175
4175
|
const deserializeAws_json1_1QueryDefinition = (output, context) => {
|
|
4176
4176
|
return {
|
|
4177
|
-
lastModified:
|
|
4177
|
+
lastModified: smithy_client_1.expectLong(output.lastModified),
|
|
4178
4178
|
logGroupNames: output.logGroupNames !== undefined && output.logGroupNames !== null
|
|
4179
4179
|
? deserializeAws_json1_1LogGroupNames(output.logGroupNames, context)
|
|
4180
4180
|
: undefined,
|
|
4181
|
-
name:
|
|
4182
|
-
queryDefinitionId:
|
|
4183
|
-
queryString:
|
|
4181
|
+
name: smithy_client_1.expectString(output.name),
|
|
4182
|
+
queryDefinitionId: smithy_client_1.expectString(output.queryDefinitionId),
|
|
4183
|
+
queryString: smithy_client_1.expectString(output.queryString),
|
|
4184
4184
|
};
|
|
4185
4185
|
};
|
|
4186
4186
|
const deserializeAws_json1_1QueryDefinitionList = (output, context) => {
|
|
@@ -4195,11 +4195,11 @@ const deserializeAws_json1_1QueryDefinitionList = (output, context) => {
|
|
|
4195
4195
|
};
|
|
4196
4196
|
const deserializeAws_json1_1QueryInfo = (output, context) => {
|
|
4197
4197
|
return {
|
|
4198
|
-
createTime:
|
|
4199
|
-
logGroupName:
|
|
4200
|
-
queryId:
|
|
4201
|
-
queryString:
|
|
4202
|
-
status:
|
|
4198
|
+
createTime: smithy_client_1.expectLong(output.createTime),
|
|
4199
|
+
logGroupName: smithy_client_1.expectString(output.logGroupName),
|
|
4200
|
+
queryId: smithy_client_1.expectString(output.queryId),
|
|
4201
|
+
queryString: smithy_client_1.expectString(output.queryString),
|
|
4202
|
+
status: smithy_client_1.expectString(output.status),
|
|
4203
4203
|
};
|
|
4204
4204
|
};
|
|
4205
4205
|
const deserializeAws_json1_1QueryInfoList = (output, context) => {
|
|
@@ -4224,26 +4224,26 @@ const deserializeAws_json1_1QueryResults = (output, context) => {
|
|
|
4224
4224
|
};
|
|
4225
4225
|
const deserializeAws_json1_1QueryStatistics = (output, context) => {
|
|
4226
4226
|
return {
|
|
4227
|
-
bytesScanned:
|
|
4228
|
-
recordsMatched:
|
|
4229
|
-
recordsScanned:
|
|
4227
|
+
bytesScanned: smithy_client_1.limitedParseDouble(output.bytesScanned),
|
|
4228
|
+
recordsMatched: smithy_client_1.limitedParseDouble(output.recordsMatched),
|
|
4229
|
+
recordsScanned: smithy_client_1.limitedParseDouble(output.recordsScanned),
|
|
4230
4230
|
};
|
|
4231
4231
|
};
|
|
4232
4232
|
const deserializeAws_json1_1RejectedLogEventsInfo = (output, context) => {
|
|
4233
4233
|
return {
|
|
4234
|
-
expiredLogEventEndIndex:
|
|
4235
|
-
tooNewLogEventStartIndex:
|
|
4236
|
-
tooOldLogEventEndIndex:
|
|
4234
|
+
expiredLogEventEndIndex: smithy_client_1.expectInt32(output.expiredLogEventEndIndex),
|
|
4235
|
+
tooNewLogEventStartIndex: smithy_client_1.expectInt32(output.tooNewLogEventStartIndex),
|
|
4236
|
+
tooOldLogEventEndIndex: smithy_client_1.expectInt32(output.tooOldLogEventEndIndex),
|
|
4237
4237
|
};
|
|
4238
4238
|
};
|
|
4239
4239
|
const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
|
|
4240
4240
|
return {
|
|
4241
|
-
message:
|
|
4241
|
+
message: smithy_client_1.expectString(output.message),
|
|
4242
4242
|
};
|
|
4243
4243
|
};
|
|
4244
4244
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
4245
4245
|
return {
|
|
4246
|
-
message:
|
|
4246
|
+
message: smithy_client_1.expectString(output.message),
|
|
4247
4247
|
};
|
|
4248
4248
|
};
|
|
4249
4249
|
const deserializeAws_json1_1ResourcePolicies = (output, context) => {
|
|
@@ -4258,15 +4258,15 @@ const deserializeAws_json1_1ResourcePolicies = (output, context) => {
|
|
|
4258
4258
|
};
|
|
4259
4259
|
const deserializeAws_json1_1ResourcePolicy = (output, context) => {
|
|
4260
4260
|
return {
|
|
4261
|
-
lastUpdatedTime:
|
|
4262
|
-
policyDocument:
|
|
4263
|
-
policyName:
|
|
4261
|
+
lastUpdatedTime: smithy_client_1.expectLong(output.lastUpdatedTime),
|
|
4262
|
+
policyDocument: smithy_client_1.expectString(output.policyDocument),
|
|
4263
|
+
policyName: smithy_client_1.expectString(output.policyName),
|
|
4264
4264
|
};
|
|
4265
4265
|
};
|
|
4266
4266
|
const deserializeAws_json1_1ResultField = (output, context) => {
|
|
4267
4267
|
return {
|
|
4268
|
-
field:
|
|
4269
|
-
value:
|
|
4268
|
+
field: smithy_client_1.expectString(output.field),
|
|
4269
|
+
value: smithy_client_1.expectString(output.value),
|
|
4270
4270
|
};
|
|
4271
4271
|
};
|
|
4272
4272
|
const deserializeAws_json1_1ResultRows = (output, context) => {
|
|
@@ -4281,8 +4281,8 @@ const deserializeAws_json1_1ResultRows = (output, context) => {
|
|
|
4281
4281
|
};
|
|
4282
4282
|
const deserializeAws_json1_1SearchedLogStream = (output, context) => {
|
|
4283
4283
|
return {
|
|
4284
|
-
logStreamName:
|
|
4285
|
-
searchedCompletely:
|
|
4284
|
+
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
4285
|
+
searchedCompletely: smithy_client_1.expectBoolean(output.searchedCompletely),
|
|
4286
4286
|
};
|
|
4287
4287
|
};
|
|
4288
4288
|
const deserializeAws_json1_1SearchedLogStreams = (output, context) => {
|
|
@@ -4297,28 +4297,28 @@ const deserializeAws_json1_1SearchedLogStreams = (output, context) => {
|
|
|
4297
4297
|
};
|
|
4298
4298
|
const deserializeAws_json1_1ServiceUnavailableException = (output, context) => {
|
|
4299
4299
|
return {
|
|
4300
|
-
message:
|
|
4300
|
+
message: smithy_client_1.expectString(output.message),
|
|
4301
4301
|
};
|
|
4302
4302
|
};
|
|
4303
4303
|
const deserializeAws_json1_1StartQueryResponse = (output, context) => {
|
|
4304
4304
|
return {
|
|
4305
|
-
queryId:
|
|
4305
|
+
queryId: smithy_client_1.expectString(output.queryId),
|
|
4306
4306
|
};
|
|
4307
4307
|
};
|
|
4308
4308
|
const deserializeAws_json1_1StopQueryResponse = (output, context) => {
|
|
4309
4309
|
return {
|
|
4310
|
-
success:
|
|
4310
|
+
success: smithy_client_1.expectBoolean(output.success),
|
|
4311
4311
|
};
|
|
4312
4312
|
};
|
|
4313
4313
|
const deserializeAws_json1_1SubscriptionFilter = (output, context) => {
|
|
4314
4314
|
return {
|
|
4315
|
-
creationTime:
|
|
4316
|
-
destinationArn:
|
|
4317
|
-
distribution:
|
|
4318
|
-
filterName:
|
|
4319
|
-
filterPattern:
|
|
4320
|
-
logGroupName:
|
|
4321
|
-
roleArn:
|
|
4315
|
+
creationTime: smithy_client_1.expectLong(output.creationTime),
|
|
4316
|
+
destinationArn: smithy_client_1.expectString(output.destinationArn),
|
|
4317
|
+
distribution: smithy_client_1.expectString(output.distribution),
|
|
4318
|
+
filterName: smithy_client_1.expectString(output.filterName),
|
|
4319
|
+
filterPattern: smithy_client_1.expectString(output.filterPattern),
|
|
4320
|
+
logGroupName: smithy_client_1.expectString(output.logGroupName),
|
|
4321
|
+
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
4322
4322
|
};
|
|
4323
4323
|
};
|
|
4324
4324
|
const deserializeAws_json1_1SubscriptionFilters = (output, context) => {
|
|
@@ -4338,7 +4338,7 @@ const deserializeAws_json1_1Tags = (output, context) => {
|
|
|
4338
4338
|
}
|
|
4339
4339
|
return {
|
|
4340
4340
|
...acc,
|
|
4341
|
-
[key]:
|
|
4341
|
+
[key]: smithy_client_1.expectString(value),
|
|
4342
4342
|
};
|
|
4343
4343
|
}, {});
|
|
4344
4344
|
};
|
|
@@ -4351,7 +4351,7 @@ const deserializeAws_json1_1TestMetricFilterResponse = (output, context) => {
|
|
|
4351
4351
|
};
|
|
4352
4352
|
const deserializeAws_json1_1UnrecognizedClientException = (output, context) => {
|
|
4353
4353
|
return {
|
|
4354
|
-
message:
|
|
4354
|
+
message: smithy_client_1.expectString(output.message),
|
|
4355
4355
|
};
|
|
4356
4356
|
};
|
|
4357
4357
|
const deserializeMetadata = (output) => {
|