@aws-sdk/client-macie2 3.261.0 → 3.264.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.
@@ -2575,7 +2575,7 @@ const deserializeAws_restJson1DescribeClassificationJobCommand = async (output,
2575
2575
  contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
2576
2576
  }
2577
2577
  if (data.createdAt != null) {
2578
- contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdAt));
2578
+ contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.createdAt));
2579
2579
  }
2580
2580
  if (data.customDataIdentifierIds != null) {
2581
2581
  contents.customDataIdentifierIds = deserializeAws_restJson1__listOf__string(data.customDataIdentifierIds, context);
@@ -2602,7 +2602,7 @@ const deserializeAws_restJson1DescribeClassificationJobCommand = async (output,
2602
2602
  contents.lastRunErrorStatus = deserializeAws_restJson1LastRunErrorStatus(data.lastRunErrorStatus, context);
2603
2603
  }
2604
2604
  if (data.lastRunTime != null) {
2605
- contents.lastRunTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastRunTime));
2605
+ contents.lastRunTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastRunTime));
2606
2606
  }
2607
2607
  if (data.managedDataIdentifierIds != null) {
2608
2608
  contents.managedDataIdentifierIds = deserializeAws_restJson1__listOf__string(data.managedDataIdentifierIds, context);
@@ -3134,7 +3134,7 @@ const deserializeAws_restJson1GetAllowListCommand = async (output, context) => {
3134
3134
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
3135
3135
  }
3136
3136
  if (data.createdAt != null) {
3137
- contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdAt));
3137
+ contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.createdAt));
3138
3138
  }
3139
3139
  if (data.criteria != null) {
3140
3140
  contents.criteria = deserializeAws_restJson1AllowListCriteria(data.criteria, context);
@@ -3155,7 +3155,7 @@ const deserializeAws_restJson1GetAllowListCommand = async (output, context) => {
3155
3155
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3156
3156
  }
3157
3157
  if (data.updatedAt != null) {
3158
- contents.updatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.updatedAt));
3158
+ contents.updatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.updatedAt));
3159
3159
  }
3160
3160
  return contents;
3161
3161
  };
@@ -3204,13 +3204,13 @@ const deserializeAws_restJson1GetAutomatedDiscoveryConfigurationCommand = async
3204
3204
  contents.classificationScopeId = (0, smithy_client_1.expectString)(data.classificationScopeId);
3205
3205
  }
3206
3206
  if (data.disabledAt != null) {
3207
- contents.disabledAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.disabledAt));
3207
+ contents.disabledAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.disabledAt));
3208
3208
  }
3209
3209
  if (data.firstEnabledAt != null) {
3210
- contents.firstEnabledAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.firstEnabledAt));
3210
+ contents.firstEnabledAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.firstEnabledAt));
3211
3211
  }
3212
3212
  if (data.lastUpdatedAt != null) {
3213
- contents.lastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastUpdatedAt));
3213
+ contents.lastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastUpdatedAt));
3214
3214
  }
3215
3215
  if (data.sensitivityInspectionTemplateId != null) {
3216
3216
  contents.sensitivityInspectionTemplateId = (0, smithy_client_1.expectString)(data.sensitivityInspectionTemplateId);
@@ -3284,7 +3284,7 @@ const deserializeAws_restJson1GetBucketStatisticsCommand = async (output, contex
3284
3284
  contents.classifiableSizeInBytes = (0, smithy_client_1.expectLong)(data.classifiableSizeInBytes);
3285
3285
  }
3286
3286
  if (data.lastUpdated != null) {
3287
- contents.lastUpdated = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastUpdated));
3287
+ contents.lastUpdated = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastUpdated));
3288
3288
  }
3289
3289
  if (data.objectCount != null) {
3290
3290
  contents.objectCount = (0, smithy_client_1.expectLong)(data.objectCount);
@@ -3458,7 +3458,7 @@ const deserializeAws_restJson1GetCustomDataIdentifierCommand = async (output, co
3458
3458
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
3459
3459
  }
3460
3460
  if (data.createdAt != null) {
3461
- contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdAt));
3461
+ contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.createdAt));
3462
3462
  }
3463
3463
  if (data.deleted != null) {
3464
3464
  contents.deleted = (0, smithy_client_1.expectBoolean)(data.deleted);
@@ -3821,7 +3821,7 @@ const deserializeAws_restJson1GetMacieSessionCommand = async (output, context) =
3821
3821
  });
3822
3822
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3823
3823
  if (data.createdAt != null) {
3824
- contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdAt));
3824
+ contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.createdAt));
3825
3825
  }
3826
3826
  if (data.findingPublishingFrequency != null) {
3827
3827
  contents.findingPublishingFrequency = (0, smithy_client_1.expectString)(data.findingPublishingFrequency);
@@ -3833,7 +3833,7 @@ const deserializeAws_restJson1GetMacieSessionCommand = async (output, context) =
3833
3833
  contents.status = (0, smithy_client_1.expectString)(data.status);
3834
3834
  }
3835
3835
  if (data.updatedAt != null) {
3836
- contents.updatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.updatedAt));
3836
+ contents.updatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.updatedAt));
3837
3837
  }
