@aws-sdk/client-glacier 3.121.0 → 3.127.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 CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-glacier
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
15
 
8
16
 
@@ -121,7 +121,7 @@ const serializeAws_restJson1AddTagsToVaultCommand = async (input, context) => {
121
121
  };
122
122
  let body;
123
123
  body = JSON.stringify({
124
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
124
+ ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
125
125
  });
126
126
  return new protocol_http_1.HttpRequest({
127
127
  protocol,
@@ -1114,8 +1114,7 @@ const serializeAws_restJson1RemoveTagsFromVaultCommand = async (input, context)
1114
1114
  };
1115
1115
  let body;
1116
1116
  body = JSON.stringify({
1117
- ...(input.TagKeys !== undefined &&
1118
- input.TagKeys !== null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) }),
1117
+ ...(input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) }),
1119
1118
  });
1120
1119
  return new protocol_http_1.HttpRequest({
1121
1120
  protocol,
@@ -1147,8 +1146,7 @@ const serializeAws_restJson1SetDataRetrievalPolicyCommand = async (input, contex
1147
1146
  }
1148
1147
  let body;
1149
1148
  body = JSON.stringify({
1150
- ...(input.Policy !== undefined &&
1151
- input.Policy !== null && { Policy: serializeAws_restJson1DataRetrievalPolicy(input.Policy, context) }),
1149
+ ...(input.Policy != null && { Policy: serializeAws_restJson1DataRetrievalPolicy(input.Policy, context) }),
1152
1150
  });
1153
1151
  return new protocol_http_1.HttpRequest({
1154
1152
  protocol,
@@ -3211,42 +3209,32 @@ const serializeAws_restJson1AccessControlPolicyList = (input, context) => {
3211
3209
  };
3212
3210
  const serializeAws_restJson1CSVInput = (input, context) => {
3213
3211
  return {
3214
- ...(input.Comments !== undefined && input.Comments !== null && { Comments: input.Comments }),
3215
- ...(input.FieldDelimiter !== undefined &&
3216
- input.FieldDelimiter !== null && { FieldDelimiter: input.FieldDelimiter }),
3217
- ...(input.FileHeaderInfo !== undefined &&
3218
- input.FileHeaderInfo !== null && { FileHeaderInfo: input.FileHeaderInfo }),
3219
- ...(input.QuoteCharacter !== undefined &&
3220
- input.QuoteCharacter !== null && { QuoteCharacter: input.QuoteCharacter }),
3221
- ...(input.QuoteEscapeCharacter !== undefined &&
3222
- input.QuoteEscapeCharacter !== null && { QuoteEscapeCharacter: input.QuoteEscapeCharacter }),
3223
- ...(input.RecordDelimiter !== undefined &&
3224
- input.RecordDelimiter !== null && { RecordDelimiter: input.RecordDelimiter }),
3212
+ ...(input.Comments != null && { Comments: input.Comments }),
3213
+ ...(input.FieldDelimiter != null && { FieldDelimiter: input.FieldDelimiter }),
3214
+ ...(input.FileHeaderInfo != null && { FileHeaderInfo: input.FileHeaderInfo }),
3215
+ ...(input.QuoteCharacter != null && { QuoteCharacter: input.QuoteCharacter }),
3216
+ ...(input.QuoteEscapeCharacter != null && { QuoteEscapeCharacter: input.QuoteEscapeCharacter }),
3217
+ ...(input.RecordDelimiter != null && { RecordDelimiter: input.RecordDelimiter }),
3225
3218
  };
3226
3219
  };
3227
3220
  const serializeAws_restJson1CSVOutput = (input, context) => {
3228
3221
  return {
3229
- ...(input.FieldDelimiter !== undefined &&
3230
- input.FieldDelimiter !== null && { FieldDelimiter: input.FieldDelimiter }),
3231
- ...(input.QuoteCharacter !== undefined &&
3232
- input.QuoteCharacter !== null && { QuoteCharacter: input.QuoteCharacter }),
3233
- ...(input.QuoteEscapeCharacter !== undefined &&
3234
- input.QuoteEscapeCharacter !== null && { QuoteEscapeCharacter: input.QuoteEscapeCharacter }),
3235
- ...(input.QuoteFields !== undefined && input.QuoteFields !== null && { QuoteFields: input.QuoteFields }),
3236
- ...(input.RecordDelimiter !== undefined &&
3237
- input.RecordDelimiter !== null && { RecordDelimiter: input.RecordDelimiter }),
3222
+ ...(input.FieldDelimiter != null && { FieldDelimiter: input.FieldDelimiter }),
3223
+ ...(input.QuoteCharacter != null && { QuoteCharacter: input.QuoteCharacter }),
3224
+ ...(input.QuoteEscapeCharacter != null && { QuoteEscapeCharacter: input.QuoteEscapeCharacter }),
3225
+ ...(input.QuoteFields != null && { QuoteFields: input.QuoteFields }),
3226
+ ...(input.RecordDelimiter != null && { RecordDelimiter: input.RecordDelimiter }),
3238
3227
  };
3239
3228
  };
3240
3229
  const serializeAws_restJson1DataRetrievalPolicy = (input, context) => {
3241
3230
  return {
3242
- ...(input.Rules !== undefined &&
3243
- input.Rules !== null && { Rules: serializeAws_restJson1DataRetrievalRulesList(input.Rules, context) }),
3231
+ ...(input.Rules != null && { Rules: serializeAws_restJson1DataRetrievalRulesList(input.Rules, context) }),
3244
3232
  };
3245
3233
  };
3246
3234
  const serializeAws_restJson1DataRetrievalRule = (input, context) => {
3247
3235
  return {
3248
- ...(input.BytesPerHour !== undefined && input.BytesPerHour !== null && { BytesPerHour: input.BytesPerHour }),
3249
- ...(input.Strategy !== undefined && input.Strategy !== null && { Strategy: input.Strategy }),
3236
+ ...(input.BytesPerHour != null && { BytesPerHour: input.BytesPerHour }),
3237
+ ...(input.Strategy != null && { Strategy: input.Strategy }),
3250
3238
  };
3251
3239
  };
3252
3240
  const serializeAws_restJson1DataRetrievalRulesList = (input, context) => {
@@ -3261,26 +3249,24 @@ const serializeAws_restJson1DataRetrievalRulesList = (input, context) => {
3261
3249
  };
3262
3250
  const serializeAws_restJson1Encryption = (input, context) => {
3263
3251
  return {
3264
- ...(input.EncryptionType !== undefined &&
3265
- input.EncryptionType !== null && { EncryptionType: input.EncryptionType }),
3266
- ...(input.KMSContext !== undefined && input.KMSContext !== null && { KMSContext: input.KMSContext }),
3267
- ...(input.KMSKeyId !== undefined && input.KMSKeyId !== null && { KMSKeyId: input.KMSKeyId }),
3252
+ ...(input.EncryptionType != null && { EncryptionType: input.EncryptionType }),
3253
+ ...(input.KMSContext != null && { KMSContext: input.KMSContext }),
3254
+ ...(input.KMSKeyId != null && { KMSKeyId: input.KMSKeyId }),
3268
3255
  };
3269
3256
  };
3270
3257
  const serializeAws_restJson1Grant = (input, context) => {
3271
3258
  return {
3272
- ...(input.Grantee !== undefined &&
3273
- input.Grantee !== null && { Grantee: serializeAws_restJson1Grantee(input.Grantee, context) }),
3274
- ...(input.Permission !== undefined && input.Permission !== null && { Permission: input.Permission }),
3259
+ ...(input.Grantee != null && { Grantee: serializeAws_restJson1Grantee(input.Grantee, context) }),
3260
+ ...(input.Permission != null && { Permission: input.Permission }),
3275
3261
  };
3276
3262
  };
3277
3263
  const serializeAws_restJson1Grantee = (input, context) => {
3278
3264
  return {
3279
- ...(input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName }),
3280
- ...(input.EmailAddress !== undefined && input.EmailAddress !== null && { EmailAddress: input.EmailAddress }),
3281
- ...(input.ID !== undefined && input.ID !== null && { ID: input.ID }),
3282
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
3283
- ...(input.URI !== undefined && input.URI !== null && { URI: input.URI }),
3265
+ ...(input.DisplayName != null && { DisplayName: input.DisplayName }),
3266
+ ...(input.EmailAddress != null && { EmailAddress: input.EmailAddress }),
3267
+ ...(input.ID != null && { ID: input.ID }),
3268
+ ...(input.Type != null && { Type: input.Type }),
3269
+ ...(input.URI != null && { URI: input.URI }),
3284
3270
  };
3285
3271
  };
3286
3272
  const serializeAws_restJson1hashmap = (input, context) => {
@@ -3296,39 +3282,35 @@ const serializeAws_restJson1hashmap = (input, context) => {
3296
3282
  };
3297
3283
  const serializeAws_restJson1InputSerialization = (input, context) => {
3298
3284
  return {
3299
- ...(input.csv !== undefined && input.csv !== null && { csv: serializeAws_restJson1CSVInput(input.csv, context) }),
3285
+ ...(input.csv != null && { csv: serializeAws_restJson1CSVInput(input.csv, context) }),
3300
3286
  };
3301
3287
  };
3302
3288
  const serializeAws_restJson1InventoryRetrievalJobInput = (input, context) => {
3303
3289
  return {
3304
- ...(input.EndDate !== undefined && input.EndDate !== null && { EndDate: input.EndDate }),
3305
- ...(input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit }),
3306
- ...(input.Marker !== undefined && input.Marker !== null && { Marker: input.Marker }),
3307
- ...(input.StartDate !== undefined && input.StartDate !== null && { StartDate: input.StartDate }),
3290
+ ...(input.EndDate != null && { EndDate: input.EndDate }),
3291
+ ...(input.Limit != null && { Limit: input.Limit }),
3292
+ ...(input.Marker != null && { Marker: input.Marker }),
3293
+ ...(input.StartDate != null && { StartDate: input.StartDate }),
3308
3294
  };
3309
3295
  };
3310
3296
  const serializeAws_restJson1JobParameters = (input, context) => {
3311
3297
  return {
3312
- ...(input.ArchiveId !== undefined && input.ArchiveId !== null && { ArchiveId: input.ArchiveId }),
3313
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
3314
- ...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
3315
- ...(input.InventoryRetrievalParameters !== undefined &&
3316
- input.InventoryRetrievalParameters !== null && {
3298
+ ...(input.ArchiveId != null && { ArchiveId: input.ArchiveId }),
3299
+ ...(input.Description != null && { Description: input.Description }),
3300
+ ...(input.Format != null && { Format: input.Format }),
3301
+ ...(input.InventoryRetrievalParameters != null && {
3317
3302
  InventoryRetrievalParameters: serializeAws_restJson1InventoryRetrievalJobInput(input.InventoryRetrievalParameters, context),
3318
3303
  }),
3319
- ...(input.OutputLocation !== undefined &&
3320
- input.OutputLocation !== null && {
3304
+ ...(input.OutputLocation != null && {
3321
3305
  OutputLocation: serializeAws_restJson1OutputLocation(input.OutputLocation, context),
3322
3306
  }),
3323
- ...(input.RetrievalByteRange !== undefined &&
3324
- input.RetrievalByteRange !== null && { RetrievalByteRange: input.RetrievalByteRange }),
3325
- ...(input.SNSTopic !== undefined && input.SNSTopic !== null && { SNSTopic: input.SNSTopic }),
3326
- ...(input.SelectParameters !== undefined &&
3327
- input.SelectParameters !== null && {
3307
+ ...(input.RetrievalByteRange != null && { RetrievalByteRange: input.RetrievalByteRange }),
3308
+ ...(input.SNSTopic != null && { SNSTopic: input.SNSTopic }),
3309
+ ...(input.SelectParameters != null && {
3328
3310
  SelectParameters: serializeAws_restJson1SelectParameters(input.SelectParameters, context),
3329
3311
  }),
3330
- ...(input.Tier !== undefined && input.Tier !== null && { Tier: input.Tier }),
3331
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
3312
+ ...(input.Tier != null && { Tier: input.Tier }),
3313
+ ...(input.Type != null && { Type: input.Type }),
3332
3314
  };
3333
3315
  };
3334
3316
  const serializeAws_restJson1NotificationEventList = (input, context) => {
@@ -3343,43 +3325,36 @@ const serializeAws_restJson1NotificationEventList = (input, context) => {
3343
3325
  };
3344
3326
  const serializeAws_restJson1OutputLocation = (input, context) => {
3345
3327
  return {
3346
- ...(input.S3 !== undefined && input.S3 !== null && { S3: serializeAws_restJson1S3Location(input.S3, context) }),
3328
+ ...(input.S3 != null && { S3: serializeAws_restJson1S3Location(input.S3, context) }),
3347
3329
  };
3348
3330
  };
3349
3331
  const serializeAws_restJson1OutputSerialization = (input, context) => {
3350
3332
  return {
3351
- ...(input.csv !== undefined && input.csv !== null && { csv: serializeAws_restJson1CSVOutput(input.csv, context) }),
3333
+ ...(input.csv != null && { csv: serializeAws_restJson1CSVOutput(input.csv, context) }),
3352
3334
  };
3353
3335
  };
3354
3336
  const serializeAws_restJson1S3Location = (input, context) => {
3355
3337
  return {
3356
- ...(input.AccessControlList !== undefined &&
3357
- input.AccessControlList !== null && {
3338
+ ...(input.AccessControlList != null && {
3358
3339
  AccessControlList: serializeAws_restJson1AccessControlPolicyList(input.AccessControlList, context),
3359
3340
  }),
3360
- ...(input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName }),
3361
- ...(input.CannedACL !== undefined && input.CannedACL !== null && { CannedACL: input.CannedACL }),
3362
- ...(input.Encryption !== undefined &&
3363
- input.Encryption !== null && { Encryption: serializeAws_restJson1Encryption(input.Encryption, context) }),
3364
- ...(input.Prefix !== undefined && input.Prefix !== null && { Prefix: input.Prefix }),
3365
- ...(input.StorageClass !== undefined && input.StorageClass !== null && { StorageClass: input.StorageClass }),
3366
- ...(input.Tagging !== undefined &&
3367
- input.Tagging !== null && { Tagging: serializeAws_restJson1hashmap(input.Tagging, context) }),
3368
- ...(input.UserMetadata !== undefined &&
3369
- input.UserMetadata !== null && { UserMetadata: serializeAws_restJson1hashmap(input.UserMetadata, context) }),
3341
+ ...(input.BucketName != null && { BucketName: input.BucketName }),
3342
+ ...(input.CannedACL != null && { CannedACL: input.CannedACL }),
3343
+ ...(input.Encryption != null && { Encryption: serializeAws_restJson1Encryption(input.Encryption, context) }),
3344
+ ...(input.Prefix != null && { Prefix: input.Prefix }),
3345
+ ...(input.StorageClass != null && { StorageClass: input.StorageClass }),
3346
+ ...(input.Tagging != null && { Tagging: serializeAws_restJson1hashmap(input.Tagging, context) }),
3347
+ ...(input.UserMetadata != null && { UserMetadata: serializeAws_restJson1hashmap(input.UserMetadata, context) }),
3370
3348
  };
3371
3349
  };
3372
3350
  const serializeAws_restJson1SelectParameters = (input, context) => {
3373
3351
  return {
3374
- ...(input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression }),
3375
- ...(input.ExpressionType !== undefined &&
3376
- input.ExpressionType !== null && { ExpressionType: input.ExpressionType }),
3377
- ...(input.InputSerialization !== undefined &&
3378
- input.InputSerialization !== null && {
3352
+ ...(input.Expression != null && { Expression: input.Expression }),
3353
+ ...(input.ExpressionType != null && { ExpressionType: input.ExpressionType }),
3354
+ ...(input.InputSerialization != null && {
3379
3355
  InputSerialization: serializeAws_restJson1InputSerialization(input.InputSerialization, context),
3380
3356
  }),
3381
- ...(input.OutputSerialization !== undefined &&
3382
- input.OutputSerialization !== null && {
3357
+ ...(input.OutputSerialization != null && {
3383
3358
  OutputSerialization: serializeAws_restJson1OutputSerialization(input.OutputSerialization, context),
3384
3359
  }),
3385
3360
  };
@@ -3407,19 +3382,18 @@ const serializeAws_restJson1TagMap = (input, context) => {
3407
3382
  };
3408
3383
  const serializeAws_restJson1VaultAccessPolicy = (input, context) => {
3409
3384
  return {
3410
- ...(input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy }),
3385
+ ...(input.Policy != null && { Policy: input.Policy }),
3411
3386
  };
3412
3387
  };
3413
3388
  const serializeAws_restJson1VaultLockPolicy = (input, context) => {
3414
3389
  return {
3415
- ...(input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy }),
3390
+ ...(input.Policy != null && { Policy: input.Policy }),
3416
3391
  };
3417
3392
  };
3418
3393
  const serializeAws_restJson1VaultNotificationConfig = (input, context) => {
3419
3394
  return {
3420
- ...(input.Events !== undefined &&
3421
- input.Events !== null && { Events: serializeAws_restJson1NotificationEventList(input.Events, context) }),
3422
- ...(input.SNSTopic !== undefined && input.SNSTopic !== null && { SNSTopic: input.SNSTopic }),
3395
+ ...(input.Events != null && { Events: serializeAws_restJson1NotificationEventList(input.Events, context) }),
3396
+ ...(input.SNSTopic != null && { SNSTopic: input.SNSTopic }),
3423
3397
  };
3424
3398
  };
3425
3399
  const deserializeAws_restJson1AccessControlPolicyList = (output, context) => {
@@ -3454,9 +3428,7 @@ const deserializeAws_restJson1CSVOutput = (output, context) => {
3454
3428
  };
3455
3429
  const deserializeAws_restJson1DataRetrievalPolicy = (output, context) => {
3456
3430
  return {
3457
- Rules: output.Rules !== undefined && output.Rules !== null
3458
- ? deserializeAws_restJson1DataRetrievalRulesList(output.Rules, context)
3459
- : undefined,
3431
+ Rules: output.Rules != null ? deserializeAws_restJson1DataRetrievalRulesList(output.Rules, context) : undefined,
3460
3432
  };
3461
3433
  };
3462
3434
  const deserializeAws_restJson1DataRetrievalRule = (output, context) => {
@@ -3502,20 +3474,20 @@ const deserializeAws_restJson1GlacierJobDescription = (output, context) => {
3502
3474
  Completed: (0, smithy_client_1.expectBoolean)(output.Completed),
3503
3475
  CompletionDate: (0, smithy_client_1.expectString)(output.CompletionDate),
3504
3476
  CreationDate: (0, smithy_client_1.expectString)(output.CreationDate),
3505
- InventoryRetrievalParameters: output.InventoryRetrievalParameters !== undefined && output.InventoryRetrievalParameters !== null
3477
+ InventoryRetrievalParameters: output.InventoryRetrievalParameters != null
3506
3478
  ? deserializeAws_restJson1InventoryRetrievalJobDescription(output.InventoryRetrievalParameters, context)
3507
3479
  : undefined,
3508
3480
  InventorySizeInBytes: (0, smithy_client_1.expectLong)(output.InventorySizeInBytes),
3509
3481
  JobDescription: (0, smithy_client_1.expectString)(output.JobDescription),
3510
3482
  JobId: (0, smithy_client_1.expectString)(output.JobId),
3511
3483
  JobOutputPath: (0, smithy_client_1.expectString)(output.JobOutputPath),
3512
- OutputLocation: output.OutputLocation !== undefined && output.OutputLocation !== null
3484
+ OutputLocation: output.OutputLocation != null
3513
3485
  ? deserializeAws_restJson1OutputLocation(output.OutputLocation, context)
3514
3486
  : undefined,
3515
3487
  RetrievalByteRange: (0, smithy_client_1.expectString)(output.RetrievalByteRange),
3516
3488
  SHA256TreeHash: (0, smithy_client_1.expectString)(output.SHA256TreeHash),
3517
3489
  SNSTopic: (0, smithy_client_1.expectString)(output.SNSTopic),
3518
- SelectParameters: output.SelectParameters !== undefined && output.SelectParameters !== null
3490
+ SelectParameters: output.SelectParameters != null
3519
3491
  ? deserializeAws_restJson1SelectParameters(output.SelectParameters, context)
3520
3492
  : undefined,
3521
3493
  StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
@@ -3526,9 +3498,7 @@ const deserializeAws_restJson1GlacierJobDescription = (output, context) => {
3526
3498
  };
3527
3499
  const deserializeAws_restJson1Grant = (output, context) => {
3528
3500
  return {
3529
- Grantee: output.Grantee !== undefined && output.Grantee !== null
3530
- ? deserializeAws_restJson1Grantee(output.Grantee, context)
3531
- : undefined,
3501
+ Grantee: output.Grantee != null ? deserializeAws_restJson1Grantee(output.Grantee, context) : undefined,
3532
3502
  Permission: (0, smithy_client_1.expectString)(output.Permission),
3533
3503
  };
3534
3504
  };
@@ -3554,9 +3524,7 @@ const deserializeAws_restJson1hashmap = (output, context) => {
3554
3524
  };
3555
3525
  const deserializeAws_restJson1InputSerialization = (output, context) => {
3556
3526
  return {
3557
- csv: output.csv !== undefined && output.csv !== null
3558
- ? deserializeAws_restJson1CSVInput(output.csv, context)
3559
- : undefined,
3527
+ csv: output.csv != null ? deserializeAws_restJson1CSVInput(output.csv, context) : undefined,
3560
3528
  };
3561
3529
  };
3562
3530
  const deserializeAws_restJson1InventoryRetrievalJobDescription = (output, context) => {
@@ -3592,16 +3560,12 @@ const deserializeAws_restJson1NotificationEventList = (output, context) => {
3592
3560
  };
3593
3561
  const deserializeAws_restJson1OutputLocation = (output, context) => {
3594
3562
  return {
3595
- S3: output.S3 !== undefined && output.S3 !== null
3596
- ? deserializeAws_restJson1S3Location(output.S3, context)
3597
- : undefined,
3563
+ S3: output.S3 != null ? deserializeAws_restJson1S3Location(output.S3, context) : undefined,
3598
3564
  };
3599
3565
  };
3600
3566
  const deserializeAws_restJson1OutputSerialization = (output, context) => {
3601
3567
  return {
3602
- csv: output.csv !== undefined && output.csv !== null
3603
- ? deserializeAws_restJson1CSVOutput(output.csv, context)
3604
- : undefined,
3568
+ csv: output.csv != null ? deserializeAws_restJson1CSVOutput(output.csv, context) : undefined,
3605
3569
  };
3606
3570
  };
3607
3571
  const deserializeAws_restJson1PartList = (output, context) => {
@@ -3641,32 +3605,26 @@ const deserializeAws_restJson1ProvisionedCapacityList = (output, context) => {
3641
3605
  };
3642
3606
  const deserializeAws_restJson1S3Location = (output, context) => {
3643
3607
  return {
3644
- AccessControlList: output.AccessControlList !== undefined && output.AccessControlList !== null
3608
+ AccessControlList: output.AccessControlList != null
3645
3609
  ? deserializeAws_restJson1AccessControlPolicyList(output.AccessControlList, context)
3646
3610
  : undefined,
3647
3611
  BucketName: (0, smithy_client_1.expectString)(output.BucketName),
3648
3612
  CannedACL: (0, smithy_client_1.expectString)(output.CannedACL),
3649
- Encryption: output.Encryption !== undefined && output.Encryption !== null
3650
- ? deserializeAws_restJson1Encryption(output.Encryption, context)
3651
- : undefined,
3613
+ Encryption: output.Encryption != null ? deserializeAws_restJson1Encryption(output.Encryption, context) : undefined,
3652
3614
  Prefix: (0, smithy_client_1.expectString)(output.Prefix),
3653
3615
  StorageClass: (0, smithy_client_1.expectString)(output.StorageClass),
3654
- Tagging: output.Tagging !== undefined && output.Tagging !== null
3655
- ? deserializeAws_restJson1hashmap(output.Tagging, context)
3656
- : undefined,
3657
- UserMetadata: output.UserMetadata !== undefined && output.UserMetadata !== null
3658
- ? deserializeAws_restJson1hashmap(output.UserMetadata, context)
3659
- : undefined,
3616
+ Tagging: output.Tagging != null ? deserializeAws_restJson1hashmap(output.Tagging, context) : undefined,
3617
+ UserMetadata: output.UserMetadata != null ? deserializeAws_restJson1hashmap(output.UserMetadata, context) : undefined,
3660
3618
  };
3661
3619
  };
3662
3620
  const deserializeAws_restJson1SelectParameters = (output, context) => {
3663
3621
  return {
3664
3622
  Expression: (0, smithy_client_1.expectString)(output.Expression),
3665
3623
  ExpressionType: (0, smithy_client_1.expectString)(output.ExpressionType),
3666
- InputSerialization: output.InputSerialization !== undefined && output.InputSerialization !== null
3624
+ InputSerialization: output.InputSerialization != null
3667
3625
  ? deserializeAws_restJson1InputSerialization(output.InputSerialization, context)
3668
3626
  : undefined,
3669
- OutputSerialization: output.OutputSerialization !== undefined && output.OutputSerialization !== null
3627
+ OutputSerialization: output.OutputSerialization != null
3670
3628
  ? deserializeAws_restJson1OutputSerialization(output.OutputSerialization, context)
3671
3629
  : undefined,
3672
3630
  };
@@ -3720,9 +3678,7 @@ const deserializeAws_restJson1VaultList = (output, context) => {
3720
3678
  };
3721
3679
  const deserializeAws_restJson1VaultNotificationConfig = (output, context) => {
3722
3680
  return {
3723
- Events: output.Events !== undefined && output.Events !== null
3724
- ? deserializeAws_restJson1NotificationEventList(output.Events, context)
3725
- : undefined,
3681
+ Events: output.Events != null ? deserializeAws_restJson1NotificationEventList(output.Events, context) : undefined,
3726
3682
  SNSTopic: (0, smithy_client_1.expectString)(output.SNSTopic),
3727
3683
  };
3728
3684
  };
@@ -131,7 +131,7 @@ export var serializeAws_restJson1AddTagsToVaultCommand = function (input, contex
131
131
  query = {
132
132
  operation: "add",
133
133
  };
134
- body = JSON.stringify(__assign({}, (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
134
+ body = JSON.stringify(__assign({}, (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
135
135
  return [2, new __HttpRequest({
136
136
  protocol: protocol,
137
137
  hostname: hostname,
@@ -1225,8 +1225,7 @@ export var serializeAws_restJson1RemoveTagsFromVaultCommand = function (input, c
1225
1225
  query = {
1226
1226
  operation: "remove",
1227
1227
  };
1228
- body = JSON.stringify(__assign({}, (input.TagKeys !== undefined &&
1229
- input.TagKeys !== null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) })));
1228
+ body = JSON.stringify(__assign({}, (input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) })));
1230
1229
  return [2, new __HttpRequest({
1231
1230
  protocol: protocol,
1232
1231
  hostname: hostname,
@@ -1261,8 +1260,7 @@ export var serializeAws_restJson1SetDataRetrievalPolicyCommand = function (input
1261
1260
  else {
1262
1261
  throw new Error("No value provided for input HTTP label: accountId.");
1263
1262
  }
1264
- body = JSON.stringify(__assign({}, (input.Policy !== undefined &&
1265
- input.Policy !== null && { Policy: serializeAws_restJson1DataRetrievalPolicy(input.Policy, context) })));
1263
+ body = JSON.stringify(__assign({}, (input.Policy != null && { Policy: serializeAws_restJson1DataRetrievalPolicy(input.Policy, context) })));
1266
1264
  return [2, new __HttpRequest({
1267
1265
  protocol: protocol,
1268
1266
  hostname: hostname,
@@ -4015,26 +4013,16 @@ var serializeAws_restJson1AccessControlPolicyList = function (input, context) {
4015
4013
  });
4016
4014
  };
4017
4015
  var serializeAws_restJson1CSVInput = function (input, context) {
4018
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Comments !== undefined && input.Comments !== null && { Comments: input.Comments })), (input.FieldDelimiter !== undefined &&
4019
- input.FieldDelimiter !== null && { FieldDelimiter: input.FieldDelimiter })), (input.FileHeaderInfo !== undefined &&
4020
- input.FileHeaderInfo !== null && { FileHeaderInfo: input.FileHeaderInfo })), (input.QuoteCharacter !== undefined &&
4021
- input.QuoteCharacter !== null && { QuoteCharacter: input.QuoteCharacter })), (input.QuoteEscapeCharacter !== undefined &&
4022
- input.QuoteEscapeCharacter !== null && { QuoteEscapeCharacter: input.QuoteEscapeCharacter })), (input.RecordDelimiter !== undefined &&
4023
- input.RecordDelimiter !== null && { RecordDelimiter: input.RecordDelimiter }));
4016
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Comments != null && { Comments: input.Comments })), (input.FieldDelimiter != null && { FieldDelimiter: input.FieldDelimiter })), (input.FileHeaderInfo != null && { FileHeaderInfo: input.FileHeaderInfo })), (input.QuoteCharacter != null && { QuoteCharacter: input.QuoteCharacter })), (input.QuoteEscapeCharacter != null && { QuoteEscapeCharacter: input.QuoteEscapeCharacter })), (input.RecordDelimiter != null && { RecordDelimiter: input.RecordDelimiter }));
4024
4017
  };
4025
4018
  var serializeAws_restJson1CSVOutput = function (input, context) {
4026
- return __assign(__assign(__assign(__assign(__assign({}, (input.FieldDelimiter !== undefined &&
4027
- input.FieldDelimiter !== null && { FieldDelimiter: input.FieldDelimiter })), (input.QuoteCharacter !== undefined &&
4028
- input.QuoteCharacter !== null && { QuoteCharacter: input.QuoteCharacter })), (input.QuoteEscapeCharacter !== undefined &&
4029
- input.QuoteEscapeCharacter !== null && { QuoteEscapeCharacter: input.QuoteEscapeCharacter })), (input.QuoteFields !== undefined && input.QuoteFields !== null && { QuoteFields: input.QuoteFields })), (input.RecordDelimiter !== undefined &&
4030
- input.RecordDelimiter !== null && { RecordDelimiter: input.RecordDelimiter }));
4019
+ return __assign(__assign(__assign(__assign(__assign({}, (input.FieldDelimiter != null && { FieldDelimiter: input.FieldDelimiter })), (input.QuoteCharacter != null && { QuoteCharacter: input.QuoteCharacter })), (input.QuoteEscapeCharacter != null && { QuoteEscapeCharacter: input.QuoteEscapeCharacter })), (input.QuoteFields != null && { QuoteFields: input.QuoteFields })), (input.RecordDelimiter != null && { RecordDelimiter: input.RecordDelimiter }));
4031
4020
  };
4032
4021
  var serializeAws_restJson1DataRetrievalPolicy = function (input, context) {
4033
- return __assign({}, (input.Rules !== undefined &&
4034
- input.Rules !== null && { Rules: serializeAws_restJson1DataRetrievalRulesList(input.Rules, context) }));
4022
+ return __assign({}, (input.Rules != null && { Rules: serializeAws_restJson1DataRetrievalRulesList(input.Rules, context) }));
4035
4023
  };
4036
4024
  var serializeAws_restJson1DataRetrievalRule = function (input, context) {
4037
- return __assign(__assign({}, (input.BytesPerHour !== undefined && input.BytesPerHour !== null && { BytesPerHour: input.BytesPerHour })), (input.Strategy !== undefined && input.Strategy !== null && { Strategy: input.Strategy }));
4025
+ return __assign(__assign({}, (input.BytesPerHour != null && { BytesPerHour: input.BytesPerHour })), (input.Strategy != null && { Strategy: input.Strategy }));
4038
4026
  };
4039
4027
  var serializeAws_restJson1DataRetrievalRulesList = function (input, context) {
4040
4028
  return input
@@ -4047,15 +4035,13 @@ var serializeAws_restJson1DataRetrievalRulesList = function (input, context) {
4047
4035
  });
4048
4036
  };
4049
4037
  var serializeAws_restJson1Encryption = function (input, context) {
4050
- return __assign(__assign(__assign({}, (input.EncryptionType !== undefined &&
4051
- input.EncryptionType !== null && { EncryptionType: input.EncryptionType })), (input.KMSContext !== undefined && input.KMSContext !== null && { KMSContext: input.KMSContext })), (input.KMSKeyId !== undefined && input.KMSKeyId !== null && { KMSKeyId: input.KMSKeyId }));
4038
+ return __assign(__assign(__assign({}, (input.EncryptionType != null && { EncryptionType: input.EncryptionType })), (input.KMSContext != null && { KMSContext: input.KMSContext })), (input.KMSKeyId != null && { KMSKeyId: input.KMSKeyId }));
4052
4039
  };
4053
4040
  var serializeAws_restJson1Grant = function (input, context) {
4054
- return __assign(__assign({}, (input.Grantee !== undefined &&
4055
- input.Grantee !== null && { Grantee: serializeAws_restJson1Grantee(input.Grantee, context) })), (input.Permission !== undefined && input.Permission !== null && { Permission: input.Permission }));
4041
+ return __assign(__assign({}, (input.Grantee != null && { Grantee: serializeAws_restJson1Grantee(input.Grantee, context) })), (input.Permission != null && { Permission: input.Permission }));
4056
4042
  };
4057
4043
  var serializeAws_restJson1Grantee = function (input, context) {
4058
- return __assign(__assign(__assign(__assign(__assign({}, (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.EmailAddress !== undefined && input.EmailAddress !== null && { EmailAddress: input.EmailAddress })), (input.ID !== undefined && input.ID !== null && { ID: input.ID })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.URI !== undefined && input.URI !== null && { URI: input.URI }));
4044
+ return __assign(__assign(__assign(__assign(__assign({}, (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.EmailAddress != null && { EmailAddress: input.EmailAddress })), (input.ID != null && { ID: input.ID })), (input.Type != null && { Type: input.Type })), (input.URI != null && { URI: input.URI }));
4059
4045
  };
4060
4046
  var serializeAws_restJson1hashmap = function (input, context) {
4061
4047
  return Object.entries(input).reduce(function (acc, _a) {
@@ -4068,23 +4054,19 @@ var serializeAws_restJson1hashmap = function (input, context) {
4068
4054
  }, {});
4069
4055
  };
4070
4056
  var serializeAws_restJson1InputSerialization = function (input, context) {
4071
- return __assign({}, (input.csv !== undefined && input.csv !== null && { csv: serializeAws_restJson1CSVInput(input.csv, context) }));
4057
+ return __assign({}, (input.csv != null && { csv: serializeAws_restJson1CSVInput(input.csv, context) }));
4072
4058
  };
4073
4059
  var serializeAws_restJson1InventoryRetrievalJobInput = function (input, context) {
4074
- return __assign(__assign(__assign(__assign({}, (input.EndDate !== undefined && input.EndDate !== null && { EndDate: input.EndDate })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.Marker !== undefined && input.Marker !== null && { Marker: input.Marker })), (input.StartDate !== undefined && input.StartDate !== null && { StartDate: input.StartDate }));
4060
+ return __assign(__assign(__assign(__assign({}, (input.EndDate != null && { EndDate: input.EndDate })), (input.Limit != null && { Limit: input.Limit })), (input.Marker != null && { Marker: input.Marker })), (input.StartDate != null && { StartDate: input.StartDate }));
4075
4061
  };
4076
4062
  var serializeAws_restJson1JobParameters = function (input, context) {
4077
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ArchiveId !== undefined && input.ArchiveId !== null && { ArchiveId: input.ArchiveId })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.InventoryRetrievalParameters !== undefined &&
4078
- input.InventoryRetrievalParameters !== null && {
4063
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ArchiveId != null && { ArchiveId: input.ArchiveId })), (input.Description != null && { Description: input.Description })), (input.Format != null && { Format: input.Format })), (input.InventoryRetrievalParameters != null && {
4079
4064
  InventoryRetrievalParameters: serializeAws_restJson1InventoryRetrievalJobInput(input.InventoryRetrievalParameters, context),
4080
- })), (input.OutputLocation !== undefined &&
4081
- input.OutputLocation !== null && {
4065
+ })), (input.OutputLocation != null && {
4082
4066
  OutputLocation: serializeAws_restJson1OutputLocation(input.OutputLocation, context),
4083
- })), (input.RetrievalByteRange !== undefined &&
4084
- input.RetrievalByteRange !== null && { RetrievalByteRange: input.RetrievalByteRange })), (input.SNSTopic !== undefined && input.SNSTopic !== null && { SNSTopic: input.SNSTopic })), (input.SelectParameters !== undefined &&
4085
- input.SelectParameters !== null && {
4067
+ })), (input.RetrievalByteRange != null && { RetrievalByteRange: input.RetrievalByteRange })), (input.SNSTopic != null && { SNSTopic: input.SNSTopic })), (input.SelectParameters != null && {
4086
4068
  SelectParameters: serializeAws_restJson1SelectParameters(input.SelectParameters, context),
4087
- })), (input.Tier !== undefined && input.Tier !== null && { Tier: input.Tier })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
4069
+ })), (input.Tier != null && { Tier: input.Tier })), (input.Type != null && { Type: input.Type }));
4088
4070
  };
4089
4071
  var serializeAws_restJson1NotificationEventList = function (input, context) {
4090
4072
  return input
@@ -4097,27 +4079,20 @@ var serializeAws_restJson1NotificationEventList = function (input, context) {
4097
4079
  });
4098
4080
  };
4099
4081
  var serializeAws_restJson1OutputLocation = function (input, context) {
4100
- return __assign({}, (input.S3 !== undefined && input.S3 !== null && { S3: serializeAws_restJson1S3Location(input.S3, context) }));
4082
+ return __assign({}, (input.S3 != null && { S3: serializeAws_restJson1S3Location(input.S3, context) }));
4101
4083
  };
4102
4084
  var serializeAws_restJson1OutputSerialization = function (input, context) {
4103
- return __assign({}, (input.csv !== undefined && input.csv !== null && { csv: serializeAws_restJson1CSVOutput(input.csv, context) }));
4085
+ return __assign({}, (input.csv != null && { csv: serializeAws_restJson1CSVOutput(input.csv, context) }));
4104
4086
  };
4105
4087
  var serializeAws_restJson1S3Location = function (input, context) {
4106
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlList !== undefined &&
4107
- input.AccessControlList !== null && {
4088
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlList != null && {
4108
4089
  AccessControlList: serializeAws_restJson1AccessControlPolicyList(input.AccessControlList, context),
4109
- })), (input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName })), (input.CannedACL !== undefined && input.CannedACL !== null && { CannedACL: input.CannedACL })), (input.Encryption !== undefined &&
4110
- input.Encryption !== null && { Encryption: serializeAws_restJson1Encryption(input.Encryption, context) })), (input.Prefix !== undefined && input.Prefix !== null && { Prefix: input.Prefix })), (input.StorageClass !== undefined && input.StorageClass !== null && { StorageClass: input.StorageClass })), (input.Tagging !== undefined &&
4111
- input.Tagging !== null && { Tagging: serializeAws_restJson1hashmap(input.Tagging, context) })), (input.UserMetadata !== undefined &&
4112
- input.UserMetadata !== null && { UserMetadata: serializeAws_restJson1hashmap(input.UserMetadata, context) }));
4090
+ })), (input.BucketName != null && { BucketName: input.BucketName })), (input.CannedACL != null && { CannedACL: input.CannedACL })), (input.Encryption != null && { Encryption: serializeAws_restJson1Encryption(input.Encryption, context) })), (input.Prefix != null && { Prefix: input.Prefix })), (input.StorageClass != null && { StorageClass: input.StorageClass })), (input.Tagging != null && { Tagging: serializeAws_restJson1hashmap(input.Tagging, context) })), (input.UserMetadata != null && { UserMetadata: serializeAws_restJson1hashmap(input.UserMetadata, context) }));
4113
4091
  };
