@aws-sdk/client-cloudtrail 3.29.0 → 3.33.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 +32 -0
- package/dist/cjs/CloudTrailClient.js +13 -13
- package/dist/cjs/CloudTrailClient.js.map +1 -1
- package/dist/cjs/commands/AddTagsCommand.js +3 -3
- package/dist/cjs/commands/AddTagsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateTrailCommand.js +3 -3
- package/dist/cjs/commands/CreateTrailCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTrailCommand.js +3 -3
- package/dist/cjs/commands/DeleteTrailCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTrailsCommand.js +3 -3
- package/dist/cjs/commands/DescribeTrailsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEventSelectorsCommand.js +3 -3
- package/dist/cjs/commands/GetEventSelectorsCommand.js.map +1 -1
- package/dist/cjs/commands/GetInsightSelectorsCommand.js +3 -3
- package/dist/cjs/commands/GetInsightSelectorsCommand.js.map +1 -1
- package/dist/cjs/commands/GetTrailCommand.js +3 -3
- package/dist/cjs/commands/GetTrailCommand.js.map +1 -1
- package/dist/cjs/commands/GetTrailStatusCommand.js +3 -3
- package/dist/cjs/commands/GetTrailStatusCommand.js.map +1 -1
- package/dist/cjs/commands/ListPublicKeysCommand.js +3 -3
- package/dist/cjs/commands/ListPublicKeysCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsCommand.js +3 -3
- package/dist/cjs/commands/ListTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTrailsCommand.js +3 -3
- package/dist/cjs/commands/ListTrailsCommand.js.map +1 -1
- package/dist/cjs/commands/LookupEventsCommand.js +3 -3
- package/dist/cjs/commands/LookupEventsCommand.js.map +1 -1
- package/dist/cjs/commands/PutEventSelectorsCommand.js +3 -3
- package/dist/cjs/commands/PutEventSelectorsCommand.js.map +1 -1
- package/dist/cjs/commands/PutInsightSelectorsCommand.js +3 -3
- package/dist/cjs/commands/PutInsightSelectorsCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveTagsCommand.js +3 -3
- package/dist/cjs/commands/RemoveTagsCommand.js.map +1 -1
- package/dist/cjs/commands/StartLoggingCommand.js +3 -3
- package/dist/cjs/commands/StartLoggingCommand.js.map +1 -1
- package/dist/cjs/commands/StopLoggingCommand.js +3 -3
- package/dist/cjs/commands/StopLoggingCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTrailCommand.js +3 -3
- package/dist/cjs/commands/UpdateTrailCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +26 -26
- 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 +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +139 -139
- 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/package.json +31 -31
- package/dist/es/pagination/ListPublicKeysPaginator.js +4 -4
- package/dist/es/pagination/ListPublicKeysPaginator.js.map +1 -1
- package/dist/es/pagination/ListTagsPaginator.js +4 -4
- package/dist/es/pagination/ListTagsPaginator.js.map +1 -1
- package/dist/es/pagination/ListTrailsPaginator.js +4 -4
- package/dist/es/pagination/ListTrailsPaginator.js.map +1 -1
- package/dist/es/pagination/LookupEventsPaginator.js +4 -4
- package/dist/es/pagination/LookupEventsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +10 -10
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +16 -10
- package/tsconfig.json +1 -2
|
@@ -2958,7 +2958,7 @@ const deserializeAws_json1_1AdvancedEventSelector = (output, context) => {
|
|
|
2958
2958
|
FieldSelectors: output.FieldSelectors !== undefined && output.FieldSelectors !== null
|
|
2959
2959
|
? deserializeAws_json1_1AdvancedFieldSelectors(output.FieldSelectors, context)
|
|
2960
2960
|
: undefined,
|
|
2961
|
-
Name:
|
|
2961
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2962
2962
|
};
|
|
2963
2963
|
};
|
|
2964
2964
|
const deserializeAws_json1_1AdvancedEventSelectors = (output, context) => {
|
|
@@ -2979,7 +2979,7 @@ const deserializeAws_json1_1AdvancedFieldSelector = (output, context) => {
|
|
|
2979
2979
|
Equals: output.Equals !== undefined && output.Equals !== null
|
|
2980
2980
|
? deserializeAws_json1_1Operator(output.Equals, context)
|
|
2981
2981
|
: undefined,
|
|
2982
|
-
Field:
|
|
2982
|
+
Field: smithy_client_1.expectString(output.Field),
|
|
2983
2983
|
NotEndsWith: output.NotEndsWith !== undefined && output.NotEndsWith !== null
|
|
2984
2984
|
? deserializeAws_json1_1Operator(output.NotEndsWith, context)
|
|
2985
2985
|
: undefined,
|
|
@@ -3006,49 +3006,49 @@ const deserializeAws_json1_1AdvancedFieldSelectors = (output, context) => {
|
|
|
3006
3006
|
};
|
|
3007
3007
|
const deserializeAws_json1_1CloudTrailAccessNotEnabledException = (output, context) => {
|
|
3008
3008
|
return {
|
|
3009
|
-
Message:
|
|
3009
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3010
3010
|
};
|
|
3011
3011
|
};
|
|
3012
3012
|
const deserializeAws_json1_1CloudTrailARNInvalidException = (output, context) => {
|
|
3013
3013
|
return {
|
|
3014
|
-
Message:
|
|
3014
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3015
3015
|
};
|
|
3016
3016
|
};
|
|
3017
3017
|
const deserializeAws_json1_1CloudTrailInvalidClientTokenIdException = (output, context) => {
|
|
3018
3018
|
return {
|
|
3019
|
-
Message:
|
|
3019
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3020
3020
|
};
|
|
3021
3021
|
};
|
|
3022
3022
|
const deserializeAws_json1_1CloudWatchLogsDeliveryUnavailableException = (output, context) => {
|
|
3023
3023
|
return {
|
|
3024
|
-
Message:
|
|
3024
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3025
3025
|
};
|
|
3026
3026
|
};
|
|
3027
3027
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
3028
3028
|
return {
|
|
3029
|
-
Message:
|
|
3029
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3030
3030
|
};
|
|
3031
3031
|
};
|
|
3032
3032
|
const deserializeAws_json1_1CreateTrailResponse = (output, context) => {
|
|
3033
3033
|
return {
|
|
3034
|
-
CloudWatchLogsLogGroupArn:
|
|
3035
|
-
CloudWatchLogsRoleArn:
|
|
3036
|
-
IncludeGlobalServiceEvents:
|
|
3037
|
-
IsMultiRegionTrail:
|
|
3038
|
-
IsOrganizationTrail:
|
|
3039
|
-
KmsKeyId:
|
|
3040
|
-
LogFileValidationEnabled:
|
|
3041
|
-
Name:
|
|
3042
|
-
S3BucketName:
|
|
3043
|
-
S3KeyPrefix:
|
|
3044
|
-
SnsTopicARN:
|
|
3045
|
-
SnsTopicName:
|
|
3046
|
-
TrailARN:
|
|
3034
|
+
CloudWatchLogsLogGroupArn: smithy_client_1.expectString(output.CloudWatchLogsLogGroupArn),
|
|
3035
|
+
CloudWatchLogsRoleArn: smithy_client_1.expectString(output.CloudWatchLogsRoleArn),
|
|
3036
|
+
IncludeGlobalServiceEvents: smithy_client_1.expectBoolean(output.IncludeGlobalServiceEvents),
|
|
3037
|
+
IsMultiRegionTrail: smithy_client_1.expectBoolean(output.IsMultiRegionTrail),
|
|
3038
|
+
IsOrganizationTrail: smithy_client_1.expectBoolean(output.IsOrganizationTrail),
|
|
3039
|
+
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
3040
|
+
LogFileValidationEnabled: smithy_client_1.expectBoolean(output.LogFileValidationEnabled),
|
|
3041
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3042
|
+
S3BucketName: smithy_client_1.expectString(output.S3BucketName),
|
|
3043
|
+
S3KeyPrefix: smithy_client_1.expectString(output.S3KeyPrefix),
|
|
3044
|
+
SnsTopicARN: smithy_client_1.expectString(output.SnsTopicARN),
|
|
3045
|
+
SnsTopicName: smithy_client_1.expectString(output.SnsTopicName),
|
|
3046
|
+
TrailARN: smithy_client_1.expectString(output.TrailARN),
|
|
3047
3047
|
};
|
|
3048
3048
|
};
|
|
3049
3049
|
const deserializeAws_json1_1DataResource = (output, context) => {
|
|
3050
3050
|
return {
|
|
3051
|
-
Type:
|
|
3051
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
3052
3052
|
Values: output.Values !== undefined && output.Values !== null
|
|
3053
3053
|
? deserializeAws_json1_1DataResourceValues(output.Values, context)
|
|
3054
3054
|
: undefined,
|
|
@@ -3071,7 +3071,7 @@ const deserializeAws_json1_1DataResourceValues = (output, context) => {
|
|
|
3071
3071
|
if (entry === null) {
|
|
3072
3072
|
return null;
|
|
3073
3073
|
}
|
|
3074
|
-
return
|
|
3074
|
+
return smithy_client_1.expectString(entry);
|
|
3075
3075
|
});
|
|
3076
3076
|
};
|
|
3077
3077
|
const deserializeAws_json1_1DeleteTrailResponse = (output, context) => {
|
|
@@ -3086,19 +3086,19 @@ const deserializeAws_json1_1DescribeTrailsResponse = (output, context) => {
|
|
|
3086
3086
|
};
|
|
3087
3087
|
const deserializeAws_json1_1Event = (output, context) => {
|
|
3088
3088
|
return {
|
|
3089
|
-
AccessKeyId:
|
|
3090
|
-
CloudTrailEvent:
|
|
3091
|
-
EventId:
|
|
3092
|
-
EventName:
|
|
3093
|
-
EventSource:
|
|
3089
|
+
AccessKeyId: smithy_client_1.expectString(output.AccessKeyId),
|
|
3090
|
+
CloudTrailEvent: smithy_client_1.expectString(output.CloudTrailEvent),
|
|
3091
|
+
EventId: smithy_client_1.expectString(output.EventId),
|
|
3092
|
+
EventName: smithy_client_1.expectString(output.EventName),
|
|
3093
|
+
EventSource: smithy_client_1.expectString(output.EventSource),
|
|
3094
3094
|
EventTime: output.EventTime !== undefined && output.EventTime !== null
|
|
3095
|
-
?
|
|
3095
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventTime)))
|
|
3096
3096
|
: undefined,
|
|
3097
|
-
ReadOnly:
|
|
3097
|
+
ReadOnly: smithy_client_1.expectString(output.ReadOnly),
|
|
3098
3098
|
Resources: output.Resources !== undefined && output.Resources !== null
|
|
3099
3099
|
? deserializeAws_json1_1ResourceList(output.Resources, context)
|
|
3100
3100
|
: undefined,
|
|
3101
|
-
Username:
|
|
3101
|
+
Username: smithy_client_1.expectString(output.Username),
|
|
3102
3102
|
};
|
|
3103
3103
|
};
|
|
3104
3104
|
const deserializeAws_json1_1EventSelector = (output, context) => {
|
|
@@ -3109,8 +3109,8 @@ const deserializeAws_json1_1EventSelector = (output, context) => {
|
|
|
3109
3109
|
ExcludeManagementEventSources: output.ExcludeManagementEventSources !== undefined && output.ExcludeManagementEventSources !== null
|
|
3110
3110
|
? deserializeAws_json1_1ExcludeManagementEventSources(output.ExcludeManagementEventSources, context)
|
|
3111
3111
|
: undefined,
|
|
3112
|
-
IncludeManagementEvents:
|
|
3113
|
-
ReadWriteType:
|
|
3112
|
+
IncludeManagementEvents: smithy_client_1.expectBoolean(output.IncludeManagementEvents),
|
|
3113
|
+
ReadWriteType: smithy_client_1.expectString(output.ReadWriteType),
|
|
3114
3114
|
};
|
|
3115
3115
|
};
|
|
3116
3116
|
const deserializeAws_json1_1EventSelectors = (output, context) => {
|
|
@@ -3140,7 +3140,7 @@ const deserializeAws_json1_1ExcludeManagementEventSources = (output, context) =>
|
|
|
3140
3140
|
if (entry === null) {
|
|
3141
3141
|
return null;
|
|
3142
3142
|
}
|
|
3143
|
-
return
|
|
3143
|
+
return smithy_client_1.expectString(entry);
|
|
3144
3144
|
});
|
|
3145
3145
|
};
|
|
3146
3146
|
const deserializeAws_json1_1GetEventSelectorsResponse = (output, context) => {
|
|
@@ -3151,7 +3151,7 @@ const deserializeAws_json1_1GetEventSelectorsResponse = (output, context) => {
|
|
|
3151
3151
|
EventSelectors: output.EventSelectors !== undefined && output.EventSelectors !== null
|
|
3152
3152
|
? deserializeAws_json1_1EventSelectors(output.EventSelectors, context)
|
|
3153
3153
|
: undefined,
|
|
3154
|
-
TrailARN:
|
|
3154
|
+
TrailARN: smithy_client_1.expectString(output.TrailARN),
|
|
3155
3155
|
};
|
|
3156
3156
|
};
|
|
3157
3157
|
const deserializeAws_json1_1GetInsightSelectorsResponse = (output, context) => {
|
|
@@ -3159,7 +3159,7 @@ const deserializeAws_json1_1GetInsightSelectorsResponse = (output, context) => {
|
|
|
3159
3159
|
InsightSelectors: output.InsightSelectors !== undefined && output.InsightSelectors !== null
|
|
3160
3160
|
? deserializeAws_json1_1InsightSelectors(output.InsightSelectors, context)
|
|
3161
3161
|
: undefined,
|
|
3162
|
-
TrailARN:
|
|
3162
|
+
TrailARN: smithy_client_1.expectString(output.TrailARN),
|
|
3163
3163
|
};
|
|
3164
3164
|
};
|
|
3165
3165
|
const deserializeAws_json1_1GetTrailResponse = (output, context) => {
|
|
@@ -3171,45 +3171,45 @@ const deserializeAws_json1_1GetTrailResponse = (output, context) => {
|
|
|
3171
3171
|
};
|
|
3172
3172
|
const deserializeAws_json1_1GetTrailStatusResponse = (output, context) => {
|
|
3173
3173
|
return {
|
|
3174
|
-
IsLogging:
|
|
3175
|
-
LatestCloudWatchLogsDeliveryError:
|
|
3174
|
+
IsLogging: smithy_client_1.expectBoolean(output.IsLogging),
|
|
3175
|
+
LatestCloudWatchLogsDeliveryError: smithy_client_1.expectString(output.LatestCloudWatchLogsDeliveryError),
|
|
3176
3176
|
LatestCloudWatchLogsDeliveryTime: output.LatestCloudWatchLogsDeliveryTime !== undefined && output.LatestCloudWatchLogsDeliveryTime !== null
|
|
3177
|
-
?
|
|
3177
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestCloudWatchLogsDeliveryTime)))
|
|
3178
3178
|
: undefined,
|
|
3179
|
-
LatestDeliveryAttemptSucceeded:
|
|
3180
|
-
LatestDeliveryAttemptTime:
|
|
3181
|
-
LatestDeliveryError:
|
|
3179
|
+
LatestDeliveryAttemptSucceeded: smithy_client_1.expectString(output.LatestDeliveryAttemptSucceeded),
|
|
3180
|
+
LatestDeliveryAttemptTime: smithy_client_1.expectString(output.LatestDeliveryAttemptTime),
|
|
3181
|
+
LatestDeliveryError: smithy_client_1.expectString(output.LatestDeliveryError),
|
|
3182
3182
|
LatestDeliveryTime: output.LatestDeliveryTime !== undefined && output.LatestDeliveryTime !== null
|
|
3183
|
-
?
|
|
3183
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestDeliveryTime)))
|
|
3184
3184
|
: undefined,
|
|
3185
|
-
LatestDigestDeliveryError:
|
|
3185
|
+
LatestDigestDeliveryError: smithy_client_1.expectString(output.LatestDigestDeliveryError),
|
|
3186
3186
|
LatestDigestDeliveryTime: output.LatestDigestDeliveryTime !== undefined && output.LatestDigestDeliveryTime !== null
|
|
3187
|
-
?
|
|
3187
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestDigestDeliveryTime)))
|
|
3188
3188
|
: undefined,
|
|
3189
|
-
LatestNotificationAttemptSucceeded:
|
|
3190
|
-
LatestNotificationAttemptTime:
|
|
3191
|
-
LatestNotificationError:
|
|
3189
|
+
LatestNotificationAttemptSucceeded: smithy_client_1.expectString(output.LatestNotificationAttemptSucceeded),
|
|
3190
|
+
LatestNotificationAttemptTime: smithy_client_1.expectString(output.LatestNotificationAttemptTime),
|
|
3191
|
+
LatestNotificationError: smithy_client_1.expectString(output.LatestNotificationError),
|
|
3192
3192
|
LatestNotificationTime: output.LatestNotificationTime !== undefined && output.LatestNotificationTime !== null
|
|
3193
|
-
?
|
|
3193
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestNotificationTime)))
|
|
3194
3194
|
: undefined,
|
|
3195
3195
|
StartLoggingTime: output.StartLoggingTime !== undefined && output.StartLoggingTime !== null
|
|
3196
|
-
?
|
|
3196
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartLoggingTime)))
|
|
3197
3197
|
: undefined,
|
|
3198
3198
|
StopLoggingTime: output.StopLoggingTime !== undefined && output.StopLoggingTime !== null
|
|
3199
|
-
?
|
|
3199
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StopLoggingTime)))
|
|
3200
3200
|
: undefined,
|
|
3201
|
-
TimeLoggingStarted:
|
|
3202
|
-
TimeLoggingStopped:
|
|
3201
|
+
TimeLoggingStarted: smithy_client_1.expectString(output.TimeLoggingStarted),
|
|
3202
|
+
TimeLoggingStopped: smithy_client_1.expectString(output.TimeLoggingStopped),
|
|
3203
3203
|
};
|
|
3204
3204
|
};
|
|
3205
3205
|
const deserializeAws_json1_1InsightNotEnabledException = (output, context) => {
|
|
3206
3206
|
return {
|
|
3207
|
-
Message:
|
|
3207
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3208
3208
|
};
|
|
3209
3209
|
};
|
|
3210
3210
|
const deserializeAws_json1_1InsightSelector = (output, context) => {
|
|
3211
3211
|
return {
|
|
3212
|
-
InsightType:
|
|
3212
|
+
InsightType: smithy_client_1.expectString(output.InsightType),
|
|
3213
3213
|
};
|
|
3214
3214
|
};
|
|
3215
3215
|
const deserializeAws_json1_1InsightSelectors = (output, context) => {
|
|
@@ -3224,132 +3224,132 @@ const deserializeAws_json1_1InsightSelectors = (output, context) => {
|
|
|
3224
3224
|
};
|
|
3225
3225
|
const deserializeAws_json1_1InsufficientDependencyServiceAccessPermissionException = (output, context) => {
|
|
3226
3226
|
return {
|
|
3227
|
-
Message:
|
|
3227
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3228
3228
|
};
|
|
3229
3229
|
};
|
|
3230
3230
|
const deserializeAws_json1_1InsufficientEncryptionPolicyException = (output, context) => {
|
|
3231
3231
|
return {
|
|
3232
|
-
Message:
|
|
3232
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3233
3233
|
};
|
|
3234
3234
|
};
|
|
3235
3235
|
const deserializeAws_json1_1InsufficientS3BucketPolicyException = (output, context) => {
|
|
3236
3236
|
return {
|
|
3237
|
-
Message:
|
|
3237
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3238
3238
|
};
|
|
3239
3239
|
};
|
|
3240
3240
|
const deserializeAws_json1_1InsufficientSnsTopicPolicyException = (output, context) => {
|
|
3241
3241
|
return {
|
|
3242
|
-
Message:
|
|
3242
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3243
3243
|
};
|
|
3244
3244
|
};
|
|
3245
3245
|
const deserializeAws_json1_1InvalidCloudWatchLogsLogGroupArnException = (output, context) => {
|
|
3246
3246
|
return {
|
|
3247
|
-
Message:
|
|
3247
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3248
3248
|
};
|
|
3249
3249
|
};
|
|
3250
3250
|
const deserializeAws_json1_1InvalidCloudWatchLogsRoleArnException = (output, context) => {
|
|
3251
3251
|
return {
|
|
3252
|
-
Message:
|
|
3252
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3253
3253
|
};
|
|
3254
3254
|
};
|
|
3255
3255
|
const deserializeAws_json1_1InvalidEventCategoryException = (output, context) => {
|
|
3256
3256
|
return {
|
|
3257
|
-
Message:
|
|
3257
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3258
3258
|
};
|
|
3259
3259
|
};
|
|
3260
3260
|
const deserializeAws_json1_1InvalidEventSelectorsException = (output, context) => {
|
|
3261
3261
|
return {
|
|
3262
|
-
Message:
|
|
3262
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3263
3263
|
};
|
|
3264
3264
|
};
|
|
3265
3265
|
const deserializeAws_json1_1InvalidHomeRegionException = (output, context) => {
|
|
3266
3266
|
return {
|
|
3267
|
-
Message:
|
|
3267
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3268
3268
|
};
|
|
3269
3269
|
};
|
|
3270
3270
|
const deserializeAws_json1_1InvalidInsightSelectorsException = (output, context) => {
|
|
3271
3271
|
return {
|
|
3272
|
-
Message:
|
|
3272
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3273
3273
|
};
|
|
3274
3274
|
};
|
|
3275
3275
|
const deserializeAws_json1_1InvalidKmsKeyIdException = (output, context) => {
|
|
3276
3276
|
return {
|
|
3277
|
-
Message:
|
|
3277
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3278
3278
|
};
|
|
3279
3279
|
};
|
|
3280
3280
|
const deserializeAws_json1_1InvalidLookupAttributesException = (output, context) => {
|
|
3281
3281
|
return {
|
|
3282
|
-
Message:
|
|
3282
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3283
3283
|
};
|
|
3284
3284
|
};
|
|
3285
3285
|
const deserializeAws_json1_1InvalidMaxResultsException = (output, context) => {
|
|
3286
3286
|
return {
|
|
3287
|
-
Message:
|
|
3287
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3288
3288
|
};
|
|
3289
3289
|
};
|
|
3290
3290
|
const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
|
|
3291
3291
|
return {
|
|
3292
|
-
Message:
|
|
3292
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3293
3293
|
};
|
|
3294
3294
|
};
|
|
3295
3295
|
const deserializeAws_json1_1InvalidParameterCombinationException = (output, context) => {
|
|
3296
3296
|
return {
|
|
3297
|
-
Message:
|
|
3297
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3298
3298
|
};
|
|
3299
3299
|
};
|
|
3300
3300
|
const deserializeAws_json1_1InvalidS3BucketNameException = (output, context) => {
|
|
3301
3301
|
return {
|
|
3302
|
-
Message:
|
|
3302
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3303
3303
|
};
|
|
3304
3304
|
};
|
|
3305
3305
|
const deserializeAws_json1_1InvalidS3PrefixException = (output, context) => {
|
|
3306
3306
|
return {
|
|
3307
|
-
Message:
|
|
3307
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3308
3308
|
};
|
|
3309
3309
|
};
|
|
3310
3310
|
const deserializeAws_json1_1InvalidSnsTopicNameException = (output, context) => {
|
|
3311
3311
|
return {
|
|
3312
|
-
Message:
|
|
3312
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3313
3313
|
};
|
|
3314
3314
|
};
|
|
3315
3315
|
const deserializeAws_json1_1InvalidTagParameterException = (output, context) => {
|
|
3316
3316
|
return {
|
|
3317
|
-
Message:
|
|
3317
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3318
3318
|
};
|
|
3319
3319
|
};
|
|
3320
3320
|
const deserializeAws_json1_1InvalidTimeRangeException = (output, context) => {
|
|
3321
3321
|
return {
|
|
3322
|
-
Message:
|
|
3322
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3323
3323
|
};
|
|
3324
3324
|
};
|
|
3325
3325
|
const deserializeAws_json1_1InvalidTokenException = (output, context) => {
|
|
3326
3326
|
return {
|
|
3327
|
-
Message:
|
|
3327
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3328
3328
|
};
|
|
3329
3329
|
};
|
|
3330
3330
|
const deserializeAws_json1_1InvalidTrailNameException = (output, context) => {
|
|
3331
3331
|
return {
|
|
3332
|
-
Message:
|
|
3332
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3333
3333
|
};
|
|
3334
3334
|
};
|
|
3335
3335
|
const deserializeAws_json1_1KmsException = (output, context) => {
|
|
3336
3336
|
return {
|
|
3337
|
-
Message:
|
|
3337
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3338
3338
|
};
|
|
3339
3339
|
};
|
|
3340
3340
|
const deserializeAws_json1_1KmsKeyDisabledException = (output, context) => {
|
|
3341
3341
|
return {
|
|
3342
|
-
Message:
|
|
3342
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3343
3343
|
};
|
|
3344
3344
|
};
|
|
3345
3345
|
const deserializeAws_json1_1KmsKeyNotFoundException = (output, context) => {
|
|
3346
3346
|
return {
|
|
3347
|
-
Message:
|
|
3347
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3348
3348
|
};
|
|
3349
3349
|
};
|
|
3350
3350
|
const deserializeAws_json1_1ListPublicKeysResponse = (output, context) => {
|
|
3351
3351
|
return {
|
|
3352
|
-
NextToken:
|
|
3352
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3353
3353
|
PublicKeyList: output.PublicKeyList !== undefined && output.PublicKeyList !== null
|
|
3354
3354
|
? deserializeAws_json1_1PublicKeyList(output.PublicKeyList, context)
|
|
3355
3355
|
: undefined,
|
|
@@ -3357,7 +3357,7 @@ const deserializeAws_json1_1ListPublicKeysResponse = (output, context) => {
|
|
|
3357
3357
|
};
|
|
3358
3358
|
const deserializeAws_json1_1ListTagsResponse = (output, context) => {
|
|
3359
3359
|
return {
|
|
3360
|
-
NextToken:
|
|
3360
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3361
3361
|
ResourceTagList: output.ResourceTagList !== undefined && output.ResourceTagList !== null
|
|
3362
3362
|
? deserializeAws_json1_1ResourceTagList(output.ResourceTagList, context)
|
|
3363
3363
|
: undefined,
|
|
@@ -3365,7 +3365,7 @@ const deserializeAws_json1_1ListTagsResponse = (output, context) => {
|
|
|
3365
3365
|
};
|
|
3366
3366
|
const deserializeAws_json1_1ListTrailsResponse = (output, context) => {
|
|
3367
3367
|
return {
|
|
3368
|
-
NextToken:
|
|
3368
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3369
3369
|
Trails: output.Trails !== undefined && output.Trails !== null
|
|
3370
3370
|
? deserializeAws_json1_1Trails(output.Trails, context)
|
|
3371
3371
|
: undefined,
|
|
@@ -3376,22 +3376,22 @@ const deserializeAws_json1_1LookupEventsResponse = (output, context) => {
|
|
|
3376
3376
|
Events: output.Events !== undefined && output.Events !== null
|
|
3377
3377
|
? deserializeAws_json1_1EventsList(output.Events, context)
|
|
3378
3378
|
: undefined,
|
|
3379
|
-
NextToken:
|
|
3379
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3380
3380
|
};
|
|
3381
3381
|
};
|
|
3382
3382
|
const deserializeAws_json1_1MaximumNumberOfTrailsExceededException = (output, context) => {
|
|
3383
3383
|
return {
|
|
3384
|
-
Message:
|
|
3384
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3385
3385
|
};
|
|
3386
3386
|
};
|
|
3387
3387
|
const deserializeAws_json1_1NotOrganizationMasterAccountException = (output, context) => {
|
|
3388
3388
|
return {
|
|
3389
|
-
Message:
|
|
3389
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3390
3390
|
};
|
|
3391
3391
|
};
|
|
3392
3392
|
const deserializeAws_json1_1OperationNotPermittedException = (output, context) => {
|
|
3393
3393
|
return {
|
|
3394
|
-
Message:
|
|
3394
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3395
3395
|
};
|
|
3396
3396
|
};
|
|
3397
3397
|
const deserializeAws_json1_1Operator = (output, context) => {
|
|
@@ -3401,27 +3401,27 @@ const deserializeAws_json1_1Operator = (output, context) => {
|
|
|
3401
3401
|
if (entry === null) {
|
|
3402
3402
|
return null;
|
|
3403
3403
|
}
|
|
3404
|
-
return
|
|
3404
|
+
return smithy_client_1.expectString(entry);
|
|
3405
3405
|
});
|
|
3406
3406
|
};
|
|
3407
3407
|
const deserializeAws_json1_1OrganizationNotInAllFeaturesModeException = (output, context) => {
|
|
3408
3408
|
return {
|
|
3409
|
-
Message:
|
|
3409
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3410
3410
|
};
|
|
3411
3411
|
};
|
|
3412
3412
|
const deserializeAws_json1_1OrganizationsNotInUseException = (output, context) => {
|
|
3413
3413
|
return {
|
|
3414
|
-
Message:
|
|
3414
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3415
3415
|
};
|
|
3416
3416
|
};
|
|
3417
3417
|
const deserializeAws_json1_1PublicKey = (output, context) => {
|
|
3418
3418
|
return {
|
|
3419
|
-
Fingerprint:
|
|
3419
|
+
Fingerprint: smithy_client_1.expectString(output.Fingerprint),
|
|
3420
3420
|
ValidityEndTime: output.ValidityEndTime !== undefined && output.ValidityEndTime !== null
|
|
3421
|
-
?
|
|
3421
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ValidityEndTime)))
|
|
3422
3422
|
: undefined,
|
|
3423
3423
|
ValidityStartTime: output.ValidityStartTime !== undefined && output.ValidityStartTime !== null
|
|
3424
|
-
?
|
|
3424
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ValidityStartTime)))
|
|
3425
3425
|
: undefined,
|
|
3426
3426
|
Value: output.Value !== undefined && output.Value !== null ? context.base64Decoder(output.Value) : undefined,
|
|
3427
3427
|
};
|
|
@@ -3444,7 +3444,7 @@ const deserializeAws_json1_1PutEventSelectorsResponse = (output, context) => {
|
|
|
3444
3444
|
EventSelectors: output.EventSelectors !== undefined && output.EventSelectors !== null
|
|
3445
3445
|
? deserializeAws_json1_1EventSelectors(output.EventSelectors, context)
|
|
3446
3446
|
: undefined,
|
|
3447
|
-
TrailARN:
|
|
3447
|
+
TrailARN: smithy_client_1.expectString(output.TrailARN),
|
|
3448
3448
|
};
|
|
3449
3449
|
};
|
|
3450
3450
|
const deserializeAws_json1_1PutInsightSelectorsResponse = (output, context) => {
|
|
@@ -3452,7 +3452,7 @@ const deserializeAws_json1_1PutInsightSelectorsResponse = (output, context) => {
|
|
|
3452
3452
|
InsightSelectors: output.InsightSelectors !== undefined && output.InsightSelectors !== null
|
|
3453
3453
|
? deserializeAws_json1_1InsightSelectors(output.InsightSelectors, context)
|
|
3454
3454
|
: undefined,
|
|
3455
|
-
TrailARN:
|
|
3455
|
+
TrailARN: smithy_client_1.expectString(output.TrailARN),
|
|
3456
3456
|
};
|
|
3457
3457
|
};
|
|
3458
3458
|
const deserializeAws_json1_1RemoveTagsResponse = (output, context) => {
|
|
@@ -3460,8 +3460,8 @@ const deserializeAws_json1_1RemoveTagsResponse = (output, context) => {
|
|
|
3460
3460
|
};
|
|
3461
3461
|
const deserializeAws_json1_1Resource = (output, context) => {
|
|
3462
3462
|
return {
|
|
3463
|
-
ResourceName:
|
|
3464
|
-
ResourceType:
|
|
3463
|
+
ResourceName: smithy_client_1.expectString(output.ResourceName),
|
|
3464
|
+
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
3465
3465
|
};
|
|
3466
3466
|
};
|
|
3467
3467
|
const deserializeAws_json1_1ResourceList = (output, context) => {
|
|
@@ -3476,12 +3476,12 @@ const deserializeAws_json1_1ResourceList = (output, context) => {
|
|
|
3476
3476
|
};
|
|
3477
3477
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
3478
3478
|
return {
|
|
3479
|
-
Message:
|
|
3479
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3480
3480
|
};
|
|
3481
3481
|
};
|
|
3482
3482
|
const deserializeAws_json1_1ResourceTag = (output, context) => {
|
|
3483
3483
|
return {
|
|
3484
|
-
ResourceId:
|
|
3484
|
+
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
3485
3485
|
TagsList: output.TagsList !== undefined && output.TagsList !== null
|
|
3486
3486
|
? deserializeAws_json1_1TagsList(output.TagsList, context)
|
|
3487
3487
|
: undefined,
|
|
@@ -3499,12 +3499,12 @@ const deserializeAws_json1_1ResourceTagList = (output, context) => {
|
|
|
3499
3499
|
};
|
|
3500
3500
|
const deserializeAws_json1_1ResourceTypeNotSupportedException = (output, context) => {
|
|
3501
3501
|
return {
|
|
3502
|
-
Message:
|
|
3502
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3503
3503
|
};
|
|
3504
3504
|
};
|
|
3505
3505
|
const deserializeAws_json1_1S3BucketDoesNotExistException = (output, context) => {
|
|
3506
3506
|
return {
|
|
3507
|
-
Message:
|
|
3507
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3508
3508
|
};
|
|
3509
3509
|
};
|
|
3510
3510
|
const deserializeAws_json1_1StartLoggingResponse = (output, context) => {
|
|
@@ -3515,13 +3515,13 @@ const deserializeAws_json1_1StopLoggingResponse = (output, context) => {
|
|
|
3515
3515
|
};
|
|
3516
3516
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
3517
3517
|
return {
|
|
3518
|
-
Key:
|
|
3519
|
-
Value:
|
|
3518
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
3519
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
3520
3520
|
};
|
|
3521
3521
|
};
|
|
3522
3522
|
const deserializeAws_json1_1TagsLimitExceededException = (output, context) => {
|
|
3523
3523
|
return {
|
|
3524
|
-
Message:
|
|
3524
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3525
3525
|
};
|
|
3526
3526
|
};
|
|
3527
3527
|
const deserializeAws_json1_1TagsList = (output, context) => {
|
|
@@ -3536,34 +3536,34 @@ const deserializeAws_json1_1TagsList = (output, context) => {
|
|
|
3536
3536
|
};
|
|
3537
3537
|
const deserializeAws_json1_1Trail = (output, context) => {
|
|
3538
3538
|
return {
|
|
3539
|
-
CloudWatchLogsLogGroupArn:
|
|
3540
|
-
CloudWatchLogsRoleArn:
|
|
3541
|
-
HasCustomEventSelectors:
|
|
3542
|
-
HasInsightSelectors:
|
|
3543
|
-
HomeRegion:
|
|
3544
|
-
IncludeGlobalServiceEvents:
|
|
3545
|
-
IsMultiRegionTrail:
|
|
3546
|
-
IsOrganizationTrail:
|
|
3547
|
-
KmsKeyId:
|
|
3548
|
-
LogFileValidationEnabled:
|
|
3549
|
-
Name:
|
|
3550
|
-
S3BucketName:
|
|
3551
|
-
S3KeyPrefix:
|
|
3552
|
-
SnsTopicARN:
|
|
3553
|
-
SnsTopicName:
|
|
3554
|
-
TrailARN:
|
|
3539
|
+
CloudWatchLogsLogGroupArn: smithy_client_1.expectString(output.CloudWatchLogsLogGroupArn),
|
|
3540
|
+
CloudWatchLogsRoleArn: smithy_client_1.expectString(output.CloudWatchLogsRoleArn),
|
|
3541
|
+
HasCustomEventSelectors: smithy_client_1.expectBoolean(output.HasCustomEventSelectors),
|
|
3542
|
+
HasInsightSelectors: smithy_client_1.expectBoolean(output.HasInsightSelectors),
|
|
3543
|
+
HomeRegion: smithy_client_1.expectString(output.HomeRegion),
|
|
3544
|
+
IncludeGlobalServiceEvents: smithy_client_1.expectBoolean(output.IncludeGlobalServiceEvents),
|
|
3545
|
+
IsMultiRegionTrail: smithy_client_1.expectBoolean(output.IsMultiRegionTrail),
|
|
3546
|
+
IsOrganizationTrail: smithy_client_1.expectBoolean(output.IsOrganizationTrail),
|
|
3547
|
+
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
3548
|
+
LogFileValidationEnabled: smithy_client_1.expectBoolean(output.LogFileValidationEnabled),
|
|
3549
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3550
|
+
S3BucketName: smithy_client_1.expectString(output.S3BucketName),
|
|
3551
|
+
S3KeyPrefix: smithy_client_1.expectString(output.S3KeyPrefix),
|
|
3552
|
+
SnsTopicARN: smithy_client_1.expectString(output.SnsTopicARN),
|
|
3553
|
+
SnsTopicName: smithy_client_1.expectString(output.SnsTopicName),
|
|
3554
|
+
TrailARN: smithy_client_1.expectString(output.TrailARN),
|
|
3555
3555
|
};
|
|
3556
3556
|
};
|
|
3557
3557
|
const deserializeAws_json1_1TrailAlreadyExistsException = (output, context) => {
|
|
3558
3558
|
return {
|
|
3559
|
-
Message:
|
|
3559
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3560
3560
|
};
|
|
3561
3561
|
};
|
|
3562
3562
|
const deserializeAws_json1_1TrailInfo = (output, context) => {
|
|
3563
3563
|
return {
|
|
3564
|
-
HomeRegion:
|
|
3565
|
-
Name:
|
|
3566
|
-
TrailARN:
|
|
3564
|
+
HomeRegion: smithy_client_1.expectString(output.HomeRegion),
|
|
3565
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3566
|
+
TrailARN: smithy_client_1.expectString(output.TrailARN),
|
|
3567
3567
|
};
|
|
3568
3568
|
};
|
|
3569
3569
|
const deserializeAws_json1_1TrailList = (output, context) => {
|
|
@@ -3578,12 +3578,12 @@ const deserializeAws_json1_1TrailList = (output, context) => {
|
|
|
3578
3578
|
};
|
|
3579
3579
|
const deserializeAws_json1_1TrailNotFoundException = (output, context) => {
|
|
3580
3580
|
return {
|
|
3581
|
-
Message:
|
|
3581
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3582
3582
|
};
|
|
3583
3583
|
};
|
|
3584
3584
|
const deserializeAws_json1_1TrailNotProvidedException = (output, context) => {
|
|
3585
3585
|
return {
|
|
3586
|
-
Message:
|
|
3586
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3587
3587
|
};
|
|
3588
3588
|
};
|
|
3589
3589
|
const deserializeAws_json1_1Trails = (output, context) => {
|
|
@@ -3598,24 +3598,24 @@ const deserializeAws_json1_1Trails = (output, context) => {
|
|
|
3598
3598
|
};
|
|
3599
3599
|
const deserializeAws_json1_1UnsupportedOperationException = (output, context) => {
|
|
3600
3600
|
return {
|
|
3601
|
-
Message:
|
|
3601
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3602
3602
|
};
|
|
3603
3603
|
};
|
|
3604
3604
|
const deserializeAws_json1_1UpdateTrailResponse = (output, context) => {
|
|
3605
3605
|
return {
|
|
3606
|
-
CloudWatchLogsLogGroupArn:
|
|
3607
|
-
CloudWatchLogsRoleArn:
|
|
3608
|
-
IncludeGlobalServiceEvents:
|
|
3609
|
-
IsMultiRegionTrail:
|
|
3610
|
-
IsOrganizationTrail:
|
|
3611
|
-
KmsKeyId:
|
|
3612
|
-
LogFileValidationEnabled:
|
|
3613
|
-
Name:
|
|
3614
|
-
S3BucketName:
|
|
3615
|
-
S3KeyPrefix:
|
|
3616
|
-
SnsTopicARN:
|
|
3617
|
-
SnsTopicName:
|
|
3618
|
-
TrailARN:
|
|
3606
|
+
CloudWatchLogsLogGroupArn: smithy_client_1.expectString(output.CloudWatchLogsLogGroupArn),
|
|
3607
|
+
CloudWatchLogsRoleArn: smithy_client_1.expectString(output.CloudWatchLogsRoleArn),
|
|
3608
|
+
IncludeGlobalServiceEvents: smithy_client_1.expectBoolean(output.IncludeGlobalServiceEvents),
|
|
3609
|
+
IsMultiRegionTrail: smithy_client_1.expectBoolean(output.IsMultiRegionTrail),
|
|
3610
|
+
IsOrganizationTrail: smithy_client_1.expectBoolean(output.IsOrganizationTrail),
|
|
3611
|
+
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
3612
|
+
LogFileValidationEnabled: smithy_client_1.expectBoolean(output.LogFileValidationEnabled),
|
|
3613
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
3614
|
+
S3BucketName: smithy_client_1.expectString(output.S3BucketName),
|
|
3615
|
+
S3KeyPrefix: smithy_client_1.expectString(output.S3KeyPrefix),
|
|
3616
|
+
SnsTopicARN: smithy_client_1.expectString(output.SnsTopicARN),
|
|
3617
|
+
SnsTopicName: smithy_client_1.expectString(output.SnsTopicName),
|
|
3618
|
+
TrailARN: smithy_client_1.expectString(output.TrailARN),
|
|
3619
3619
|
};
|
|
3620
3620
|
};
|
|
3621
3621
|
const deserializeMetadata = (output) => {
|