3838
3838
  return contents;
3839
3839
  };
@@ -3949,7 +3949,7 @@ const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
3949
3949
  contents.email = (0, smithy_client_1.expectString)(data.email);
3950
3950
  }
3951
3951
  if (data.invitedAt != null) {
3952
- contents.invitedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.invitedAt));
3952
+ contents.invitedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.invitedAt));
3953
3953
  }
3954
3954
  if (data.masterAccountId != null) {
3955
3955
  contents.masterAccountId = (0, smithy_client_1.expectString)(data.masterAccountId);
@@ -3961,7 +3961,7 @@ const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
3961
3961
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3962
3962
  }
3963
3963
  if (data.updatedAt != null) {
3964
- contents.updatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.updatedAt));
3964
+ contents.updatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.updatedAt));
3965
3965
  }
3966
3966
  return contents;
3967
3967
  };
@@ -4013,7 +4013,7 @@ const deserializeAws_restJson1GetResourceProfileCommand = async (output, context
4013
4013
  });
4014
4014
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4015
4015
  if (data.profileUpdatedAt != null) {
4016
- contents.profileUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.profileUpdatedAt));
4016
+ contents.profileUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.profileUpdatedAt));
4017
4017
  }
4018
4018
  if (data.sensitivityScore != null) {
4019
4019
  contents.sensitivityScore = (0, smithy_client_1.expectInt32)(data.sensitivityScore);
@@ -6834,19 +6834,19 @@ const deserializeAws_restJson1AllowListStatus = (output, context) => {
6834
6834
  const deserializeAws_restJson1AllowListSummary = (output, context) => {
6835
6835
  return {
6836
6836
  arn: (0, smithy_client_1.expectString)(output.arn),
6837
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
6837
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
6838
6838
  description: (0, smithy_client_1.expectString)(output.description),
6839
6839
  id: (0, smithy_client_1.expectString)(output.id),
6840
6840
  name: (0, smithy_client_1.expectString)(output.name),
6841
- updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt)) : undefined,
6841
+ updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
6842
6842
  };
6843
6843
  };
6844
6844
  const deserializeAws_restJson1ApiCallDetails = (output, context) => {
6845
6845
  return {
6846
6846
  api: (0, smithy_client_1.expectString)(output.api),
6847
6847
  apiServiceName: (0, smithy_client_1.expectString)(output.apiServiceName),
6848
- firstSeen: output.firstSeen != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.firstSeen)) : undefined,
6849
- lastSeen: output.lastSeen != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastSeen)) : undefined,
6848
+ firstSeen: output.firstSeen != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.firstSeen)) : undefined,
6849
+ lastSeen: output.lastSeen != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastSeen)) : undefined,
6850
6850
  };
6851
6851
  };
6852
6852
  const deserializeAws_restJson1AssumedRole = (output, context) => {
@@ -6874,7 +6874,7 @@ const deserializeAws_restJson1AwsService = (output, context) => {
6874
6874
  const deserializeAws_restJson1BatchGetCustomDataIdentifierSummary = (output, context) => {
6875
6875
  return {
6876
6876
  arn: (0, smithy_client_1.expectString)(output.arn),
6877
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
6877
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
6878
6878
  deleted: (0, smithy_client_1.expectBoolean)(output.deleted),
6879
6879
  description: (0, smithy_client_1.expectString)(output.description),
6880
6880
  id: (0, smithy_client_1.expectString)(output.id),
@@ -6936,7 +6936,9 @@ const deserializeAws_restJson1BucketMetadata = (output, context) => {
6936
6936
  accountId: (0, smithy_client_1.expectString)(output.accountId),
6937
6937
  allowsUnencryptedObjectUploads: (0, smithy_client_1.expectString)(output.allowsUnencryptedObjectUploads),
6938
6938
  bucketArn: (0, smithy_client_1.expectString)(output.bucketArn),
6939
- bucketCreatedAt: output.bucketCreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.bucketCreatedAt)) : undefined,
6939
+ bucketCreatedAt: output.bucketCreatedAt != null
6940
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.bucketCreatedAt))
6941
+ : undefined,
6940
6942
  bucketName: (0, smithy_client_1.expectString)(output.bucketName),
6941
6943
  classifiableObjectCount: (0, smithy_client_1.expectLong)(output.classifiableObjectCount),
6942
6944
  classifiableSizeInBytes: (0, smithy_client_1.expectLong)(output.classifiableSizeInBytes),
@@ -6944,9 +6946,9 @@ const deserializeAws_restJson1BucketMetadata = (output, context) => {
6944
6946
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
6945
6947
  jobDetails: output.jobDetails != null ? deserializeAws_restJson1JobDetails(output.jobDetails, context) : undefined,
6946
6948
  lastAutomatedDiscoveryTime: output.lastAutomatedDiscoveryTime != null
6947
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastAutomatedDiscoveryTime))
6949
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastAutomatedDiscoveryTime))
6948
6950
  : undefined,