4114
4092
  var serializeAws_restJson1SelectParameters = function (input, context) {
4115
- return __assign(__assign(__assign(__assign({}, (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression })), (input.ExpressionType !== undefined &&
4116
- input.ExpressionType !== null && { ExpressionType: input.ExpressionType })), (input.InputSerialization !== undefined &&
4117
- input.InputSerialization !== null && {
4093
+ return __assign(__assign(__assign(__assign({}, (input.Expression != null && { Expression: input.Expression })), (input.ExpressionType != null && { ExpressionType: input.ExpressionType })), (input.InputSerialization != null && {
4118
4094
  InputSerialization: serializeAws_restJson1InputSerialization(input.InputSerialization, context),
4119
- })), (input.OutputSerialization !== undefined &&
4120
- input.OutputSerialization !== null && {
4095
+ })), (input.OutputSerialization != null && {
4121
4096
  OutputSerialization: serializeAws_restJson1OutputSerialization(input.OutputSerialization, context),
4122
4097
  }));
4123
4098
  };
@@ -4142,14 +4117,13 @@ var serializeAws_restJson1TagMap = function (input, context) {
4142
4117
  }, {});
4143
4118
  };
4144
4119
  var serializeAws_restJson1VaultAccessPolicy = function (input, context) {
4145
- return __assign({}, (input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy }));
4120
+ return __assign({}, (input.Policy != null && { Policy: input.Policy }));
4146
4121
  };