6949
- lastUpdated: output.lastUpdated != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdated)) : undefined,
6951
+ lastUpdated: output.lastUpdated != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdated)) : undefined,
6950
6952
  objectCount: (0, smithy_client_1.expectLong)(output.objectCount),
6951
6953
  objectCountByEncryptionType: output.objectCountByEncryptionType != null
6952
6954
  ? deserializeAws_restJson1ObjectCountByEncryptionType(output.objectCountByEncryptionType, context)
@@ -7120,7 +7122,7 @@ const deserializeAws_restJson1CustomDataIdentifiers = (output, context) => {
7120
7122
  const deserializeAws_restJson1CustomDataIdentifierSummary = (output, context) => {
7121
7123
  return {
7122
7124
  arn: (0, smithy_client_1.expectString)(output.arn),
7123
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
7125
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
7124
7126
  description: (0, smithy_client_1.expectString)(output.description),
7125
7127
  id: (0, smithy_client_1.expectString)(output.id),
7126
7128
  name: (0, smithy_client_1.expectString)(output.name),
@@ -7206,7 +7208,7 @@ const deserializeAws_restJson1Finding = (output, context) => {
7206
7208
  ? deserializeAws_restJson1ClassificationDetails(output.classificationDetails, context)
7207
7209
  : undefined,
7208
7210
  count: (0, smithy_client_1.expectLong)(output.count),
7209
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
7211
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
7210
7212
  description: (0, smithy_client_1.expectString)(output.description),
7211
7213
  id: (0, smithy_client_1.expectString)(output.id),
7212
7214
  partition: (0, smithy_client_1.expectString)(output.partition),
@@ -7220,7 +7222,7 @@ const deserializeAws_restJson1Finding = (output, context) => {
7220
7222
  severity: output.severity != null ? deserializeAws_restJson1Severity(output.severity, context) : undefined,
7221
7223
  title: (0, smithy_client_1.expectString)(output.title),
7222
7224
  type: (0, smithy_client_1.expectString)(output.type),
7223
- updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt)) : undefined,
7225
+ updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
7224
7226
  };
7225
7227
  };
7226
7228
  const deserializeAws_restJson1FindingAction = (output, context) => {
@@ -7272,7 +7274,7 @@ const deserializeAws_restJson1Invitation = (output, context) => {
7272
7274
  return {
7273
7275
  accountId: (0, smithy_client_1.expectString)(output.accountId),
7274
7276
  invitationId: (0, smithy_client_1.expectString)(output.invitationId),
7275
- invitedAt: output.invitedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.invitedAt)) : undefined,
7277
+ invitedAt: output.invitedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.invitedAt)) : undefined,
7276
7278
  relationshipStatus: (0, smithy_client_1.expectString)(output.relationshipStatus),
7277
7279
  };
7278
7280
  };
@@ -7315,7 +7317,9 @@ const deserializeAws_restJson1JobDetails = (output, context) => {
7315
7317
  isDefinedInJob: (0, smithy_client_1.expectString)(output.isDefinedInJob),
7316
7318
  isMonitoredByJob: (0, smithy_client_1.expectString)(output.isMonitoredByJob),
7317
7319
  lastJobId: (0, smithy_client_1.expectString)(output.lastJobId),
7318
- lastJobRunTime: output.lastJobRunTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastJobRunTime)) : undefined,
7320
+ lastJobRunTime: output.lastJobRunTime != null
7321
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastJobRunTime))
7322
+ : undefined,
7319
7323
  };
7320
7324
  };
7321
7325
  const deserializeAws_restJson1JobScheduleFrequency = (output, context) => {
@@ -7350,7 +7354,7 @@ const deserializeAws_restJson1JobSummary = (output, context) => {
7350
7354
  bucketDefinitions: output.bucketDefinitions != null
7351
7355
  ? deserializeAws_restJson1__listOfS3BucketDefinitionForJob(output.bucketDefinitions, context)
7352
7356
  : undefined,
7353
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
7357
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
7354
7358
  jobId: (0, smithy_client_1.expectString)(output.jobId),
7355
7359
  jobStatus: (0, smithy_client_1.expectString)(output.jobStatus),
7356
7360
  jobType: (0, smithy_client_1.expectString)(output.jobType),
@@ -7401,7 +7405,7 @@ const deserializeAws_restJson1MatchingBucket = (output, context) => {
7401
7405
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
7402
7406
  jobDetails: output.jobDetails != null ? deserializeAws_restJson1JobDetails(output.jobDetails, context) : undefined,
7403
7407
  lastAutomatedDiscoveryTime: output.lastAutomatedDiscoveryTime != null
7404
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastAutomatedDiscoveryTime))
7408
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastAutomatedDiscoveryTime))
7405
7409
  : undefined,
7406
7410
  objectCount: (0, smithy_client_1.expectLong)(output.objectCount),
7407
7411
  objectCountByEncryptionType: output.objectCountByEncryptionType != null
@@ -7431,11 +7435,11 @@ const deserializeAws_restJson1Member = (output, context) => {
7431
7435
  administratorAccountId: (0, smithy_client_1.expectString)(output.administratorAccountId),
7432
7436
  arn: (0, smithy_client_1.expectString)(output.arn),
7433
7437
  email: (0, smithy_client_1.expectString)(output.email),
7434
- invitedAt: output.invitedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.invitedAt)) : undefined,
7438
+ invitedAt: output.invitedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.invitedAt)) : undefined,
7435
7439
  masterAccountId: (0, smithy_client_1.expectString)(output.masterAccountId),
7436
7440
  relationshipStatus: (0, smithy_client_1.expectString)(output.relationshipStatus),
7437
7441
  tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
7438
- updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt)) : undefined,
7442
+ updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.updatedAt)) : undefined,
7439
7443
  };
7440
7444
  };
7441
7445
  const deserializeAws_restJson1MonthlySchedule = (output, context) => {
@@ -7572,7 +7576,7 @@ const deserializeAws_restJson1S3Bucket = (output, context) => {
7572
7576
  return {
7573
7577
  allowsUnencryptedObjectUploads: (0, smithy_client_1.expectString)(output.allowsUnencryptedObjectUploads),
7574
7578
  arn: (0, smithy_client_1.expectString)(output.arn),
7575
- createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
7579
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
7576
7580
  defaultServerSideEncryption: output.defaultServerSideEncryption != null
7577
7581
  ? deserializeAws_restJson1ServerSideEncryption(output.defaultServerSideEncryption, context)
7578
7582
  : undefined,
@@ -7640,7 +7644,7 @@ const deserializeAws_restJson1S3Object = (output, context) => {
7640
7644
  eTag: (0, smithy_client_1.expectString)(output.eTag),
7641
7645
  extension: (0, smithy_client_1.expectString)(output.extension),
7642
7646
  key: (0, smithy_client_1.expectString)(output.key),
7643
- lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastModified)) : undefined,
7647
+ lastModified: output.lastModified != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastModified)) : undefined,
7644
7648
  path: (0, smithy_client_1.expectString)(output.path),
7645
7649
  publicAccess: (0, smithy_client_1.expectBoolean)(output.publicAccess),
7646
7650
  serverSideEncryption: output.serverSideEncryption != null
@@ -7752,7 +7756,7 @@ const deserializeAws_restJson1SessionContext = (output, context) => {
7752
7756
  };
7753
7757
  const deserializeAws_restJson1SessionContextAttributes = (output, context) => {
7754
7758
  return {
7755
- creationDate: output.creationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationDate)) : undefined,
7759
+ creationDate: output.creationDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationDate)) : undefined,
7756
7760
  mfaAuthenticated: (0, smithy_client_1.expectBoolean)(output.mfaAuthenticated),
7757
7761
  };
7758
7762
  };
@@ -7864,10 +7868,10 @@ const deserializeAws_restJson1UsageRecord = (output, context) => {
7864
7868
  return {
7865
7869
  accountId: (0, smithy_client_1.expectString)(output.accountId),
7866
7870
  automatedDiscoveryFreeTrialStartDate: output.automatedDiscoveryFreeTrialStartDate != null
7867
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.automatedDiscoveryFreeTrialStartDate))
7871
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.automatedDiscoveryFreeTrialStartDate))
7868
7872
  : undefined,
7869
7873
  freeTrialStartDate: output.freeTrialStartDate != null
7870
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.freeTrialStartDate))
7874
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.freeTrialStartDate))
7871
7875
  : undefined,
7872
7876
  usage: output.usage != null ? deserializeAws_restJson1__listOfUsageByAccount(output.usage, context) : undefined,
7873
7877
  };
@@ -7899,9 +7903,9 @@ const deserializeAws_restJson1UserIdentityRoot = (output, context) => {
7899
7903
  };
7900
7904
  const deserializeAws_restJson1UserPausedDetails = (output, context) => {
7901
7905
  return {
7902
- jobExpiresAt: output.jobExpiresAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.jobExpiresAt)) : undefined,
7906
+ jobExpiresAt: output.jobExpiresAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.jobExpiresAt)) : undefined,
7903
7907
  jobImminentExpirationHealthEventArn: (0, smithy_client_1.expectString)(output.jobImminentExpirationHealthEventArn),
7904
- jobPausedAt: output.jobPausedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.jobPausedAt)) : undefined,
7908
+ jobPausedAt: output.jobPausedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.jobPausedAt)) : undefined,
7905
7909
  };
7906
7910
  };
7907
7911
  const deserializeAws_restJson1WeeklySchedule = (output, context) => {
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { Macie2ServiceException as __BaseException } from "../models/Macie2ServiceException";
5
5
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnprocessableEntityException, ValidationException, } from "../models/models_0";
@@ -2474,7 +2474,7 @@ export const deserializeAws_restJson1DescribeClassificationJobCommand = async (o
2474
2474
  contents.clientToken = __expectString(data.clientToken);
2475
2475
  }
2476
2476
  if (data.createdAt != null) {
2477
- contents.createdAt = __expectNonNull(__parseRfc3339DateTime(data.createdAt));
2477
+ contents.createdAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.createdAt));
2478
2478
  }