4147
4122
  var serializeAws_restJson1VaultLockPolicy = function (input, context) {
4148
- return __assign({}, (input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy }));
4123
+ return __assign({}, (input.Policy != null && { Policy: input.Policy }));
4149
4124
  };
4150
4125
  var serializeAws_restJson1VaultNotificationConfig = function (input, context) {
4151
- return __assign(__assign({}, (input.Events !== undefined &&
4152
- input.Events !== null && { Events: serializeAws_restJson1NotificationEventList(input.Events, context) })), (input.SNSTopic !== undefined && input.SNSTopic !== null && { SNSTopic: input.SNSTopic }));
4126
+ return __assign(__assign({}, (input.Events != null && { Events: serializeAws_restJson1NotificationEventList(input.Events, context) })), (input.SNSTopic != null && { SNSTopic: input.SNSTopic }));
4153
4127
  };
4154
4128
  var deserializeAws_restJson1AccessControlPolicyList = function (output, context) {
4155
4129
  var retVal = (output || [])
@@ -4183,9 +4157,7 @@ var deserializeAws_restJson1CSVOutput = function (output, context) {
4183
4157
  };
4184
4158
  var deserializeAws_restJson1DataRetrievalPolicy = function (output, context) {
4185
4159
  return {
4186
- Rules: output.Rules !== undefined && output.Rules !== null
4187
- ? deserializeAws_restJson1DataRetrievalRulesList(output.Rules, context)
4188
- : undefined,
4160
+ Rules: output.Rules != null ? deserializeAws_restJson1DataRetrievalRulesList(output.Rules, context) : undefined,
4189
4161
  };
4190
4162
  };
4191
4163
  var deserializeAws_restJson1DataRetrievalRule = function (output, context) {
@@ -4231,20 +4203,20 @@ var deserializeAws_restJson1GlacierJobDescription = function (output, context) {
4231
4203
  Completed: __expectBoolean(output.Completed),
4232
4204
  CompletionDate: __expectString(output.CompletionDate),
4233
4205
  CreationDate: __expectString(output.CreationDate),
4234
- InventoryRetrievalParameters: output.InventoryRetrievalParameters !== undefined && output.InventoryRetrievalParameters !== null
4206
+ InventoryRetrievalParameters: output.InventoryRetrievalParameters != null
4235
4207
  ? deserializeAws_restJson1InventoryRetrievalJobDescription(output.InventoryRetrievalParameters, context)
4236
4208
  : undefined,
4237
4209
  InventorySizeInBytes: __expectLong(output.InventorySizeInBytes),
4238
4210
  JobDescription: __expectString(output.JobDescription),
4239
4211
  JobId: __expectString(output.JobId),
4240
4212
  JobOutputPath: __expectString(output.JobOutputPath),
4241
- OutputLocation: output.OutputLocation !== undefined && output.OutputLocation !== null
4213
+ OutputLocation: output.OutputLocation != null
4242
4214
  ? deserializeAws_restJson1OutputLocation(output.OutputLocation, context)
4243
4215
  : undefined,
4244
4216
  RetrievalByteRange: __expectString(output.RetrievalByteRange),
4245
4217
  SHA256TreeHash: __expectString(output.SHA256TreeHash),
4246
4218
  SNSTopic: __expectString(output.SNSTopic),
4247
- SelectParameters: output.SelectParameters !== undefined && output.SelectParameters !== null
4219
+ SelectParameters: output.SelectParameters != null
4248
4220
  ? deserializeAws_restJson1SelectParameters(output.SelectParameters, context)
4249
4221
  : undefined,
4250
4222
  StatusCode: __expectString(output.StatusCode),
@@ -4255,9 +4227,7 @@ var deserializeAws_restJson1GlacierJobDescription = function (output, context) {
4255
4227
  };
4256
4228
  var deserializeAws_restJson1Grant = function (output, context) {
4257
4229
  return {
4258
- Grantee: output.Grantee !== undefined && output.Grantee !== null
4259
- ? deserializeAws_restJson1Grantee(output.Grantee, context)
4260
- : undefined,
4230
+ Grantee: output.Grantee != null ? deserializeAws_restJson1Grantee(output.Grantee, context) : undefined,
4261
4231
  Permission: __expectString(output.Permission),
4262
4232
  };
4263
4233
  };
@@ -4282,9 +4252,7 @@ var deserializeAws_restJson1hashmap = function (output, context) {
4282
4252
  };
4283
4253
  var deserializeAws_restJson1InputSerialization = function (output, context) {
4284
4254
  return {
4285
- csv: output.csv !== undefined && output.csv !== null
4286
- ? deserializeAws_restJson1CSVInput(output.csv, context)
4287
- : undefined,
4255
+ csv: output.csv != null ? deserializeAws_restJson1CSVInput(output.csv, context) : undefined,
4288
4256
  };
4289
4257
  };
4290
4258
  var deserializeAws_restJson1InventoryRetrievalJobDescription = function (output, context) {
@@ -4320,16 +4288,12 @@ var deserializeAws_restJson1NotificationEventList = function (output, context) {
4320
4288
  };
4321
4289
  var deserializeAws_restJson1OutputLocation = function (output, context) {
4322
4290
  return {
4323
- S3: output.S3 !== undefined && output.S3 !== null
4324
- ? deserializeAws_restJson1S3Location(output.S3, context)
4325
- : undefined,
4291
+ S3: output.S3 != null ? deserializeAws_restJson1S3Location(output.S3, context) : undefined,
4326
4292
  };
4327
4293
  };
4328
4294
  var deserializeAws_restJson1OutputSerialization = function (output, context) {
4329
4295
  return {
4330
- csv: output.csv !== undefined && output.csv !== null
4331
- ? deserializeAws_restJson1CSVOutput(output.csv, context)
4332
- : undefined,
4296
+ csv: output.csv != null ? deserializeAws_restJson1CSVOutput(output.csv, context) : undefined,
4333
4297
  };
4334
4298
  };
4335
4299
  var deserializeAws_restJson1PartList = function (output, context) {
@@ -4369,32 +4333,26 @@ var deserializeAws_restJson1ProvisionedCapacityList = function (output, context)
4369
4333
  };
4370
4334
  var deserializeAws_restJson1S3Location = function (output, context) {
4371
4335
  return {
4372
- AccessControlList: output.AccessControlList !== undefined && output.AccessControlList !== null
4336
+ AccessControlList: output.AccessControlList != null
4373
4337
  ? deserializeAws_restJson1AccessControlPolicyList(output.AccessControlList, context)
4374
4338
  : undefined,
4375
4339
  BucketName: __expectString(output.BucketName),
4376
4340
  CannedACL: __expectString(output.CannedACL),
4377
- Encryption: output.Encryption !== undefined && output.Encryption !== null
4378
- ? deserializeAws_restJson1Encryption(output.Encryption, context)
4379
- : undefined,
4341
+ Encryption: output.Encryption != null ? deserializeAws_restJson1Encryption(output.Encryption, context) : undefined,
4380
4342
  Prefix: __expectString(output.Prefix),
4381
4343
  StorageClass: __expectString(output.StorageClass),
4382
- Tagging: output.Tagging !== undefined && output.Tagging !== null
4383
- ? deserializeAws_restJson1hashmap(output.Tagging, context)
4384
- : undefined,
4385
- UserMetadata: output.UserMetadata !== undefined && output.UserMetadata !== null
4386
- ? deserializeAws_restJson1hashmap(output.UserMetadata, context)
4387
- : undefined,
4344
+ Tagging: output.Tagging != null ? deserializeAws_restJson1hashmap(output.Tagging, context) : undefined,
4345
+ UserMetadata: output.UserMetadata != null ? deserializeAws_restJson1hashmap(output.UserMetadata, context) : undefined,
4388
4346
  };
4389
4347
  };
4390
4348
  var deserializeAws_restJson1SelectParameters = function (output, context) {
4391
4349
  return {
4392
4350
  Expression: __expectString(output.Expression),
4393
4351
  ExpressionType: __expectString(output.ExpressionType),
4394
- InputSerialization: output.InputSerialization !== undefined && output.InputSerialization !== null
4352
+ InputSerialization: output.InputSerialization != null
4395
4353
  ? deserializeAws_restJson1InputSerialization(output.InputSerialization, context)
4396
4354
  : undefined,
4397
- OutputSerialization: output.OutputSerialization !== undefined && output.OutputSerialization !== null
4355
+ OutputSerialization: output.OutputSerialization != null
4398
4356
  ? deserializeAws_restJson1OutputSerialization(output.OutputSerialization, context)
4399
4357
  : undefined,
4400
4358
  };
@@ -4447,9 +4405,7 @@ var deserializeAws_restJson1VaultList = function (output, context) {
4447
4405
  };
4448
4406
  var deserializeAws_restJson1VaultNotificationConfig = function (output, context) {
4449
4407
  return {
4450
- Events: output.Events !== undefined && output.Events !== null
4451
- ? deserializeAws_restJson1NotificationEventList(output.Events, context)
4452
- : undefined,
4408
+ Events: output.Events != null ? deserializeAws_restJson1NotificationEventList(output.Events, context) : undefined,
4453
4409
  SNSTopic: __expectString(output.SNSTopic),
4454
4410
  };
4455
4411
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-glacier",
3
3
  "description": "AWS SDK for JavaScript Glacier Client for Node.js, Browser and React Native",
4
- "version": "3.121.0",
4
+ "version": "3.127.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",
@@ -18,41 +18,41 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/body-checksum-browser": "3.110.0",
22
- "@aws-sdk/body-checksum-node": "3.110.0",
23
- "@aws-sdk/client-sts": "3.121.0",
24
- "@aws-sdk/config-resolver": "3.110.0",
25
- "@aws-sdk/credential-provider-node": "3.121.0",
26
- "@aws-sdk/fetch-http-handler": "3.110.0",
27
- "@aws-sdk/hash-node": "3.110.0",
28
- "@aws-sdk/invalid-dependency": "3.110.0",
29
- "@aws-sdk/middleware-content-length": "3.110.0",
30
- "@aws-sdk/middleware-host-header": "3.110.0",
31
- "@aws-sdk/middleware-logger": "3.110.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
33
- "@aws-sdk/middleware-retry": "3.118.1",
34
- "@aws-sdk/middleware-sdk-glacier": "3.110.0",
35
- "@aws-sdk/middleware-serde": "3.110.0",
36
- "@aws-sdk/middleware-signing": "3.110.0",
37
- "@aws-sdk/middleware-stack": "3.110.0",
38
- "@aws-sdk/middleware-user-agent": "3.110.0",
39
- "@aws-sdk/node-config-provider": "3.110.0",
40
- "@aws-sdk/node-http-handler": "3.118.1",
41
- "@aws-sdk/protocol-http": "3.110.0",
42
- "@aws-sdk/smithy-client": "3.110.0",
43
- "@aws-sdk/types": "3.110.0",
44
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/body-checksum-browser": "3.127.0",
22
+ "@aws-sdk/body-checksum-node": "3.127.0",
23
+ "@aws-sdk/client-sts": "3.127.0",
24
+ "@aws-sdk/config-resolver": "3.127.0",
25
+ "@aws-sdk/credential-provider-node": "3.127.0",
26
+ "@aws-sdk/fetch-http-handler": "3.127.0",
27
+ "@aws-sdk/hash-node": "3.127.0",
28
+ "@aws-sdk/invalid-dependency": "3.127.0",
29
+ "@aws-sdk/middleware-content-length": "3.127.0",
30
+ "@aws-sdk/middleware-host-header": "3.127.0",
31
+ "@aws-sdk/middleware-logger": "3.127.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
33
+ "@aws-sdk/middleware-retry": "3.127.0",
34
+ "@aws-sdk/middleware-sdk-glacier": "3.127.0",
35
+ "@aws-sdk/middleware-serde": "3.127.0",
36
+ "@aws-sdk/middleware-signing": "3.127.0",
37
+ "@aws-sdk/middleware-stack": "3.127.0",
38
+ "@aws-sdk/middleware-user-agent": "3.127.0",
39
+ "@aws-sdk/node-config-provider": "3.127.0",
40
+ "@aws-sdk/node-http-handler": "3.127.0",
41
+ "@aws-sdk/protocol-http": "3.127.0",
42
+ "@aws-sdk/smithy-client": "3.127.0",
43
+ "@aws-sdk/types": "3.127.0",
44
+ "@aws-sdk/url-parser": "3.127.0",
45
45
  "@aws-sdk/util-base64-browser": "3.109.0",
46
46
  "@aws-sdk/util-base64-node": "3.55.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.55.0",
48
48
  "@aws-sdk/util-body-length-node": "3.55.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
51
- "@aws-sdk/util-user-agent-browser": "3.110.0",
52
- "@aws-sdk/util-user-agent-node": "3.118.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.127.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
52
+ "@aws-sdk/util-user-agent-node": "3.127.0",
53
53
  "@aws-sdk/util-utf8-browser": "3.109.0",
54
54
  "@aws-sdk/util-utf8-node": "3.109.0",
55
- "@aws-sdk/util-waiter": "3.118.1",
55
+ "@aws-sdk/util-waiter": "3.127.0",
56
56
  "tslib": "^2.3.1"
57
57
  },
58
58
  "devDependencies": {