2479
2479
  if (data.customDataIdentifierIds != null) {
2480
2480
  contents.customDataIdentifierIds = deserializeAws_restJson1__listOf__string(data.customDataIdentifierIds, context);
@@ -2501,7 +2501,7 @@ export const deserializeAws_restJson1DescribeClassificationJobCommand = async (o
2501
2501
  contents.lastRunErrorStatus = deserializeAws_restJson1LastRunErrorStatus(data.lastRunErrorStatus, context);
2502
2502
  }
2503
2503
  if (data.lastRunTime != null) {
2504
- contents.lastRunTime = __expectNonNull(__parseRfc3339DateTime(data.lastRunTime));
2504
+ contents.lastRunTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastRunTime));
2505
2505
  }
2506
2506
  if (data.managedDataIdentifierIds != null) {
2507
2507
  contents.managedDataIdentifierIds = deserializeAws_restJson1__listOf__string(data.managedDataIdentifierIds, context);
@@ -3023,7 +3023,7 @@ export const deserializeAws_restJson1GetAllowListCommand = async (output, contex
3023
3023
  contents.arn = __expectString(data.arn);
3024
3024
  }
3025
3025
  if (data.createdAt != null) {
3026
- contents.createdAt = __expectNonNull(__parseRfc3339DateTime(data.createdAt));
3026
+ contents.createdAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.createdAt));
3027
3027
  }
3028
3028
  if (data.criteria != null) {
3029
3029
  contents.criteria = deserializeAws_restJson1AllowListCriteria(data.criteria, context);
@@ -3044,7 +3044,7 @@ export const deserializeAws_restJson1GetAllowListCommand = async (output, contex
3044
3044
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3045
3045
  }
3046
3046
  if (data.updatedAt != null) {
3047
- contents.updatedAt = __expectNonNull(__parseRfc3339DateTime(data.updatedAt));
3047
+ contents.updatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.updatedAt));
3048
3048
  }
3049
3049
  return contents;
3050
3050
  };
@@ -3092,13 +3092,13 @@ export const deserializeAws_restJson1GetAutomatedDiscoveryConfigurationCommand =
3092
3092
  contents.classificationScopeId = __expectString(data.classificationScopeId);
3093
3093
  }
3094
3094
  if (data.disabledAt != null) {
3095
- contents.disabledAt = __expectNonNull(__parseRfc3339DateTime(data.disabledAt));
3095
+ contents.disabledAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.disabledAt));
3096
3096
  }
3097
3097
  if (data.firstEnabledAt != null) {
3098
- contents.firstEnabledAt = __expectNonNull(__parseRfc3339DateTime(data.firstEnabledAt));
3098
+ contents.firstEnabledAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.firstEnabledAt));
3099
3099
  }
3100
3100
  if (data.lastUpdatedAt != null) {
3101
- contents.lastUpdatedAt = __expectNonNull(__parseRfc3339DateTime(data.lastUpdatedAt));
3101
+ contents.lastUpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastUpdatedAt));
3102
3102
  }
3103
3103
  if (data.sensitivityInspectionTemplateId != null) {
3104
3104
  contents.sensitivityInspectionTemplateId = __expectString(data.sensitivityInspectionTemplateId);
@@ -3171,7 +3171,7 @@ export const deserializeAws_restJson1GetBucketStatisticsCommand = async (output,
3171
3171
  contents.classifiableSizeInBytes = __expectLong(data.classifiableSizeInBytes);
3172
3172
  }
3173
3173
  if (data.lastUpdated != null) {
3174
- contents.lastUpdated = __expectNonNull(__parseRfc3339DateTime(data.lastUpdated));
3174
+ contents.lastUpdated = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastUpdated));
3175
3175
  }
3176
3176
  if (data.objectCount != null) {
3177
3177
  contents.objectCount = __expectLong(data.objectCount);
@@ -3342,7 +3342,7 @@ export const deserializeAws_restJson1GetCustomDataIdentifierCommand = async (out
3342
3342
  contents.arn = __expectString(data.arn);
3343
3343
  }
3344
3344
  if (data.createdAt != null) {
3345
- contents.createdAt = __expectNonNull(__parseRfc3339DateTime(data.createdAt));
3345
+ contents.createdAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.createdAt));
3346
3346
  }
3347
3347
  if (data.deleted != null) {
3348
3348
  contents.deleted = __expectBoolean(data.deleted);
@@ -3699,7 +3699,7 @@ export const deserializeAws_restJson1GetMacieSessionCommand = async (output, con
3699
3699
  });
3700
3700
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3701
3701
  if (data.createdAt != null) {
3702
- contents.createdAt = __expectNonNull(__parseRfc3339DateTime(data.createdAt));
3702
+ contents.createdAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.createdAt));
3703
3703
  }
3704
3704
  if (data.findingPublishingFrequency != null) {
3705
3705
  contents.findingPublishingFrequency = __expectString(data.findingPublishingFrequency);
@@ -3711,7 +3711,7 @@ export const deserializeAws_restJson1GetMacieSessionCommand = async (output, con
3711
3711
  contents.status = __expectString(data.status);
3712
3712
  }
3713
3713
  if (data.updatedAt != null) {
3714
- contents.updatedAt = __expectNonNull(__parseRfc3339DateTime(data.updatedAt));
3714
+ contents.updatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.updatedAt));
3715
3715
  }
3716
3716
  return contents;
3717
3717
  };
@@ -3825,7 +3825,7 @@ export const deserializeAws_restJson1GetMemberCommand = async (output, context)
3825
3825
  contents.email = __expectString(data.email);
3826
3826
  }
3827
3827
  if (data.invitedAt != null) {
3828
- contents.invitedAt = __expectNonNull(__parseRfc3339DateTime(data.invitedAt));
3828
+ contents.invitedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.invitedAt));
3829
3829
  }
3830
3830
  if (data.masterAccountId != null) {
3831
3831
  contents.masterAccountId = __expectString(data.masterAccountId);
@@ -3837,7 +3837,7 @@ export const deserializeAws_restJson1GetMemberCommand = async (output, context)
3837
3837
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3838
3838
  }
3839
3839
  if (data.updatedAt != null) {
3840
- contents.updatedAt = __expectNonNull(__parseRfc3339DateTime(data.updatedAt));
3840
+ contents.updatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.updatedAt));
3841
3841
  }
3842
3842
  return contents;
3843
3843
  };
@@ -3888,7 +3888,7 @@ export const deserializeAws_restJson1GetResourceProfileCommand = async (output,
3888
3888
  });
3889
3889
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3890
3890
  if (data.profileUpdatedAt != null) {
3891
- contents.profileUpdatedAt = __expectNonNull(__parseRfc3339DateTime(data.profileUpdatedAt));
3891
+ contents.profileUpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.profileUpdatedAt));
3892
3892
  }
3893
3893
  if (data.sensitivityScore != null) {
3894
3894
  contents.sensitivityScore = __expectInt32(data.sensitivityScore);
@@ -6670,19 +6670,19 @@ const deserializeAws_restJson1AllowListStatus = (output, context) => {
6670
6670
  const deserializeAws_restJson1AllowListSummary = (output, context) => {
6671
6671
  return {
6672
6672
  arn: __expectString(output.arn),
6673
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
6673
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
6674
6674
  description: __expectString(output.description),
6675
6675
  id: __expectString(output.id),
6676
6676
  name: __expectString(output.name),
6677
- updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.updatedAt)) : undefined,
6677
+ updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
6678
6678
  };
6679
6679
  };
6680
6680
  const deserializeAws_restJson1ApiCallDetails = (output, context) => {
6681
6681
  return {
6682
6682
  api: __expectString(output.api),
6683
6683
  apiServiceName: __expectString(output.apiServiceName),
6684
- firstSeen: output.firstSeen != null ? __expectNonNull(__parseRfc3339DateTime(output.firstSeen)) : undefined,
6685
- lastSeen: output.lastSeen != null ? __expectNonNull(__parseRfc3339DateTime(output.lastSeen)) : undefined,
6684
+ firstSeen: output.firstSeen != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.firstSeen)) : undefined,
6685
+ lastSeen: output.lastSeen != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastSeen)) : undefined,
6686
6686
  };
6687
6687
  };
6688
6688
  const deserializeAws_restJson1AssumedRole = (output, context) => {
@@ -6710,7 +6710,7 @@ const deserializeAws_restJson1AwsService = (output, context) => {
6710
6710
  const deserializeAws_restJson1BatchGetCustomDataIdentifierSummary = (output, context) => {
6711
6711
  return {
6712
6712
  arn: __expectString(output.arn),
6713
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
6713
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
6714
6714
  deleted: __expectBoolean(output.deleted),
6715
6715
  description: __expectString(output.description),
6716
6716
  id: __expectString(output.id),
@@ -6772,7 +6772,9 @@ const deserializeAws_restJson1BucketMetadata = (output, context) => {
6772
6772
  accountId: __expectString(output.accountId),
6773
6773
  allowsUnencryptedObjectUploads: __expectString(output.allowsUnencryptedObjectUploads),
6774
6774
  bucketArn: __expectString(output.bucketArn),
6775
- bucketCreatedAt: output.bucketCreatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.bucketCreatedAt)) : undefined,
6775
+ bucketCreatedAt: output.bucketCreatedAt != null
6776
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.bucketCreatedAt))
6777
+ : undefined,
6776
6778
  bucketName: __expectString(output.bucketName),
6777
6779
  classifiableObjectCount: __expectLong(output.classifiableObjectCount),
6778
6780
  classifiableSizeInBytes: __expectLong(output.classifiableSizeInBytes),
@@ -6780,9 +6782,9 @@ const deserializeAws_restJson1BucketMetadata = (output, context) => {
6780
6782
  errorMessage: __expectString(output.errorMessage),
6781
6783
  jobDetails: output.jobDetails != null ? deserializeAws_restJson1JobDetails(output.jobDetails, context) : undefined,
6782
6784
  lastAutomatedDiscoveryTime: output.lastAutomatedDiscoveryTime != null
6783
- ? __expectNonNull(__parseRfc3339DateTime(output.lastAutomatedDiscoveryTime))
6785
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastAutomatedDiscoveryTime))
6784
6786
  : undefined,
6785
- lastUpdated: output.lastUpdated != null ? __expectNonNull(__parseRfc3339DateTime(output.lastUpdated)) : undefined,
6787
+ lastUpdated: output.lastUpdated != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastUpdated)) : undefined,
6786
6788
  objectCount: __expectLong(output.objectCount),
6787
6789
  objectCountByEncryptionType: output.objectCountByEncryptionType != null
6788
6790
  ? deserializeAws_restJson1ObjectCountByEncryptionType(output.objectCountByEncryptionType, context)
@@ -6956,7 +6958,7 @@ const deserializeAws_restJson1CustomDataIdentifiers = (output, context) => {
6956
6958
  const deserializeAws_restJson1CustomDataIdentifierSummary = (output, context) => {
6957
6959
  return {
6958
6960
  arn: __expectString(output.arn),
6959
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
6961
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
6960
6962
  description: __expectString(output.description),
6961
6963
  id: __expectString(output.id),
6962
6964
  name: __expectString(output.name),
@@ -7042,7 +7044,7 @@ const deserializeAws_restJson1Finding = (output, context) => {
7042
7044
  ? deserializeAws_restJson1ClassificationDetails(output.classificationDetails, context)
7043
7045
  : undefined,
7044
7046
  count: __expectLong(output.count),
7045
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
7047
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
7046
7048
  description: __expectString(output.description),
7047
7049
  id: __expectString(output.id),
7048
7050
  partition: __expectString(output.partition),
@@ -7056,7 +7058,7 @@ const deserializeAws_restJson1Finding = (output, context) => {
7056
7058
  severity: output.severity != null ? deserializeAws_restJson1Severity(output.severity, context) : undefined,
7057
7059
  title: __expectString(output.title),
7058
7060
  type: __expectString(output.type),
7059
- updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.updatedAt)) : undefined,
7061
+ updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
7060
7062
  };
7061
7063
  };
7062
7064
  const deserializeAws_restJson1FindingAction = (output, context) => {
@@ -7108,7 +7110,7 @@ const deserializeAws_restJson1Invitation = (output, context) => {
7108
7110
  return {
7109
7111
  accountId: __expectString(output.accountId),
7110
7112
  invitationId: __expectString(output.invitationId),
7111
- invitedAt: output.invitedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.invitedAt)) : undefined,
7113
+ invitedAt: output.invitedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.invitedAt)) : undefined,
7112
7114
  relationshipStatus: __expectString(output.relationshipStatus),
7113
7115
  };
7114
7116
  };
@@ -7151,7 +7153,9 @@ const deserializeAws_restJson1JobDetails = (output, context) => {
7151
7153
  isDefinedInJob: __expectString(output.isDefinedInJob),
7152
7154
  isMonitoredByJob: __expectString(output.isMonitoredByJob),
7153
7155
  lastJobId: __expectString(output.lastJobId),
7154
- lastJobRunTime: output.lastJobRunTime != null ? __expectNonNull(__parseRfc3339DateTime(output.lastJobRunTime)) : undefined,
7156
+ lastJobRunTime: output.lastJobRunTime != null
7157
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastJobRunTime))
7158
+ : undefined,
7155
7159
  };
7156
7160
  };
7157
7161
  const deserializeAws_restJson1JobScheduleFrequency = (output, context) => {
@@ -7186,7 +7190,7 @@ const deserializeAws_restJson1JobSummary = (output, context) => {
7186
7190
  bucketDefinitions: output.bucketDefinitions != null
7187
7191
  ? deserializeAws_restJson1__listOfS3BucketDefinitionForJob(output.bucketDefinitions, context)
7188
7192
  : undefined,
7189
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
7193
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
7190
7194
  jobId: __expectString(output.jobId),
7191
7195
  jobStatus: __expectString(output.jobStatus),
7192
7196
  jobType: __expectString(output.jobType),
@@ -7237,7 +7241,7 @@ const deserializeAws_restJson1MatchingBucket = (output, context) => {
7237
7241
  errorMessage: __expectString(output.errorMessage),
7238
7242
  jobDetails: output.jobDetails != null ? deserializeAws_restJson1JobDetails(output.jobDetails, context) : undefined,
7239
7243
  lastAutomatedDiscoveryTime: output.lastAutomatedDiscoveryTime != null
7240
- ? __expectNonNull(__parseRfc3339DateTime(output.lastAutomatedDiscoveryTime))
7244
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastAutomatedDiscoveryTime))
7241
7245
  : undefined,
7242
7246
  objectCount: __expectLong(output.objectCount),
7243
7247
  objectCountByEncryptionType: output.objectCountByEncryptionType != null
@@ -7267,11 +7271,11 @@ const deserializeAws_restJson1Member = (output, context) => {
7267
7271
  administratorAccountId: __expectString(output.administratorAccountId),
7268
7272
  arn: __expectString(output.arn),
7269
7273
  email: __expectString(output.email),
7270
- invitedAt: output.invitedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.invitedAt)) : undefined,
7274
+ invitedAt: output.invitedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.invitedAt)) : undefined,
7271
7275
  masterAccountId: __expectString(output.masterAccountId),
7272
7276
  relationshipStatus: __expectString(output.relationshipStatus),
7273
7277
  tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
7274
- updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.updatedAt)) : undefined,
7278
+ updatedAt: output.updatedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.updatedAt)) : undefined,
7275
7279
  };
7276
7280
  };
7277
7281
  const deserializeAws_restJson1MonthlySchedule = (output, context) => {
@@ -7408,7 +7412,7 @@ const deserializeAws_restJson1S3Bucket = (output, context) => {
7408
7412
  return {
7409
7413
  allowsUnencryptedObjectUploads: __expectString(output.allowsUnencryptedObjectUploads),
7410
7414
  arn: __expectString(output.arn),
7411
- createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
7415
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
7412
7416
  defaultServerSideEncryption: output.defaultServerSideEncryption != null
7413
7417
  ? deserializeAws_restJson1ServerSideEncryption(output.defaultServerSideEncryption, context)
7414
7418
  : undefined,
@@ -7476,7 +7480,7 @@ const deserializeAws_restJson1S3Object = (output, context) => {
7476
7480
  eTag: __expectString(output.eTag),
7477
7481
  extension: __expectString(output.extension),
7478
7482
  key: __expectString(output.key),
7479
- lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTime(output.lastModified)) : undefined,
7483
+ lastModified: output.lastModified != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastModified)) : undefined,
7480
7484
  path: __expectString(output.path),
7481
7485
  publicAccess: __expectBoolean(output.publicAccess),
7482
7486
  serverSideEncryption: output.serverSideEncryption != null
@@ -7588,7 +7592,7 @@ const deserializeAws_restJson1SessionContext = (output, context) => {
7588
7592
  };
7589
7593
  const deserializeAws_restJson1SessionContextAttributes = (output, context) => {
7590
7594
  return {
7591
- creationDate: output.creationDate != null ? __expectNonNull(__parseRfc3339DateTime(output.creationDate)) : undefined,
7595
+ creationDate: output.creationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationDate)) : undefined,
7592
7596
  mfaAuthenticated: __expectBoolean(output.mfaAuthenticated),
7593
7597
  };
7594
7598
  };
@@ -7700,10 +7704,10 @@ const deserializeAws_restJson1UsageRecord = (output, context) => {
7700
7704
  return {
7701
7705
  accountId: __expectString(output.accountId),
7702
7706
  automatedDiscoveryFreeTrialStartDate: output.automatedDiscoveryFreeTrialStartDate != null
7703
- ? __expectNonNull(__parseRfc3339DateTime(output.automatedDiscoveryFreeTrialStartDate))
7707
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.automatedDiscoveryFreeTrialStartDate))
7704
7708
  : undefined,
7705
7709
  freeTrialStartDate: output.freeTrialStartDate != null
7706
- ? __expectNonNull(__parseRfc3339DateTime(output.freeTrialStartDate))
7710
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.freeTrialStartDate))
7707
7711
  : undefined,
7708
7712
  usage: output.usage != null ? deserializeAws_restJson1__listOfUsageByAccount(output.usage, context) : undefined,
7709
7713
  };
@@ -7735,9 +7739,9 @@ const deserializeAws_restJson1UserIdentityRoot = (output, context) => {
7735
7739
  };
7736
7740
  const deserializeAws_restJson1UserPausedDetails = (output, context) => {
7737
7741
  return {
7738
- jobExpiresAt: output.jobExpiresAt != null ? __expectNonNull(__parseRfc3339DateTime(output.jobExpiresAt)) : undefined,
7742
+ jobExpiresAt: output.jobExpiresAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.jobExpiresAt)) : undefined,
7739
7743
  jobImminentExpirationHealthEventArn: __expectString(output.jobImminentExpirationHealthEventArn),
7740
- jobPausedAt: output.jobPausedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.jobPausedAt)) : undefined,
7744
+ jobPausedAt: output.jobPausedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.jobPausedAt)) : undefined,
7741
7745
  };
7742
7746
  };
7743
7747
  const deserializeAws_restJson1WeeklySchedule = (output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-macie2",
3
3
  "description": "AWS SDK for JavaScript Macie2 Client for Node.js, Browser and React Native",
4
- "version": "3.261.0",
4
+ "version": "3.264.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,14 +20,14 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.261.0",
23
+ "@aws-sdk/client-sts": "3.264.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.261.0",
25
+ "@aws-sdk/credential-provider-node": "3.264.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",
27
27
  "@aws-sdk/hash-node": "3.257.0",
28
28
  "@aws-sdk/invalid-dependency": "3.257.0",
29
29
  "@aws-sdk/middleware-content-length": "3.257.0",
30
- "@aws-sdk/middleware-endpoint": "3.257.0",
30
+ "@aws-sdk/middleware-endpoint": "3.264.0",
31
31
  "@aws-sdk/middleware-host-header": "3.257.0",
32
32
  "@aws-sdk/middleware-logger": "3.257.0",
33
33
  "@aws-sdk/middleware-recursion-detection": "3.257.0",