@aws-sdk/client-s3 3.121.0 → 3.129.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 +24 -0
- package/dist-cjs/protocols/Aws_restXml.js +255 -255
- package/dist-es/protocols/Aws_restXml.js +255 -255
- package/package.json +42 -42
|
@@ -10030,7 +10030,7 @@ var deserializeAws_restXmlObjectNotInActiveTierErrorResponse = function (parsedO
|
|
|
10030
10030
|
}); };
|
|
10031
10031
|
var serializeAws_restXmlAbortIncompleteMultipartUpload = function (input, context) {
|
|
10032
10032
|
var bodyNode = new __XmlNode("AbortIncompleteMultipartUpload");
|
|
10033
|
-
if (input.DaysAfterInitiation
|
|
10033
|
+
if (input.DaysAfterInitiation != null) {
|
|
10034
10034
|
var node = new __XmlNode("DaysAfterInitiation")
|
|
10035
10035
|
.addChildNode(new __XmlText(String(input.DaysAfterInitiation)))
|
|
10036
10036
|
.withName("DaysAfterInitiation");
|
|
@@ -10040,7 +10040,7 @@ var serializeAws_restXmlAbortIncompleteMultipartUpload = function (input, contex
|
|
|
10040
10040
|
};
|
|
10041
10041
|
var serializeAws_restXmlAccelerateConfiguration = function (input, context) {
|
|
10042
10042
|
var bodyNode = new __XmlNode("AccelerateConfiguration");
|
|
10043
|
-
if (input.Status
|
|
10043
|
+
if (input.Status != null) {
|
|
10044
10044
|
var node = new __XmlNode("BucketAccelerateStatus").addChildNode(new __XmlText(input.Status)).withName("Status");
|
|
10045
10045
|
bodyNode.addChildNode(node);
|
|
10046
10046
|
}
|
|
@@ -10048,7 +10048,7 @@ var serializeAws_restXmlAccelerateConfiguration = function (input, context) {
|
|
|
10048
10048
|
};
|
|
10049
10049
|
var serializeAws_restXmlAccessControlPolicy = function (input, context) {
|
|
10050
10050
|
var bodyNode = new __XmlNode("AccessControlPolicy");
|
|
10051
|
-
if (input.Grants
|
|
10051
|
+
if (input.Grants != null) {
|
|
10052
10052
|
var nodes = serializeAws_restXmlGrants(input.Grants, context);
|
|
10053
10053
|
var containerNode_1 = new __XmlNode("AccessControlList");
|
|
10054
10054
|
nodes.map(function (node) {
|
|
@@ -10056,7 +10056,7 @@ var serializeAws_restXmlAccessControlPolicy = function (input, context) {
|
|
|
10056
10056
|
});
|
|
10057
10057
|
bodyNode.addChildNode(containerNode_1);
|
|
10058
10058
|
}
|
|
10059
|
-
if (input.Owner
|
|
10059
|
+
if (input.Owner != null) {
|
|
10060
10060
|
var node = serializeAws_restXmlOwner(input.Owner, context).withName("Owner");
|
|
10061
10061
|
bodyNode.addChildNode(node);
|
|
10062
10062
|
}
|
|
@@ -10064,7 +10064,7 @@ var serializeAws_restXmlAccessControlPolicy = function (input, context) {
|
|
|
10064
10064
|
};
|
|
10065
10065
|
var serializeAws_restXmlAccessControlTranslation = function (input, context) {
|
|
10066
10066
|
var bodyNode = new __XmlNode("AccessControlTranslation");
|
|
10067
|
-
if (input.Owner
|
|
10067
|
+
if (input.Owner != null) {
|
|
10068
10068
|
var node = new __XmlNode("OwnerOverride").addChildNode(new __XmlText(input.Owner)).withName("Owner");
|
|
10069
10069
|
bodyNode.addChildNode(node);
|
|
10070
10070
|
}
|
|
@@ -10105,11 +10105,11 @@ var serializeAws_restXmlAllowedOrigins = function (input, context) {
|
|
|
10105
10105
|
};
|
|
10106
10106
|
var serializeAws_restXmlAnalyticsAndOperator = function (input, context) {
|
|
10107
10107
|
var bodyNode = new __XmlNode("AnalyticsAndOperator");
|
|
10108
|
-
if (input.Prefix
|
|
10108
|
+
if (input.Prefix != null) {
|
|
10109
10109
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
10110
10110
|
bodyNode.addChildNode(node);
|
|
10111
10111
|
}
|
|
10112
|
-
if (input.Tags
|
|
10112
|
+
if (input.Tags != null) {
|
|
10113
10113
|
var nodes = serializeAws_restXmlTagSet(input.Tags, context);
|
|
10114
10114
|
nodes.map(function (node) {
|
|
10115
10115
|
node = node.withName("Tag");
|
|
@@ -10120,15 +10120,15 @@ var serializeAws_restXmlAnalyticsAndOperator = function (input, context) {
|
|
|
10120
10120
|
};
|
|
10121
10121
|
var serializeAws_restXmlAnalyticsConfiguration = function (input, context) {
|
|
10122
10122
|
var bodyNode = new __XmlNode("AnalyticsConfiguration");
|
|
10123
|
-
if (input.Id
|
|
10123
|
+
if (input.Id != null) {
|
|
10124
10124
|
var node = new __XmlNode("AnalyticsId").addChildNode(new __XmlText(input.Id)).withName("Id");
|
|
10125
10125
|
bodyNode.addChildNode(node);
|
|
10126
10126
|
}
|
|
10127
|
-
if (input.Filter
|
|
10127
|
+
if (input.Filter != null) {
|
|
10128
10128
|
var node = serializeAws_restXmlAnalyticsFilter(input.Filter, context).withName("Filter");
|
|
10129
10129
|
bodyNode.addChildNode(node);
|
|
10130
10130
|
}
|
|
10131
|
-
if (input.StorageClassAnalysis
|
|
10131
|
+
if (input.StorageClassAnalysis != null) {
|
|
10132
10132
|
var node = serializeAws_restXmlStorageClassAnalysis(input.StorageClassAnalysis, context).withName("StorageClassAnalysis");
|
|
10133
10133
|
bodyNode.addChildNode(node);
|
|
10134
10134
|
}
|
|
@@ -10136,7 +10136,7 @@ var serializeAws_restXmlAnalyticsConfiguration = function (input, context) {
|
|
|
10136
10136
|
};
|
|
10137
10137
|
var serializeAws_restXmlAnalyticsExportDestination = function (input, context) {
|
|
10138
10138
|
var bodyNode = new __XmlNode("AnalyticsExportDestination");
|
|
10139
|
-
if (input.S3BucketDestination
|
|
10139
|
+
if (input.S3BucketDestination != null) {
|
|
10140
10140
|
var node = serializeAws_restXmlAnalyticsS3BucketDestination(input.S3BucketDestination, context).withName("S3BucketDestination");
|
|
10141
10141
|
bodyNode.addChildNode(node);
|
|
10142
10142
|
}
|
|
@@ -10168,23 +10168,23 @@ var serializeAws_restXmlAnalyticsFilter = function (input, context) {
|
|
|
10168
10168
|
};
|
|
10169
10169
|
var serializeAws_restXmlAnalyticsS3BucketDestination = function (input, context) {
|
|
10170
10170
|
var bodyNode = new __XmlNode("AnalyticsS3BucketDestination");
|
|
10171
|
-
if (input.Format
|
|
10171
|
+
if (input.Format != null) {
|
|
10172
10172
|
var node = new __XmlNode("AnalyticsS3ExportFileFormat")
|
|
10173
10173
|
.addChildNode(new __XmlText(input.Format))
|
|
10174
10174
|
.withName("Format");
|
|
10175
10175
|
bodyNode.addChildNode(node);
|
|
10176
10176
|
}
|
|
10177
|
-
if (input.BucketAccountId
|
|
10177
|
+
if (input.BucketAccountId != null) {
|
|
10178
10178
|
var node = new __XmlNode("AccountId")
|
|
10179
10179
|
.addChildNode(new __XmlText(input.BucketAccountId))
|
|
10180
10180
|
.withName("BucketAccountId");
|
|
10181
10181
|
bodyNode.addChildNode(node);
|
|
10182
10182
|
}
|
|
10183
|
-
if (input.Bucket
|
|
10183
|
+
if (input.Bucket != null) {
|
|
10184
10184
|
var node = new __XmlNode("BucketName").addChildNode(new __XmlText(input.Bucket)).withName("Bucket");
|
|
10185
10185
|
bodyNode.addChildNode(node);
|
|
10186
10186
|
}
|
|
10187
|
-
if (input.Prefix
|
|
10187
|
+
if (input.Prefix != null) {
|
|
10188
10188
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
10189
10189
|
bodyNode.addChildNode(node);
|
|
10190
10190
|
}
|
|
@@ -10192,7 +10192,7 @@ var serializeAws_restXmlAnalyticsS3BucketDestination = function (input, context)
|
|
|
10192
10192
|
};
|
|
10193
10193
|
var serializeAws_restXmlBucketLifecycleConfiguration = function (input, context) {
|
|
10194
10194
|
var bodyNode = new __XmlNode("BucketLifecycleConfiguration");
|
|
10195
|
-
if (input.Rules
|
|
10195
|
+
if (input.Rules != null) {
|
|
10196
10196
|
var nodes = serializeAws_restXmlLifecycleRules(input.Rules, context);
|
|
10197
10197
|
nodes.map(function (node) {
|
|
10198
10198
|
node = node.withName("Rule");
|
|
@@ -10203,7 +10203,7 @@ var serializeAws_restXmlBucketLifecycleConfiguration = function (input, context)
|
|
|
10203
10203
|
};
|
|
10204
10204
|
var serializeAws_restXmlBucketLoggingStatus = function (input, context) {
|
|
10205
10205
|
var bodyNode = new __XmlNode("BucketLoggingStatus");
|
|
10206
|
-
if (input.LoggingEnabled
|
|
10206
|
+
if (input.LoggingEnabled != null) {
|
|
10207
10207
|
var node = serializeAws_restXmlLoggingEnabled(input.LoggingEnabled, context).withName("LoggingEnabled");
|
|
10208
10208
|
bodyNode.addChildNode(node);
|
|
10209
10209
|
}
|
|
@@ -10211,7 +10211,7 @@ var serializeAws_restXmlBucketLoggingStatus = function (input, context) {
|
|
|
10211
10211
|
};
|
|
10212
10212
|
var serializeAws_restXmlCompletedMultipartUpload = function (input, context) {
|
|
10213
10213
|
var bodyNode = new __XmlNode("CompletedMultipartUpload");
|
|
10214
|
-
if (input.Parts
|
|
10214
|
+
if (input.Parts != null) {
|
|
10215
10215
|
var nodes = serializeAws_restXmlCompletedPartList(input.Parts, context);
|
|
10216
10216
|
nodes.map(function (node) {
|
|
10217
10217
|
node = node.withName("Part");
|
|
@@ -10222,33 +10222,33 @@ var serializeAws_restXmlCompletedMultipartUpload = function (input, context) {
|
|
|
10222
10222
|
};
|
|
10223
10223
|
var serializeAws_restXmlCompletedPart = function (input, context) {
|
|
10224
10224
|
var bodyNode = new __XmlNode("CompletedPart");
|
|
10225
|
-
if (input.ETag
|
|
10225
|
+
if (input.ETag != null) {
|
|
10226
10226
|
var node = new __XmlNode("ETag").addChildNode(new __XmlText(input.ETag)).withName("ETag");
|
|
10227
10227
|
bodyNode.addChildNode(node);
|
|
10228
10228
|
}
|
|
10229
|
-
if (input.ChecksumCRC32
|
|
10229
|
+
if (input.ChecksumCRC32 != null) {
|
|
10230
10230
|
var node = new __XmlNode("ChecksumCRC32")
|
|
10231
10231
|
.addChildNode(new __XmlText(input.ChecksumCRC32))
|
|
10232
10232
|
.withName("ChecksumCRC32");
|
|
10233
10233
|
bodyNode.addChildNode(node);
|
|
10234
10234
|
}
|
|
10235
|
-
if (input.ChecksumCRC32C
|
|
10235
|
+
if (input.ChecksumCRC32C != null) {
|
|
10236
10236
|
var node = new __XmlNode("ChecksumCRC32C")
|
|
10237
10237
|
.addChildNode(new __XmlText(input.ChecksumCRC32C))
|
|
10238
10238
|
.withName("ChecksumCRC32C");
|
|
10239
10239
|
bodyNode.addChildNode(node);
|
|
10240
10240
|
}
|
|
10241
|
-
if (input.ChecksumSHA1
|
|
10241
|
+
if (input.ChecksumSHA1 != null) {
|
|
10242
10242
|
var node = new __XmlNode("ChecksumSHA1").addChildNode(new __XmlText(input.ChecksumSHA1)).withName("ChecksumSHA1");
|
|
10243
10243
|
bodyNode.addChildNode(node);
|
|
10244
10244
|
}
|
|
10245
|
-
if (input.ChecksumSHA256
|
|
10245
|
+
if (input.ChecksumSHA256 != null) {
|
|
10246
10246
|
var node = new __XmlNode("ChecksumSHA256")
|
|
10247
10247
|
.addChildNode(new __XmlText(input.ChecksumSHA256))
|
|
10248
10248
|
.withName("ChecksumSHA256");
|
|
10249
10249
|
bodyNode.addChildNode(node);
|
|
10250
10250
|
}
|
|
10251
|
-
if (input.PartNumber
|
|
10251
|
+
if (input.PartNumber != null) {
|
|
10252
10252
|
var node = new __XmlNode("PartNumber")
|
|
10253
10253
|
.addChildNode(new __XmlText(String(input.PartNumber)))
|
|
10254
10254
|
.withName("PartNumber");
|
|
@@ -10269,13 +10269,13 @@ var serializeAws_restXmlCompletedPartList = function (input, context) {
|
|
|
10269
10269
|
};
|
|
10270
10270
|
var serializeAws_restXmlCondition = function (input, context) {
|
|
10271
10271
|
var bodyNode = new __XmlNode("Condition");
|
|
10272
|
-
if (input.HttpErrorCodeReturnedEquals
|
|
10272
|
+
if (input.HttpErrorCodeReturnedEquals != null) {
|
|
10273
10273
|
var node = new __XmlNode("HttpErrorCodeReturnedEquals")
|
|
10274
10274
|
.addChildNode(new __XmlText(input.HttpErrorCodeReturnedEquals))
|
|
10275
10275
|
.withName("HttpErrorCodeReturnedEquals");
|
|
10276
10276
|
bodyNode.addChildNode(node);
|
|
10277
10277
|
}
|
|
10278
|
-
if (input.KeyPrefixEquals
|
|
10278
|
+
if (input.KeyPrefixEquals != null) {
|
|
10279
10279
|
var node = new __XmlNode("KeyPrefixEquals")
|
|
10280
10280
|
.addChildNode(new __XmlText(input.KeyPrefixEquals))
|
|
10281
10281
|
.withName("KeyPrefixEquals");
|
|
@@ -10285,7 +10285,7 @@ var serializeAws_restXmlCondition = function (input, context) {
|
|
|
10285
10285
|
};
|
|
10286
10286
|
var serializeAws_restXmlCORSConfiguration = function (input, context) {
|
|
10287
10287
|
var bodyNode = new __XmlNode("CORSConfiguration");
|
|
10288
|
-
if (input.CORSRules
|
|
10288
|
+
if (input.CORSRules != null) {
|
|
10289
10289
|
var nodes = serializeAws_restXmlCORSRules(input.CORSRules, context);
|
|
10290
10290
|
nodes.map(function (node) {
|
|
10291
10291
|
node = node.withName("CORSRule");
|
|
@@ -10296,39 +10296,39 @@ var serializeAws_restXmlCORSConfiguration = function (input, context) {
|
|
|
10296
10296
|
};
|
|
10297
10297
|
var serializeAws_restXmlCORSRule = function (input, context) {
|
|
10298
10298
|
var bodyNode = new __XmlNode("CORSRule");
|
|
10299
|
-
if (input.ID
|
|
10299
|
+
if (input.ID != null) {
|
|
10300
10300
|
var node = new __XmlNode("ID").addChildNode(new __XmlText(input.ID)).withName("ID");
|
|
10301
10301
|
bodyNode.addChildNode(node);
|
|
10302
10302
|
}
|
|
10303
|
-
if (input.AllowedHeaders
|
|
10303
|
+
if (input.AllowedHeaders != null) {
|
|
10304
10304
|
var nodes = serializeAws_restXmlAllowedHeaders(input.AllowedHeaders, context);
|
|
10305
10305
|
nodes.map(function (node) {
|
|
10306
10306
|
node = node.withName("AllowedHeader");
|
|
10307
10307
|
bodyNode.addChildNode(node);
|
|
10308
10308
|
});
|
|
10309
10309
|
}
|
|
10310
|
-
if (input.AllowedMethods
|
|
10310
|
+
if (input.AllowedMethods != null) {
|
|
10311
10311
|
var nodes = serializeAws_restXmlAllowedMethods(input.AllowedMethods, context);
|
|
10312
10312
|
nodes.map(function (node) {
|
|
10313
10313
|
node = node.withName("AllowedMethod");
|
|
10314
10314
|
bodyNode.addChildNode(node);
|
|
10315
10315
|
});
|
|
10316
10316
|
}
|
|
10317
|
-
if (input.AllowedOrigins
|
|
10317
|
+
if (input.AllowedOrigins != null) {
|
|
10318
10318
|
var nodes = serializeAws_restXmlAllowedOrigins(input.AllowedOrigins, context);
|
|
10319
10319
|
nodes.map(function (node) {
|
|
10320
10320
|
node = node.withName("AllowedOrigin");
|
|
10321
10321
|
bodyNode.addChildNode(node);
|
|
10322
10322
|
});
|
|
10323
10323
|
}
|
|
10324
|
-
if (input.ExposeHeaders
|
|
10324
|
+
if (input.ExposeHeaders != null) {
|
|
10325
10325
|
var nodes = serializeAws_restXmlExposeHeaders(input.ExposeHeaders, context);
|
|
10326
10326
|
nodes.map(function (node) {
|
|
10327
10327
|
node = node.withName("ExposeHeader");
|
|
10328
10328
|
bodyNode.addChildNode(node);
|
|
10329
10329
|
});
|
|
10330
10330
|
}
|
|
10331
|
-
if (input.MaxAgeSeconds
|
|
10331
|
+
if (input.MaxAgeSeconds != null) {
|
|
10332
10332
|
var node = new __XmlNode("MaxAgeSeconds")
|
|
10333
10333
|
.addChildNode(new __XmlText(String(input.MaxAgeSeconds)))
|
|
10334
10334
|
.withName("MaxAgeSeconds");
|
|
@@ -10349,7 +10349,7 @@ var serializeAws_restXmlCORSRules = function (input, context) {
|
|
|
10349
10349
|
};
|
|
10350
10350
|
var serializeAws_restXmlCreateBucketConfiguration = function (input, context) {
|
|
10351
10351
|
var bodyNode = new __XmlNode("CreateBucketConfiguration");
|
|
10352
|
-
if (input.LocationConstraint
|
|
10352
|
+
if (input.LocationConstraint != null) {
|
|
10353
10353
|
var node = new __XmlNode("BucketLocationConstraint")
|
|
10354
10354
|
.addChildNode(new __XmlText(input.LocationConstraint))
|
|
10355
10355
|
.withName("LocationConstraint");
|
|
@@ -10359,41 +10359,41 @@ var serializeAws_restXmlCreateBucketConfiguration = function (input, context) {
|
|
|
10359
10359
|
};
|
|
10360
10360
|
var serializeAws_restXmlCSVInput = function (input, context) {
|
|
10361
10361
|
var bodyNode = new __XmlNode("CSVInput");
|
|
10362
|
-
if (input.FileHeaderInfo
|
|
10362
|
+
if (input.FileHeaderInfo != null) {
|
|
10363
10363
|
var node = new __XmlNode("FileHeaderInfo")
|
|
10364
10364
|
.addChildNode(new __XmlText(input.FileHeaderInfo))
|
|
10365
10365
|
.withName("FileHeaderInfo");
|
|
10366
10366
|
bodyNode.addChildNode(node);
|
|
10367
10367
|
}
|
|
10368
|
-
if (input.Comments
|
|
10368
|
+
if (input.Comments != null) {
|
|
10369
10369
|
var node = new __XmlNode("Comments").addChildNode(new __XmlText(input.Comments)).withName("Comments");
|
|
10370
10370
|
bodyNode.addChildNode(node);
|
|
10371
10371
|
}
|
|
10372
|
-
if (input.QuoteEscapeCharacter
|
|
10372
|
+
if (input.QuoteEscapeCharacter != null) {
|
|
10373
10373
|
var node = new __XmlNode("QuoteEscapeCharacter")
|
|
10374
10374
|
.addChildNode(new __XmlText(input.QuoteEscapeCharacter))
|
|
10375
10375
|
.withName("QuoteEscapeCharacter");
|
|
10376
10376
|
bodyNode.addChildNode(node);
|
|
10377
10377
|
}
|
|
10378
|
-
if (input.RecordDelimiter
|
|
10378
|
+
if (input.RecordDelimiter != null) {
|
|
10379
10379
|
var node = new __XmlNode("RecordDelimiter")
|
|
10380
10380
|
.addChildNode(new __XmlText(input.RecordDelimiter))
|
|
10381
10381
|
.withName("RecordDelimiter");
|
|
10382
10382
|
bodyNode.addChildNode(node);
|
|
10383
10383
|
}
|
|
10384
|
-
if (input.FieldDelimiter
|
|
10384
|
+
if (input.FieldDelimiter != null) {
|
|
10385
10385
|
var node = new __XmlNode("FieldDelimiter")
|
|
10386
10386
|
.addChildNode(new __XmlText(input.FieldDelimiter))
|
|
10387
10387
|
.withName("FieldDelimiter");
|
|
10388
10388
|
bodyNode.addChildNode(node);
|
|
10389
10389
|
}
|
|
10390
|
-
if (input.QuoteCharacter
|
|
10390
|
+
if (input.QuoteCharacter != null) {
|
|
10391
10391
|
var node = new __XmlNode("QuoteCharacter")
|
|
10392
10392
|
.addChildNode(new __XmlText(input.QuoteCharacter))
|
|
10393
10393
|
.withName("QuoteCharacter");
|
|
10394
10394
|
bodyNode.addChildNode(node);
|
|
10395
10395
|
}
|
|
10396
|
-
if (input.AllowQuotedRecordDelimiter
|
|
10396
|
+
if (input.AllowQuotedRecordDelimiter != null) {
|
|
10397
10397
|
var node = new __XmlNode("AllowQuotedRecordDelimiter")
|
|
10398
10398
|
.addChildNode(new __XmlText(String(input.AllowQuotedRecordDelimiter)))
|
|
10399
10399
|
.withName("AllowQuotedRecordDelimiter");
|
|
@@ -10403,29 +10403,29 @@ var serializeAws_restXmlCSVInput = function (input, context) {
|
|
|
10403
10403
|
};
|
|
10404
10404
|
var serializeAws_restXmlCSVOutput = function (input, context) {
|
|
10405
10405
|
var bodyNode = new __XmlNode("CSVOutput");
|
|
10406
|
-
if (input.QuoteFields
|
|
10406
|
+
if (input.QuoteFields != null) {
|
|
10407
10407
|
var node = new __XmlNode("QuoteFields").addChildNode(new __XmlText(input.QuoteFields)).withName("QuoteFields");
|
|
10408
10408
|
bodyNode.addChildNode(node);
|
|
10409
10409
|
}
|
|
10410
|
-
if (input.QuoteEscapeCharacter
|
|
10410
|
+
if (input.QuoteEscapeCharacter != null) {
|
|
10411
10411
|
var node = new __XmlNode("QuoteEscapeCharacter")
|
|
10412
10412
|
.addChildNode(new __XmlText(input.QuoteEscapeCharacter))
|
|
10413
10413
|
.withName("QuoteEscapeCharacter");
|
|
10414
10414
|
bodyNode.addChildNode(node);
|
|
10415
10415
|
}
|
|
10416
|
-
if (input.RecordDelimiter
|
|
10416
|
+
if (input.RecordDelimiter != null) {
|
|
10417
10417
|
var node = new __XmlNode("RecordDelimiter")
|
|
10418
10418
|
.addChildNode(new __XmlText(input.RecordDelimiter))
|
|
10419
10419
|
.withName("RecordDelimiter");
|
|
10420
10420
|
bodyNode.addChildNode(node);
|
|
10421
10421
|
}
|
|
10422
|
-
if (input.FieldDelimiter
|
|
10422
|
+
if (input.FieldDelimiter != null) {
|
|
10423
10423
|
var node = new __XmlNode("FieldDelimiter")
|
|
10424
10424
|
.addChildNode(new __XmlText(input.FieldDelimiter))
|
|
10425
10425
|
.withName("FieldDelimiter");
|
|
10426
10426
|
bodyNode.addChildNode(node);
|
|
10427
10427
|
}
|
|
10428
|
-
if (input.QuoteCharacter
|
|
10428
|
+
if (input.QuoteCharacter != null) {
|
|
10429
10429
|
var node = new __XmlNode("QuoteCharacter")
|
|
10430
10430
|
.addChildNode(new __XmlText(input.QuoteCharacter))
|
|
10431
10431
|
.withName("QuoteCharacter");
|
|
@@ -10435,15 +10435,15 @@ var serializeAws_restXmlCSVOutput = function (input, context) {
|
|
|
10435
10435
|
};
|
|
10436
10436
|
var serializeAws_restXmlDefaultRetention = function (input, context) {
|
|
10437
10437
|
var bodyNode = new __XmlNode("DefaultRetention");
|
|
10438
|
-
if (input.Mode
|
|
10438
|
+
if (input.Mode != null) {
|
|
10439
10439
|
var node = new __XmlNode("ObjectLockRetentionMode").addChildNode(new __XmlText(input.Mode)).withName("Mode");
|
|
10440
10440
|
bodyNode.addChildNode(node);
|
|
10441
10441
|
}
|
|
10442
|
-
if (input.Days
|
|
10442
|
+
if (input.Days != null) {
|
|
10443
10443
|
var node = new __XmlNode("Days").addChildNode(new __XmlText(String(input.Days))).withName("Days");
|
|
10444
10444
|
bodyNode.addChildNode(node);
|
|
10445
10445
|
}
|
|
10446
|
-
if (input.Years
|
|
10446
|
+
if (input.Years != null) {
|
|
10447
10447
|
var node = new __XmlNode("Years").addChildNode(new __XmlText(String(input.Years))).withName("Years");
|
|
10448
10448
|
bodyNode.addChildNode(node);
|
|
10449
10449
|
}
|
|
@@ -10451,14 +10451,14 @@ var serializeAws_restXmlDefaultRetention = function (input, context) {
|
|
|
10451
10451
|
};
|
|
10452
10452
|
var serializeAws_restXmlDelete = function (input, context) {
|
|
10453
10453
|
var bodyNode = new __XmlNode("Delete");
|
|
10454
|
-
if (input.Objects
|
|
10454
|
+
if (input.Objects != null) {
|
|
10455
10455
|
var nodes = serializeAws_restXmlObjectIdentifierList(input.Objects, context);
|
|
10456
10456
|
nodes.map(function (node) {
|
|
10457
10457
|
node = node.withName("Object");
|
|
10458
10458
|
bodyNode.addChildNode(node);
|
|
10459
10459
|
});
|
|
10460
10460
|
}
|
|
10461
|
-
if (input.Quiet
|
|
10461
|
+
if (input.Quiet != null) {
|
|
10462
10462
|
var node = new __XmlNode("Quiet").addChildNode(new __XmlText(String(input.Quiet))).withName("Quiet");
|
|
10463
10463
|
bodyNode.addChildNode(node);
|
|
10464
10464
|
}
|
|
@@ -10466,7 +10466,7 @@ var serializeAws_restXmlDelete = function (input, context) {
|
|
|
10466
10466
|
};
|
|
10467
10467
|
var serializeAws_restXmlDeleteMarkerReplication = function (input, context) {
|
|
10468
10468
|
var bodyNode = new __XmlNode("DeleteMarkerReplication");
|
|
10469
|
-
if (input.Status
|
|
10469
|
+
if (input.Status != null) {
|
|
10470
10470
|
var node = new __XmlNode("DeleteMarkerReplicationStatus")
|
|
10471
10471
|
.addChildNode(new __XmlText(input.Status))
|
|
10472
10472
|
.withName("Status");
|
|
@@ -10476,31 +10476,31 @@ var serializeAws_restXmlDeleteMarkerReplication = function (input, context) {
|
|
|
10476
10476
|
};
|
|
10477
10477
|
var serializeAws_restXmlDestination = function (input, context) {
|
|
10478
10478
|
var bodyNode = new __XmlNode("Destination");
|
|
10479
|
-
if (input.Bucket
|
|
10479
|
+
if (input.Bucket != null) {
|
|
10480
10480
|
var node = new __XmlNode("BucketName").addChildNode(new __XmlText(input.Bucket)).withName("Bucket");
|
|
10481
10481
|
bodyNode.addChildNode(node);
|
|
10482
10482
|
}
|
|
10483
|
-
if (input.Account
|
|
10483
|
+
if (input.Account != null) {
|
|
10484
10484
|
var node = new __XmlNode("AccountId").addChildNode(new __XmlText(input.Account)).withName("Account");
|
|
10485
10485
|
bodyNode.addChildNode(node);
|
|
10486
10486
|
}
|
|
10487
|
-
if (input.StorageClass
|
|
10487
|
+
if (input.StorageClass != null) {
|
|
10488
10488
|
var node = new __XmlNode("StorageClass").addChildNode(new __XmlText(input.StorageClass)).withName("StorageClass");
|
|
10489
10489
|
bodyNode.addChildNode(node);
|
|
10490
10490
|
}
|
|
10491
|
-
if (input.AccessControlTranslation
|
|
10491
|
+
if (input.AccessControlTranslation != null) {
|
|
10492
10492
|
var node = serializeAws_restXmlAccessControlTranslation(input.AccessControlTranslation, context).withName("AccessControlTranslation");
|
|
10493
10493
|
bodyNode.addChildNode(node);
|
|
10494
10494
|
}
|
|
10495
|
-
if (input.EncryptionConfiguration
|
|
10495
|
+
if (input.EncryptionConfiguration != null) {
|
|
10496
10496
|
var node = serializeAws_restXmlEncryptionConfiguration(input.EncryptionConfiguration, context).withName("EncryptionConfiguration");
|
|
10497
10497
|
bodyNode.addChildNode(node);
|
|
10498
10498
|
}
|
|
10499
|
-
if (input.ReplicationTime
|
|
10499
|
+
if (input.ReplicationTime != null) {
|
|
10500
10500
|
var node = serializeAws_restXmlReplicationTime(input.ReplicationTime, context).withName("ReplicationTime");
|
|
10501
10501
|
bodyNode.addChildNode(node);
|
|
10502
10502
|
}
|
|
10503
|
-
if (input.Metrics
|
|
10503
|
+
if (input.Metrics != null) {
|
|
10504
10504
|
var node = serializeAws_restXmlMetrics(input.Metrics, context).withName("Metrics");
|
|
10505
10505
|
bodyNode.addChildNode(node);
|
|
10506
10506
|
}
|
|
@@ -10508,17 +10508,17 @@ var serializeAws_restXmlDestination = function (input, context) {
|
|
|
10508
10508
|
};
|
|
10509
10509
|
var serializeAws_restXmlEncryption = function (input, context) {
|
|
10510
10510
|
var bodyNode = new __XmlNode("Encryption");
|
|
10511
|
-
if (input.EncryptionType
|
|
10511
|
+
if (input.EncryptionType != null) {
|
|
10512
10512
|
var node = new __XmlNode("ServerSideEncryption")
|
|
10513
10513
|
.addChildNode(new __XmlText(input.EncryptionType))
|
|
10514
10514
|
.withName("EncryptionType");
|
|
10515
10515
|
bodyNode.addChildNode(node);
|
|
10516
10516
|
}
|
|
10517
|
-
if (input.KMSKeyId
|
|
10517
|
+
if (input.KMSKeyId != null) {
|
|
10518
10518
|
var node = new __XmlNode("SSEKMSKeyId").addChildNode(new __XmlText(input.KMSKeyId)).withName("KMSKeyId");
|
|
10519
10519
|
bodyNode.addChildNode(node);
|
|
10520
10520
|
}
|
|
10521
|
-
if (input.KMSContext
|
|
10521
|
+
if (input.KMSContext != null) {
|
|
10522
10522
|
var node = new __XmlNode("KMSContext").addChildNode(new __XmlText(input.KMSContext)).withName("KMSContext");
|
|
10523
10523
|
bodyNode.addChildNode(node);
|
|
10524
10524
|
}
|
|
@@ -10526,7 +10526,7 @@ var serializeAws_restXmlEncryption = function (input, context) {
|
|
|
10526
10526
|
};
|
|
10527
10527
|
var serializeAws_restXmlEncryptionConfiguration = function (input, context) {
|
|
10528
10528
|
var bodyNode = new __XmlNode("EncryptionConfiguration");
|
|
10529
|
-
if (input.ReplicaKmsKeyID
|
|
10529
|
+
if (input.ReplicaKmsKeyID != null) {
|
|
10530
10530
|
var node = new __XmlNode("ReplicaKmsKeyID")
|
|
10531
10531
|
.addChildNode(new __XmlText(input.ReplicaKmsKeyID))
|
|
10532
10532
|
.withName("ReplicaKmsKeyID");
|
|
@@ -10536,7 +10536,7 @@ var serializeAws_restXmlEncryptionConfiguration = function (input, context) {
|
|
|
10536
10536
|
};
|
|
10537
10537
|
var serializeAws_restXmlErrorDocument = function (input, context) {
|
|
10538
10538
|
var bodyNode = new __XmlNode("ErrorDocument");
|
|
10539
|
-
if (input.Key
|
|
10539
|
+
if (input.Key != null) {
|
|
10540
10540
|
var node = new __XmlNode("ObjectKey").addChildNode(new __XmlText(input.Key)).withName("Key");
|
|
10541
10541
|
bodyNode.addChildNode(node);
|
|
10542
10542
|
}
|
|
@@ -10559,7 +10559,7 @@ var serializeAws_restXmlEventList = function (input, context) {
|
|
|
10559
10559
|
};
|
|
10560
10560
|
var serializeAws_restXmlExistingObjectReplication = function (input, context) {
|
|
10561
10561
|
var bodyNode = new __XmlNode("ExistingObjectReplication");
|
|
10562
|
-
if (input.Status
|
|
10562
|
+
if (input.Status != null) {
|
|
10563
10563
|
var node = new __XmlNode("ExistingObjectReplicationStatus")
|
|
10564
10564
|
.addChildNode(new __XmlText(input.Status))
|
|
10565
10565
|
.withName("Status");
|
|
@@ -10580,11 +10580,11 @@ var serializeAws_restXmlExposeHeaders = function (input, context) {
|
|
|
10580
10580
|
};
|
|
10581
10581
|
var serializeAws_restXmlFilterRule = function (input, context) {
|
|
10582
10582
|
var bodyNode = new __XmlNode("FilterRule");
|
|
10583
|
-
if (input.Name
|
|
10583
|
+
if (input.Name != null) {
|
|
10584
10584
|
var node = new __XmlNode("FilterRuleName").addChildNode(new __XmlText(input.Name)).withName("Name");
|
|
10585
10585
|
bodyNode.addChildNode(node);
|
|
10586
10586
|
}
|
|
10587
|
-
if (input.Value
|
|
10587
|
+
if (input.Value != null) {
|
|
10588
10588
|
var node = new __XmlNode("FilterRuleValue").addChildNode(new __XmlText(input.Value)).withName("Value");
|
|
10589
10589
|
bodyNode.addChildNode(node);
|
|
10590
10590
|
}
|
|
@@ -10603,7 +10603,7 @@ var serializeAws_restXmlFilterRuleList = function (input, context) {
|
|
|
10603
10603
|
};
|
|
10604
10604
|
var serializeAws_restXmlGlacierJobParameters = function (input, context) {
|
|
10605
10605
|
var bodyNode = new __XmlNode("GlacierJobParameters");
|
|
10606
|
-
if (input.Tier
|
|
10606
|
+
if (input.Tier != null) {
|
|
10607
10607
|
var node = new __XmlNode("Tier").addChildNode(new __XmlText(input.Tier)).withName("Tier");
|
|
10608
10608
|
bodyNode.addChildNode(node);
|
|
10609
10609
|
}
|
|
@@ -10611,12 +10611,12 @@ var serializeAws_restXmlGlacierJobParameters = function (input, context) {
|
|
|
10611
10611
|
};
|
|
10612
10612
|
var serializeAws_restXmlGrant = function (input, context) {
|
|
10613
10613
|
var bodyNode = new __XmlNode("Grant");
|
|
10614
|
-
if (input.Grantee
|
|
10614
|
+
if (input.Grantee != null) {
|
|
10615
10615
|
var node = serializeAws_restXmlGrantee(input.Grantee, context).withName("Grantee");
|
|
10616
10616
|
node.addAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
|
|
10617
10617
|
bodyNode.addChildNode(node);
|
|
10618
10618
|
}
|
|
10619
|
-
if (input.Permission
|
|
10619
|
+
if (input.Permission != null) {
|
|
10620
10620
|
var node = new __XmlNode("Permission").addChildNode(new __XmlText(input.Permission)).withName("Permission");
|
|
10621
10621
|
bodyNode.addChildNode(node);
|
|
10622
10622
|
}
|
|
@@ -10624,23 +10624,23 @@ var serializeAws_restXmlGrant = function (input, context) {
|
|
|
10624
10624
|
};
|
|
10625
10625
|
var serializeAws_restXmlGrantee = function (input, context) {
|
|
10626
10626
|
var bodyNode = new __XmlNode("Grantee");
|
|
10627
|
-
if (input.DisplayName
|
|
10627
|
+
if (input.DisplayName != null) {
|
|
10628
10628
|
var node = new __XmlNode("DisplayName").addChildNode(new __XmlText(input.DisplayName)).withName("DisplayName");
|
|
10629
10629
|
bodyNode.addChildNode(node);
|
|
10630
10630
|
}
|
|
10631
|
-
if (input.EmailAddress
|
|
10631
|
+
if (input.EmailAddress != null) {
|
|
10632
10632
|
var node = new __XmlNode("EmailAddress").addChildNode(new __XmlText(input.EmailAddress)).withName("EmailAddress");
|
|
10633
10633
|
bodyNode.addChildNode(node);
|
|
10634
10634
|
}
|
|
10635
|
-
if (input.ID
|
|
10635
|
+
if (input.ID != null) {
|
|
10636
10636
|
var node = new __XmlNode("ID").addChildNode(new __XmlText(input.ID)).withName("ID");
|
|
10637
10637
|
bodyNode.addChildNode(node);
|
|
10638
10638
|
}
|
|
10639
|
-
if (input.URI
|
|
10639
|
+
if (input.URI != null) {
|
|
10640
10640
|
var node = new __XmlNode("URI").addChildNode(new __XmlText(input.URI)).withName("URI");
|
|
10641
10641
|
bodyNode.addChildNode(node);
|
|
10642
10642
|
}
|
|
10643
|
-
if (input.Type
|
|
10643
|
+
if (input.Type != null) {
|
|
10644
10644
|
bodyNode.addAttribute("xsi:type", input.Type);
|
|
10645
10645
|
}
|
|
10646
10646
|
return bodyNode;
|
|
@@ -10658,7 +10658,7 @@ var serializeAws_restXmlGrants = function (input, context) {
|
|
|
10658
10658
|
};
|
|
10659
10659
|
var serializeAws_restXmlIndexDocument = function (input, context) {
|
|
10660
10660
|
var bodyNode = new __XmlNode("IndexDocument");
|
|
10661
|
-
if (input.Suffix
|
|
10661
|
+
if (input.Suffix != null) {
|
|
10662
10662
|
var node = new __XmlNode("Suffix").addChildNode(new __XmlText(input.Suffix)).withName("Suffix");
|
|
10663
10663
|
bodyNode.addChildNode(node);
|
|
10664
10664
|
}
|
|
@@ -10666,21 +10666,21 @@ var serializeAws_restXmlIndexDocument = function (input, context) {
|
|
|
10666
10666
|
};
|
|
10667
10667
|
var serializeAws_restXmlInputSerialization = function (input, context) {
|
|
10668
10668
|
var bodyNode = new __XmlNode("InputSerialization");
|
|
10669
|
-
if (input.CSV
|
|
10669
|
+
if (input.CSV != null) {
|
|
10670
10670
|
var node = serializeAws_restXmlCSVInput(input.CSV, context).withName("CSV");
|
|
10671
10671
|
bodyNode.addChildNode(node);
|
|
10672
10672
|
}
|
|
10673
|
-
if (input.CompressionType
|
|
10673
|
+
if (input.CompressionType != null) {
|
|
10674
10674
|
var node = new __XmlNode("CompressionType")
|
|
10675
10675
|
.addChildNode(new __XmlText(input.CompressionType))
|
|
10676
10676
|
.withName("CompressionType");
|
|
10677
10677
|
bodyNode.addChildNode(node);
|
|
10678
10678
|
}
|
|
10679
|
-
if (input.JSON
|
|
10679
|
+
if (input.JSON != null) {
|
|
10680
10680
|
var node = serializeAws_restXmlJSONInput(input.JSON, context).withName("JSON");
|
|
10681
10681
|
bodyNode.addChildNode(node);
|
|
10682
10682
|
}
|
|
10683
|
-
if (input.Parquet
|
|
10683
|
+
if (input.Parquet != null) {
|
|
10684
10684
|
var node = serializeAws_restXmlParquetInput(input.Parquet, context).withName("Parquet");
|
|
10685
10685
|
bodyNode.addChildNode(node);
|
|
10686
10686
|
}
|
|
@@ -10688,11 +10688,11 @@ var serializeAws_restXmlInputSerialization = function (input, context) {
|
|
|
10688
10688
|
};
|
|
10689
10689
|
var serializeAws_restXmlIntelligentTieringAndOperator = function (input, context) {
|
|
10690
10690
|
var bodyNode = new __XmlNode("IntelligentTieringAndOperator");
|
|
10691
|
-
if (input.Prefix
|
|
10691
|
+
if (input.Prefix != null) {
|
|
10692
10692
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
10693
10693
|
bodyNode.addChildNode(node);
|
|
10694
10694
|
}
|
|
10695
|
-
if (input.Tags
|
|
10695
|
+
if (input.Tags != null) {
|
|
10696
10696
|
var nodes = serializeAws_restXmlTagSet(input.Tags, context);
|
|
10697
10697
|
nodes.map(function (node) {
|
|
10698
10698
|
node = node.withName("Tag");
|
|
@@ -10703,19 +10703,19 @@ var serializeAws_restXmlIntelligentTieringAndOperator = function (input, context
|
|
|
10703
10703
|
};
|
|
10704
10704
|
var serializeAws_restXmlIntelligentTieringConfiguration = function (input, context) {
|
|
10705
10705
|
var bodyNode = new __XmlNode("IntelligentTieringConfiguration");
|
|
10706
|
-
if (input.Id
|
|
10706
|
+
if (input.Id != null) {
|
|
10707
10707
|
var node = new __XmlNode("IntelligentTieringId").addChildNode(new __XmlText(input.Id)).withName("Id");
|
|
10708
10708
|
bodyNode.addChildNode(node);
|
|
10709
10709
|
}
|
|
10710
|
-
if (input.Filter
|
|
10710
|
+
if (input.Filter != null) {
|
|
10711
10711
|
var node = serializeAws_restXmlIntelligentTieringFilter(input.Filter, context).withName("Filter");
|
|
10712
10712
|
bodyNode.addChildNode(node);
|
|
10713
10713
|
}
|
|
10714
|
-
if (input.Status
|
|
10714
|
+
if (input.Status != null) {
|
|
10715
10715
|
var node = new __XmlNode("IntelligentTieringStatus").addChildNode(new __XmlText(input.Status)).withName("Status");
|
|
10716
10716
|
bodyNode.addChildNode(node);
|
|
10717
10717
|
}
|
|
10718
|
-
if (input.Tierings
|
|
10718
|
+
if (input.Tierings != null) {
|
|
10719
10719
|
var nodes = serializeAws_restXmlTieringList(input.Tierings, context);
|
|
10720
10720
|
nodes.map(function (node) {
|
|
10721
10721
|
node = node.withName("Tiering");
|
|
@@ -10726,15 +10726,15 @@ var serializeAws_restXmlIntelligentTieringConfiguration = function (input, conte
|
|
|
10726
10726
|
};
|
|
10727
10727
|
var serializeAws_restXmlIntelligentTieringFilter = function (input, context) {
|
|
10728
10728
|
var bodyNode = new __XmlNode("IntelligentTieringFilter");
|
|
10729
|
-
if (input.Prefix
|
|
10729
|
+
if (input.Prefix != null) {
|
|
10730
10730
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
10731
10731
|
bodyNode.addChildNode(node);
|
|
10732
10732
|
}
|
|
10733
|
-
if (input.Tag
|
|
10733
|
+
if (input.Tag != null) {
|
|
10734
10734
|
var node = serializeAws_restXmlTag(input.Tag, context).withName("Tag");
|
|
10735
10735
|
bodyNode.addChildNode(node);
|
|
10736
10736
|
}
|
|
10737
|
-
if (input.And
|
|
10737
|
+
if (input.And != null) {
|
|
10738
10738
|
var node = serializeAws_restXmlIntelligentTieringAndOperator(input.And, context).withName("And");
|
|
10739
10739
|
bodyNode.addChildNode(node);
|
|
10740
10740
|
}
|
|
@@ -10742,29 +10742,29 @@ var serializeAws_restXmlIntelligentTieringFilter = function (input, context) {
|
|
|
10742
10742
|
};
|
|
10743
10743
|
var serializeAws_restXmlInventoryConfiguration = function (input, context) {
|
|
10744
10744
|
var bodyNode = new __XmlNode("InventoryConfiguration");
|
|
10745
|
-
if (input.Destination
|
|
10745
|
+
if (input.Destination != null) {
|
|
10746
10746
|
var node = serializeAws_restXmlInventoryDestination(input.Destination, context).withName("Destination");
|
|
10747
10747
|
bodyNode.addChildNode(node);
|
|
10748
10748
|
}
|
|
10749
|
-
if (input.IsEnabled
|
|
10749
|
+
if (input.IsEnabled != null) {
|
|
10750
10750
|
var node = new __XmlNode("IsEnabled").addChildNode(new __XmlText(String(input.IsEnabled))).withName("IsEnabled");
|
|
10751
10751
|
bodyNode.addChildNode(node);
|
|
10752
10752
|
}
|
|
10753
|
-
if (input.Filter
|
|
10753
|
+
if (input.Filter != null) {
|
|
10754
10754
|
var node = serializeAws_restXmlInventoryFilter(input.Filter, context).withName("Filter");
|
|
10755
10755
|
bodyNode.addChildNode(node);
|
|
10756
10756
|
}
|
|
10757
|
-
if (input.Id
|
|
10757
|
+
if (input.Id != null) {
|
|
10758
10758
|
var node = new __XmlNode("InventoryId").addChildNode(new __XmlText(input.Id)).withName("Id");
|
|
10759
10759
|
bodyNode.addChildNode(node);
|
|
10760
10760
|
}
|
|
10761
|
-
if (input.IncludedObjectVersions
|
|
10761
|
+
if (input.IncludedObjectVersions != null) {
|
|
10762
10762
|
var node = new __XmlNode("InventoryIncludedObjectVersions")
|
|
10763
10763
|
.addChildNode(new __XmlText(input.IncludedObjectVersions))
|
|
10764
10764
|
.withName("IncludedObjectVersions");
|
|
10765
10765
|
bodyNode.addChildNode(node);
|
|
10766
10766
|
}
|
|
10767
|
-
if (input.OptionalFields
|
|
10767
|
+
if (input.OptionalFields != null) {
|
|
10768
10768
|
var nodes = serializeAws_restXmlInventoryOptionalFields(input.OptionalFields, context);
|
|
10769
10769
|
var containerNode_2 = new __XmlNode("OptionalFields");
|
|
10770
10770
|
nodes.map(function (node) {
|
|
@@ -10772,7 +10772,7 @@ var serializeAws_restXmlInventoryConfiguration = function (input, context) {
|
|
|
10772
10772
|
});
|
|
10773
10773
|
bodyNode.addChildNode(containerNode_2);
|
|
10774
10774
|
}
|
|
10775
|
-
if (input.Schedule
|
|
10775
|
+
if (input.Schedule != null) {
|
|
10776
10776
|
var node = serializeAws_restXmlInventorySchedule(input.Schedule, context).withName("Schedule");
|
|
10777
10777
|
bodyNode.addChildNode(node);
|
|
10778
10778
|
}
|
|
@@ -10780,7 +10780,7 @@ var serializeAws_restXmlInventoryConfiguration = function (input, context) {
|
|
|
10780
10780
|
};
|
|
10781
10781
|
var serializeAws_restXmlInventoryDestination = function (input, context) {
|
|
10782
10782
|
var bodyNode = new __XmlNode("InventoryDestination");
|
|
10783
|
-
if (input.S3BucketDestination
|
|
10783
|
+
if (input.S3BucketDestination != null) {
|
|
10784
10784
|
var node = serializeAws_restXmlInventoryS3BucketDestination(input.S3BucketDestination, context).withName("S3BucketDestination");
|
|
10785
10785
|
bodyNode.addChildNode(node);
|
|
10786
10786
|
}
|
|
@@ -10788,11 +10788,11 @@ var serializeAws_restXmlInventoryDestination = function (input, context) {
|
|
|
10788
10788
|
};
|
|
10789
10789
|
var serializeAws_restXmlInventoryEncryption = function (input, context) {
|
|
10790
10790
|
var bodyNode = new __XmlNode("InventoryEncryption");
|
|
10791
|
-
if (input.SSES3
|
|
10791
|
+
if (input.SSES3 != null) {
|
|
10792
10792
|
var node = serializeAws_restXmlSSES3(input.SSES3, context).withName("SSE-S3");
|
|
10793
10793
|
bodyNode.addChildNode(node);
|
|
10794
10794
|
}
|
|
10795
|
-
if (input.SSEKMS
|
|
10795
|
+
if (input.SSEKMS != null) {
|
|
10796
10796
|
var node = serializeAws_restXmlSSEKMS(input.SSEKMS, context).withName("SSE-KMS");
|
|
10797
10797
|
bodyNode.addChildNode(node);
|
|
10798
10798
|
}
|
|
@@ -10800,7 +10800,7 @@ var serializeAws_restXmlInventoryEncryption = function (input, context) {
|
|
|
10800
10800
|
};
|
|
10801
10801
|
var serializeAws_restXmlInventoryFilter = function (input, context) {
|
|
10802
10802
|
var bodyNode = new __XmlNode("InventoryFilter");
|
|
10803
|
-
if (input.Prefix
|
|
10803
|
+
if (input.Prefix != null) {
|
|
10804
10804
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
10805
10805
|
bodyNode.addChildNode(node);
|
|
10806
10806
|
}
|
|
@@ -10819,23 +10819,23 @@ var serializeAws_restXmlInventoryOptionalFields = function (input, context) {
|
|
|
10819
10819
|
};
|
|
10820
10820
|
var serializeAws_restXmlInventoryS3BucketDestination = function (input, context) {
|
|
10821
10821
|
var bodyNode = new __XmlNode("InventoryS3BucketDestination");
|
|
10822
|
-
if (input.AccountId
|
|
10822
|
+
if (input.AccountId != null) {
|
|
10823
10823
|
var node = new __XmlNode("AccountId").addChildNode(new __XmlText(input.AccountId)).withName("AccountId");
|
|
10824
10824
|
bodyNode.addChildNode(node);
|
|
10825
10825
|
}
|
|
10826
|
-
if (input.Bucket
|
|
10826
|
+
if (input.Bucket != null) {
|
|
10827
10827
|
var node = new __XmlNode("BucketName").addChildNode(new __XmlText(input.Bucket)).withName("Bucket");
|
|
10828
10828
|
bodyNode.addChildNode(node);
|
|
10829
10829
|
}
|
|
10830
|
-
if (input.Format
|
|
10830
|
+
if (input.Format != null) {
|
|
10831
10831
|
var node = new __XmlNode("InventoryFormat").addChildNode(new __XmlText(input.Format)).withName("Format");
|
|
10832
10832
|
bodyNode.addChildNode(node);
|
|
10833
10833
|
}
|
|
10834
|
-
if (input.Prefix
|
|
10834
|
+
if (input.Prefix != null) {
|
|
10835
10835
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
10836
10836
|
bodyNode.addChildNode(node);
|
|
10837
10837
|
}
|
|
10838
|
-
if (input.Encryption
|
|
10838
|
+
if (input.Encryption != null) {
|
|
10839
10839
|
var node = serializeAws_restXmlInventoryEncryption(input.Encryption, context).withName("Encryption");
|
|
10840
10840
|
bodyNode.addChildNode(node);
|
|
10841
10841
|
}
|
|
@@ -10843,7 +10843,7 @@ var serializeAws_restXmlInventoryS3BucketDestination = function (input, context)
|
|
|
10843
10843
|
};
|
|
10844
10844
|
var serializeAws_restXmlInventorySchedule = function (input, context) {
|
|
10845
10845
|
var bodyNode = new __XmlNode("InventorySchedule");
|
|
10846
|
-
if (input.Frequency
|
|
10846
|
+
if (input.Frequency != null) {
|
|
10847
10847
|
var node = new __XmlNode("InventoryFrequency").addChildNode(new __XmlText(input.Frequency)).withName("Frequency");
|
|
10848
10848
|
bodyNode.addChildNode(node);
|
|
10849
10849
|
}
|
|
@@ -10851,7 +10851,7 @@ var serializeAws_restXmlInventorySchedule = function (input, context) {
|
|
|
10851
10851
|
};
|
|
10852
10852
|
var serializeAws_restXmlJSONInput = function (input, context) {
|
|
10853
10853
|
var bodyNode = new __XmlNode("JSONInput");
|
|
10854
|
-
if (input.Type
|
|
10854
|
+
if (input.Type != null) {
|
|
10855
10855
|
var node = new __XmlNode("JSONType").addChildNode(new __XmlText(input.Type)).withName("Type");
|
|
10856
10856
|
bodyNode.addChildNode(node);
|
|
10857
10857
|
}
|
|
@@ -10859,7 +10859,7 @@ var serializeAws_restXmlJSONInput = function (input, context) {
|
|
|
10859
10859
|
};
|
|
10860
10860
|
var serializeAws_restXmlJSONOutput = function (input, context) {
|
|
10861
10861
|
var bodyNode = new __XmlNode("JSONOutput");
|
|
10862
|
-
if (input.RecordDelimiter
|
|
10862
|
+
if (input.RecordDelimiter != null) {
|
|
10863
10863
|
var node = new __XmlNode("RecordDelimiter")
|
|
10864
10864
|
.addChildNode(new __XmlText(input.RecordDelimiter))
|
|
10865
10865
|
.withName("RecordDelimiter");
|
|
@@ -10869,24 +10869,24 @@ var serializeAws_restXmlJSONOutput = function (input, context) {
|
|
|
10869
10869
|
};
|
|
10870
10870
|
var serializeAws_restXmlLambdaFunctionConfiguration = function (input, context) {
|
|
10871
10871
|
var bodyNode = new __XmlNode("LambdaFunctionConfiguration");
|
|
10872
|
-
if (input.Id
|
|
10872
|
+
if (input.Id != null) {
|
|
10873
10873
|
var node = new __XmlNode("NotificationId").addChildNode(new __XmlText(input.Id)).withName("Id");
|
|
10874
10874
|
bodyNode.addChildNode(node);
|
|
10875
10875
|
}
|
|
10876
|
-
if (input.LambdaFunctionArn
|
|
10876
|
+
if (input.LambdaFunctionArn != null) {
|
|
10877
10877
|
var node = new __XmlNode("LambdaFunctionArn")
|
|
10878
10878
|
.addChildNode(new __XmlText(input.LambdaFunctionArn))
|
|
10879
10879
|
.withName("CloudFunction");
|
|
10880
10880
|
bodyNode.addChildNode(node);
|
|
10881
10881
|
}
|
|
10882
|
-
if (input.Events
|
|
10882
|
+
if (input.Events != null) {
|
|
10883
10883
|
var nodes = serializeAws_restXmlEventList(input.Events, context);
|
|
10884
10884
|
nodes.map(function (node) {
|
|
10885
10885
|
node = node.withName("Event");
|
|
10886
10886
|
bodyNode.addChildNode(node);
|
|
10887
10887
|
});
|
|
10888
10888
|
}
|
|
10889
|
-
if (input.Filter
|
|
10889
|
+
if (input.Filter != null) {
|
|
10890
10890
|
var node = serializeAws_restXmlNotificationConfigurationFilter(input.Filter, context).withName("Filter");
|
|
10891
10891
|
bodyNode.addChildNode(node);
|
|
10892
10892
|
}
|
|
@@ -10905,17 +10905,17 @@ var serializeAws_restXmlLambdaFunctionConfigurationList = function (input, conte
|
|
|
10905
10905
|
};
|
|
10906
10906
|
var serializeAws_restXmlLifecycleExpiration = function (input, context) {
|
|
10907
10907
|
var bodyNode = new __XmlNode("LifecycleExpiration");
|
|
10908
|
-
if (input.Date
|
|
10908
|
+
if (input.Date != null) {
|
|
10909
10909
|
var node = new __XmlNode("Date")
|
|
10910
10910
|
.addChildNode(new __XmlText(input.Date.toISOString().split(".")[0] + "Z"))
|
|
10911
10911
|
.withName("Date");
|
|
10912
10912
|
bodyNode.addChildNode(node);
|
|
10913
10913
|
}
|
|
10914
|
-
if (input.Days
|
|
10914
|
+
if (input.Days != null) {
|
|
10915
10915
|
var node = new __XmlNode("Days").addChildNode(new __XmlText(String(input.Days))).withName("Days");
|
|
10916
10916
|
bodyNode.addChildNode(node);
|
|
10917
10917
|
}
|
|
10918
|
-
if (input.ExpiredObjectDeleteMarker
|
|
10918
|
+
if (input.ExpiredObjectDeleteMarker != null) {
|
|
10919
10919
|
var node = new __XmlNode("ExpiredObjectDeleteMarker")
|
|
10920
10920
|
.addChildNode(new __XmlText(String(input.ExpiredObjectDeleteMarker)))
|
|
10921
10921
|
.withName("ExpiredObjectDeleteMarker");
|
|
@@ -10925,45 +10925,45 @@ var serializeAws_restXmlLifecycleExpiration = function (input, context) {
|
|
|
10925
10925
|
};
|
|
10926
10926
|
var serializeAws_restXmlLifecycleRule = function (input, context) {
|
|
10927
10927
|
var bodyNode = new __XmlNode("LifecycleRule");
|
|
10928
|
-
if (input.Expiration
|
|
10928
|
+
if (input.Expiration != null) {
|
|
10929
10929
|
var node = serializeAws_restXmlLifecycleExpiration(input.Expiration, context).withName("Expiration");
|
|
10930
10930
|
bodyNode.addChildNode(node);
|
|
10931
10931
|
}
|
|
10932
|
-
if (input.ID
|
|
10932
|
+
if (input.ID != null) {
|
|
10933
10933
|
var node = new __XmlNode("ID").addChildNode(new __XmlText(input.ID)).withName("ID");
|
|
10934
10934
|
bodyNode.addChildNode(node);
|
|
10935
10935
|
}
|
|
10936
|
-
if (input.Prefix
|
|
10936
|
+
if (input.Prefix != null) {
|
|
10937
10937
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
10938
10938
|
bodyNode.addChildNode(node);
|
|
10939
10939
|
}
|
|
10940
|
-
if (input.Filter
|
|
10940
|
+
if (input.Filter != null) {
|
|
10941
10941
|
var node = serializeAws_restXmlLifecycleRuleFilter(input.Filter, context).withName("Filter");
|
|
10942
10942
|
bodyNode.addChildNode(node);
|
|
10943
10943
|
}
|
|
10944
|
-
if (input.Status
|
|
10944
|
+
if (input.Status != null) {
|
|
10945
10945
|
var node = new __XmlNode("ExpirationStatus").addChildNode(new __XmlText(input.Status)).withName("Status");
|
|
10946
10946
|
bodyNode.addChildNode(node);
|
|
10947
10947
|
}
|
|
10948
|
-
if (input.Transitions
|
|
10948
|
+
if (input.Transitions != null) {
|
|
10949
10949
|
var nodes = serializeAws_restXmlTransitionList(input.Transitions, context);
|
|
10950
10950
|
nodes.map(function (node) {
|
|
10951
10951
|
node = node.withName("Transition");
|
|
10952
10952
|
bodyNode.addChildNode(node);
|
|
10953
10953
|
});
|
|
10954
10954
|
}
|
|
10955
|
-
if (input.NoncurrentVersionTransitions
|
|
10955
|
+
if (input.NoncurrentVersionTransitions != null) {
|
|
10956
10956
|
var nodes = serializeAws_restXmlNoncurrentVersionTransitionList(input.NoncurrentVersionTransitions, context);
|
|
10957
10957
|
nodes.map(function (node) {
|
|
10958
10958
|
node = node.withName("NoncurrentVersionTransition");
|
|
10959
10959
|
bodyNode.addChildNode(node);
|
|
10960
10960
|
});
|
|
10961
10961
|
}
|
|
10962
|
-
if (input.NoncurrentVersionExpiration
|
|
10962
|
+
if (input.NoncurrentVersionExpiration != null) {
|
|
10963
10963
|
var node = serializeAws_restXmlNoncurrentVersionExpiration(input.NoncurrentVersionExpiration, context).withName("NoncurrentVersionExpiration");
|
|
10964
10964
|
bodyNode.addChildNode(node);
|
|
10965
10965
|
}
|
|
10966
|
-
if (input.AbortIncompleteMultipartUpload
|
|
10966
|
+
if (input.AbortIncompleteMultipartUpload != null) {
|
|
10967
10967
|
var node = serializeAws_restXmlAbortIncompleteMultipartUpload(input.AbortIncompleteMultipartUpload, context).withName("AbortIncompleteMultipartUpload");
|
|
10968
10968
|
bodyNode.addChildNode(node);
|
|
10969
10969
|
}
|
|
@@ -10971,24 +10971,24 @@ var serializeAws_restXmlLifecycleRule = function (input, context) {
|
|
|
10971
10971
|
};
|
|
10972
10972
|
var serializeAws_restXmlLifecycleRuleAndOperator = function (input, context) {
|
|
10973
10973
|
var bodyNode = new __XmlNode("LifecycleRuleAndOperator");
|
|
10974
|
-
if (input.Prefix
|
|
10974
|
+
if (input.Prefix != null) {
|
|
10975
10975
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
10976
10976
|
bodyNode.addChildNode(node);
|
|
10977
10977
|
}
|
|
10978
|
-
if (input.Tags
|
|
10978
|
+
if (input.Tags != null) {
|
|
10979
10979
|
var nodes = serializeAws_restXmlTagSet(input.Tags, context);
|
|
10980
10980
|
nodes.map(function (node) {
|
|
10981
10981
|
node = node.withName("Tag");
|
|
10982
10982
|
bodyNode.addChildNode(node);
|
|
10983
10983
|
});
|
|
10984
10984
|
}
|
|
10985
|
-
if (input.ObjectSizeGreaterThan
|
|
10985
|
+
if (input.ObjectSizeGreaterThan != null) {
|
|
10986
10986
|
var node = new __XmlNode("ObjectSizeGreaterThanBytes")
|
|
10987
10987
|
.addChildNode(new __XmlText(String(input.ObjectSizeGreaterThan)))
|
|
10988
10988
|
.withName("ObjectSizeGreaterThan");
|
|
10989
10989
|
bodyNode.addChildNode(node);
|
|
10990
10990
|
}
|
|
10991
|
-
if (input.ObjectSizeLessThan
|
|
10991
|
+
if (input.ObjectSizeLessThan != null) {
|
|
10992
10992
|
var node = new __XmlNode("ObjectSizeLessThanBytes")
|
|
10993
10993
|
.addChildNode(new __XmlText(String(input.ObjectSizeLessThan)))
|
|
10994
10994
|
.withName("ObjectSizeLessThan");
|
|
@@ -11045,11 +11045,11 @@ var serializeAws_restXmlLifecycleRules = function (input, context) {
|
|
|
11045
11045
|
};
|
|
11046
11046
|
var serializeAws_restXmlLoggingEnabled = function (input, context) {
|
|
11047
11047
|
var bodyNode = new __XmlNode("LoggingEnabled");
|
|
11048
|
-
if (input.TargetBucket
|
|
11048
|
+
if (input.TargetBucket != null) {
|
|
11049
11049
|
var node = new __XmlNode("TargetBucket").addChildNode(new __XmlText(input.TargetBucket)).withName("TargetBucket");
|
|
11050
11050
|
bodyNode.addChildNode(node);
|
|
11051
11051
|
}
|
|
11052
|
-
if (input.TargetGrants
|
|
11052
|
+
if (input.TargetGrants != null) {
|
|
11053
11053
|
var nodes = serializeAws_restXmlTargetGrants(input.TargetGrants, context);
|
|
11054
11054
|
var containerNode_3 = new __XmlNode("TargetGrants");
|
|
11055
11055
|
nodes.map(function (node) {
|
|
@@ -11057,7 +11057,7 @@ var serializeAws_restXmlLoggingEnabled = function (input, context) {
|
|
|
11057
11057
|
});
|
|
11058
11058
|
bodyNode.addChildNode(containerNode_3);
|
|
11059
11059
|
}
|
|
11060
|
-
if (input.TargetPrefix
|
|
11060
|
+
if (input.TargetPrefix != null) {
|
|
11061
11061
|
var node = new __XmlNode("TargetPrefix").addChildNode(new __XmlText(input.TargetPrefix)).withName("TargetPrefix");
|
|
11062
11062
|
bodyNode.addChildNode(node);
|
|
11063
11063
|
}
|
|
@@ -11065,11 +11065,11 @@ var serializeAws_restXmlLoggingEnabled = function (input, context) {
|
|
|
11065
11065
|
};
|
|
11066
11066
|
var serializeAws_restXmlMetadataEntry = function (input, context) {
|
|
11067
11067
|
var bodyNode = new __XmlNode("MetadataEntry");
|
|
11068
|
-
if (input.Name
|
|
11068
|
+
if (input.Name != null) {
|
|
11069
11069
|
var node = new __XmlNode("MetadataKey").addChildNode(new __XmlText(input.Name)).withName("Name");
|
|
11070
11070
|
bodyNode.addChildNode(node);
|
|
11071
11071
|
}
|
|
11072
|
-
if (input.Value
|
|
11072
|
+
if (input.Value != null) {
|
|
11073
11073
|
var node = new __XmlNode("MetadataValue").addChildNode(new __XmlText(input.Value)).withName("Value");
|
|
11074
11074
|
bodyNode.addChildNode(node);
|
|
11075
11075
|
}
|
|
@@ -11077,11 +11077,11 @@ var serializeAws_restXmlMetadataEntry = function (input, context) {
|
|
|
11077
11077
|
};
|
|
11078
11078
|
var serializeAws_restXmlMetrics = function (input, context) {
|
|
11079
11079
|
var bodyNode = new __XmlNode("Metrics");
|
|
11080
|
-
if (input.Status
|
|
11080
|
+
if (input.Status != null) {
|
|
11081
11081
|
var node = new __XmlNode("MetricsStatus").addChildNode(new __XmlText(input.Status)).withName("Status");
|
|
11082
11082
|
bodyNode.addChildNode(node);
|
|
11083
11083
|
}
|
|
11084
|
-
if (input.EventThreshold
|
|
11084
|
+
if (input.EventThreshold != null) {
|
|
11085
11085
|
var node = serializeAws_restXmlReplicationTimeValue(input.EventThreshold, context).withName("EventThreshold");
|
|
11086
11086
|
bodyNode.addChildNode(node);
|
|
11087
11087
|
}
|
|
@@ -11089,18 +11089,18 @@ var serializeAws_restXmlMetrics = function (input, context) {
|
|
|
11089
11089
|
};
|
|
11090
11090
|
var serializeAws_restXmlMetricsAndOperator = function (input, context) {
|
|
11091
11091
|
var bodyNode = new __XmlNode("MetricsAndOperator");
|
|
11092
|
-
if (input.Prefix
|
|
11092
|
+
if (input.Prefix != null) {
|
|
11093
11093
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
11094
11094
|
bodyNode.addChildNode(node);
|
|
11095
11095
|
}
|
|
11096
|
-
if (input.Tags
|
|
11096
|
+
if (input.Tags != null) {
|
|
11097
11097
|
var nodes = serializeAws_restXmlTagSet(input.Tags, context);
|
|
11098
11098
|
nodes.map(function (node) {
|
|
11099
11099
|
node = node.withName("Tag");
|
|
11100
11100
|
bodyNode.addChildNode(node);
|
|
11101
11101
|
});
|
|
11102
11102
|
}
|
|
11103
|
-
if (input.AccessPointArn
|
|
11103
|
+
if (input.AccessPointArn != null) {
|
|
11104
11104
|
var node = new __XmlNode("AccessPointArn")
|
|
11105
11105
|
.addChildNode(new __XmlText(input.AccessPointArn))
|
|
11106
11106
|
.withName("AccessPointArn");
|
|
@@ -11110,11 +11110,11 @@ var serializeAws_restXmlMetricsAndOperator = function (input, context) {
|
|
|
11110
11110
|
};
|
|
11111
11111
|
var serializeAws_restXmlMetricsConfiguration = function (input, context) {
|
|
11112
11112
|
var bodyNode = new __XmlNode("MetricsConfiguration");
|
|
11113
|
-
if (input.Id
|
|
11113
|
+
if (input.Id != null) {
|
|
11114
11114
|
var node = new __XmlNode("MetricsId").addChildNode(new __XmlText(input.Id)).withName("Id");
|
|
11115
11115
|
bodyNode.addChildNode(node);
|
|
11116
11116
|
}
|
|
11117
|
-
if (input.Filter
|
|
11117
|
+
if (input.Filter != null) {
|
|
11118
11118
|
var node = serializeAws_restXmlMetricsFilter(input.Filter, context).withName("Filter");
|
|
11119
11119
|
bodyNode.addChildNode(node);
|
|
11120
11120
|
}
|
|
@@ -11150,13 +11150,13 @@ var serializeAws_restXmlMetricsFilter = function (input, context) {
|
|
|
11150
11150
|
};
|
|
11151
11151
|
var serializeAws_restXmlNoncurrentVersionExpiration = function (input, context) {
|
|
11152
11152
|
var bodyNode = new __XmlNode("NoncurrentVersionExpiration");
|
|
11153
|
-
if (input.NoncurrentDays
|
|
11153
|
+
if (input.NoncurrentDays != null) {
|
|
11154
11154
|
var node = new __XmlNode("Days")
|
|
11155
11155
|
.addChildNode(new __XmlText(String(input.NoncurrentDays)))
|
|
11156
11156
|
.withName("NoncurrentDays");
|
|
11157
11157
|
bodyNode.addChildNode(node);
|
|
11158
11158
|
}
|
|
11159
|
-
if (input.NewerNoncurrentVersions
|
|
11159
|
+
if (input.NewerNoncurrentVersions != null) {
|
|
11160
11160
|
var node = new __XmlNode("VersionCount")
|
|
11161
11161
|
.addChildNode(new __XmlText(String(input.NewerNoncurrentVersions)))
|
|
11162
11162
|
.withName("NewerNoncurrentVersions");
|
|
@@ -11166,19 +11166,19 @@ var serializeAws_restXmlNoncurrentVersionExpiration = function (input, context)
|
|
|
11166
11166
|
};
|
|
11167
11167
|
var serializeAws_restXmlNoncurrentVersionTransition = function (input, context) {
|
|
11168
11168
|
var bodyNode = new __XmlNode("NoncurrentVersionTransition");
|
|
11169
|
-
if (input.NoncurrentDays
|
|
11169
|
+
if (input.NoncurrentDays != null) {
|
|
11170
11170
|
var node = new __XmlNode("Days")
|
|
11171
11171
|
.addChildNode(new __XmlText(String(input.NoncurrentDays)))
|
|
11172
11172
|
.withName("NoncurrentDays");
|
|
11173
11173
|
bodyNode.addChildNode(node);
|
|
11174
11174
|
}
|
|
11175
|
-
if (input.StorageClass
|
|
11175
|
+
if (input.StorageClass != null) {
|
|
11176
11176
|
var node = new __XmlNode("TransitionStorageClass")
|
|
11177
11177
|
.addChildNode(new __XmlText(input.StorageClass))
|
|
11178
11178
|
.withName("StorageClass");
|
|
11179
11179
|
bodyNode.addChildNode(node);
|
|
11180
11180
|
}
|
|
11181
|
-
if (input.NewerNoncurrentVersions
|
|
11181
|
+
if (input.NewerNoncurrentVersions != null) {
|
|
11182
11182
|
var node = new __XmlNode("VersionCount")
|
|
11183
11183
|
.addChildNode(new __XmlText(String(input.NewerNoncurrentVersions)))
|
|
11184
11184
|
.withName("NewerNoncurrentVersions");
|
|
@@ -11199,28 +11199,28 @@ var serializeAws_restXmlNoncurrentVersionTransitionList = function (input, conte
|
|
|
11199
11199
|
};
|
|
11200
11200
|
var serializeAws_restXmlNotificationConfiguration = function (input, context) {
|
|
11201
11201
|
var bodyNode = new __XmlNode("NotificationConfiguration");
|
|
11202
|
-
if (input.TopicConfigurations
|
|
11202
|
+
if (input.TopicConfigurations != null) {
|
|
11203
11203
|
var nodes = serializeAws_restXmlTopicConfigurationList(input.TopicConfigurations, context);
|
|
11204
11204
|
nodes.map(function (node) {
|
|
11205
11205
|
node = node.withName("TopicConfiguration");
|
|
11206
11206
|
bodyNode.addChildNode(node);
|
|
11207
11207
|
});
|
|
11208
11208
|
}
|
|
11209
|
-
if (input.QueueConfigurations
|
|
11209
|
+
if (input.QueueConfigurations != null) {
|
|
11210
11210
|
var nodes = serializeAws_restXmlQueueConfigurationList(input.QueueConfigurations, context);
|
|
11211
11211
|
nodes.map(function (node) {
|
|
11212
11212
|
node = node.withName("QueueConfiguration");
|
|
11213
11213
|
bodyNode.addChildNode(node);
|
|
11214
11214
|
});
|
|
11215
11215
|
}
|
|
11216
|
-
if (input.LambdaFunctionConfigurations
|
|
11216
|
+
if (input.LambdaFunctionConfigurations != null) {
|
|
11217
11217
|
var nodes = serializeAws_restXmlLambdaFunctionConfigurationList(input.LambdaFunctionConfigurations, context);
|
|
11218
11218
|
nodes.map(function (node) {
|
|
11219
11219
|
node = node.withName("CloudFunctionConfiguration");
|
|
11220
11220
|
bodyNode.addChildNode(node);
|
|
11221
11221
|
});
|
|
11222
11222
|
}
|
|
11223
|
-
if (input.EventBridgeConfiguration
|
|
11223
|
+
if (input.EventBridgeConfiguration != null) {
|
|
11224
11224
|
var node = serializeAws_restXmlEventBridgeConfiguration(input.EventBridgeConfiguration, context).withName("EventBridgeConfiguration");
|
|
11225
11225
|
bodyNode.addChildNode(node);
|
|
11226
11226
|
}
|
|
@@ -11228,7 +11228,7 @@ var serializeAws_restXmlNotificationConfiguration = function (input, context) {
|
|
|
11228
11228
|
};
|
|
11229
11229
|
var serializeAws_restXmlNotificationConfigurationFilter = function (input, context) {
|
|
11230
11230
|
var bodyNode = new __XmlNode("NotificationConfigurationFilter");
|
|
11231
|
-
if (input.Key
|
|
11231
|
+
if (input.Key != null) {
|
|
11232
11232
|
var node = serializeAws_restXmlS3KeyFilter(input.Key, context).withName("S3Key");
|
|
11233
11233
|
bodyNode.addChildNode(node);
|
|
11234
11234
|
}
|
|
@@ -11236,11 +11236,11 @@ var serializeAws_restXmlNotificationConfigurationFilter = function (input, conte
|
|
|
11236
11236
|
};
|
|
11237
11237
|
var serializeAws_restXmlObjectIdentifier = function (input, context) {
|
|
11238
11238
|
var bodyNode = new __XmlNode("ObjectIdentifier");
|
|
11239
|
-
if (input.Key
|
|
11239
|
+
if (input.Key != null) {
|
|
11240
11240
|
var node = new __XmlNode("ObjectKey").addChildNode(new __XmlText(input.Key)).withName("Key");
|
|
11241
11241
|
bodyNode.addChildNode(node);
|
|
11242
11242
|
}
|
|
11243
|
-
if (input.VersionId
|
|
11243
|
+
if (input.VersionId != null) {
|
|
11244
11244
|
var node = new __XmlNode("ObjectVersionId").addChildNode(new __XmlText(input.VersionId)).withName("VersionId");
|
|
11245
11245
|
bodyNode.addChildNode(node);
|
|
11246
11246
|
}
|
|
@@ -11259,13 +11259,13 @@ var serializeAws_restXmlObjectIdentifierList = function (input, context) {
|
|
|
11259
11259
|
};
|
|
11260
11260
|
var serializeAws_restXmlObjectLockConfiguration = function (input, context) {
|
|
11261
11261
|
var bodyNode = new __XmlNode("ObjectLockConfiguration");
|
|
11262
|
-
if (input.ObjectLockEnabled
|
|
11262
|
+
if (input.ObjectLockEnabled != null) {
|
|
11263
11263
|
var node = new __XmlNode("ObjectLockEnabled")
|
|
11264
11264
|
.addChildNode(new __XmlText(input.ObjectLockEnabled))
|
|
11265
11265
|
.withName("ObjectLockEnabled");
|
|
11266
11266
|
bodyNode.addChildNode(node);
|
|
11267
11267
|
}
|
|
11268
|
-
if (input.Rule
|
|
11268
|
+
if (input.Rule != null) {
|
|
11269
11269
|
var node = serializeAws_restXmlObjectLockRule(input.Rule, context).withName("Rule");
|
|
11270
11270
|
bodyNode.addChildNode(node);
|
|
11271
11271
|
}
|
|
@@ -11273,7 +11273,7 @@ var serializeAws_restXmlObjectLockConfiguration = function (input, context) {
|
|
|
11273
11273
|
};
|
|
11274
11274
|
var serializeAws_restXmlObjectLockLegalHold = function (input, context) {
|
|
11275
11275
|
var bodyNode = new __XmlNode("ObjectLockLegalHold");
|
|
11276
|
-
if (input.Status
|
|
11276
|
+
if (input.Status != null) {
|
|
11277
11277
|
var node = new __XmlNode("ObjectLockLegalHoldStatus")
|
|
11278
11278
|
.addChildNode(new __XmlText(input.Status))
|
|
11279
11279
|
.withName("Status");
|
|
@@ -11283,11 +11283,11 @@ var serializeAws_restXmlObjectLockLegalHold = function (input, context) {
|
|
|
11283
11283
|
};
|
|
11284
11284
|
var serializeAws_restXmlObjectLockRetention = function (input, context) {
|
|
11285
11285
|
var bodyNode = new __XmlNode("ObjectLockRetention");
|
|
11286
|
-
if (input.Mode
|
|
11286
|
+
if (input.Mode != null) {
|
|
11287
11287
|
var node = new __XmlNode("ObjectLockRetentionMode").addChildNode(new __XmlText(input.Mode)).withName("Mode");
|
|
11288
11288
|
bodyNode.addChildNode(node);
|
|
11289
11289
|
}
|
|
11290
|
-
if (input.RetainUntilDate
|
|
11290
|
+
if (input.RetainUntilDate != null) {
|
|
11291
11291
|
var node = new __XmlNode("Date")
|
|
11292
11292
|
.addChildNode(new __XmlText(input.RetainUntilDate.toISOString().split(".")[0] + "Z"))
|
|
11293
11293
|
.withName("RetainUntilDate");
|
|
@@ -11297,7 +11297,7 @@ var serializeAws_restXmlObjectLockRetention = function (input, context) {
|
|
|
11297
11297
|
};
|
|
11298
11298
|
var serializeAws_restXmlObjectLockRule = function (input, context) {
|
|
11299
11299
|
var bodyNode = new __XmlNode("ObjectLockRule");
|
|
11300
|
-
if (input.DefaultRetention
|
|
11300
|
+
if (input.DefaultRetention != null) {
|
|
11301
11301
|
var node = serializeAws_restXmlDefaultRetention(input.DefaultRetention, context).withName("DefaultRetention");
|
|
11302
11302
|
bodyNode.addChildNode(node);
|
|
11303
11303
|
}
|
|
@@ -11305,7 +11305,7 @@ var serializeAws_restXmlObjectLockRule = function (input, context) {
|
|
|
11305
11305
|
};
|
|
11306
11306
|
var serializeAws_restXmlOutputLocation = function (input, context) {
|
|
11307
11307
|
var bodyNode = new __XmlNode("OutputLocation");
|
|
11308
|
-
if (input.S3
|
|
11308
|
+
if (input.S3 != null) {
|
|
11309
11309
|
var node = serializeAws_restXmlS3Location(input.S3, context).withName("S3");
|
|
11310
11310
|
bodyNode.addChildNode(node);
|
|
11311
11311
|
}
|
|
@@ -11313,11 +11313,11 @@ var serializeAws_restXmlOutputLocation = function (input, context) {
|
|
|
11313
11313
|
};
|
|
11314
11314
|
var serializeAws_restXmlOutputSerialization = function (input, context) {
|
|
11315
11315
|
var bodyNode = new __XmlNode("OutputSerialization");
|
|
11316
|
-
if (input.CSV
|
|
11316
|
+
if (input.CSV != null) {
|
|
11317
11317
|
var node = serializeAws_restXmlCSVOutput(input.CSV, context).withName("CSV");
|
|
11318
11318
|
bodyNode.addChildNode(node);
|
|
11319
11319
|
}
|
|
11320
|
-
if (input.JSON
|
|
11320
|
+
if (input.JSON != null) {
|
|
11321
11321
|
var node = serializeAws_restXmlJSONOutput(input.JSON, context).withName("JSON");
|
|
11322
11322
|
bodyNode.addChildNode(node);
|
|
11323
11323
|
}
|
|
@@ -11325,11 +11325,11 @@ var serializeAws_restXmlOutputSerialization = function (input, context) {
|
|
|
11325
11325
|
};
|
|
11326
11326
|
var serializeAws_restXmlOwner = function (input, context) {
|
|
11327
11327
|
var bodyNode = new __XmlNode("Owner");
|
|
11328
|
-
if (input.DisplayName
|
|
11328
|
+
if (input.DisplayName != null) {
|
|
11329
11329
|
var node = new __XmlNode("DisplayName").addChildNode(new __XmlText(input.DisplayName)).withName("DisplayName");
|
|
11330
11330
|
bodyNode.addChildNode(node);
|
|
11331
11331
|
}
|
|
11332
|
-
if (input.ID
|
|
11332
|
+
if (input.ID != null) {
|
|
11333
11333
|
var node = new __XmlNode("ID").addChildNode(new __XmlText(input.ID)).withName("ID");
|
|
11334
11334
|
bodyNode.addChildNode(node);
|
|
11335
11335
|
}
|
|
@@ -11337,7 +11337,7 @@ var serializeAws_restXmlOwner = function (input, context) {
|
|
|
11337
11337
|
};
|
|
11338
11338
|
var serializeAws_restXmlOwnershipControls = function (input, context) {
|
|
11339
11339
|
var bodyNode = new __XmlNode("OwnershipControls");
|
|
11340
|
-
if (input.Rules
|
|
11340
|
+
if (input.Rules != null) {
|
|
11341
11341
|
var nodes = serializeAws_restXmlOwnershipControlsRules(input.Rules, context);
|
|
11342
11342
|
nodes.map(function (node) {
|
|
11343
11343
|
node = node.withName("Rule");
|
|
@@ -11348,7 +11348,7 @@ var serializeAws_restXmlOwnershipControls = function (input, context) {
|
|
|
11348
11348
|
};
|
|
11349
11349
|
var serializeAws_restXmlOwnershipControlsRule = function (input, context) {
|
|
11350
11350
|
var bodyNode = new __XmlNode("OwnershipControlsRule");
|
|
11351
|
-
if (input.ObjectOwnership
|
|
11351
|
+
if (input.ObjectOwnership != null) {
|
|
11352
11352
|
var node = new __XmlNode("ObjectOwnership")
|
|
11353
11353
|
.addChildNode(new __XmlText(input.ObjectOwnership))
|
|
11354
11354
|
.withName("ObjectOwnership");
|
|
@@ -11373,25 +11373,25 @@ var serializeAws_restXmlParquetInput = function (input, context) {
|
|
|
11373
11373
|
};
|
|
11374
11374
|
var serializeAws_restXmlPublicAccessBlockConfiguration = function (input, context) {
|
|
11375
11375
|
var bodyNode = new __XmlNode("PublicAccessBlockConfiguration");
|
|
11376
|
-
if (input.BlockPublicAcls
|
|
11376
|
+
if (input.BlockPublicAcls != null) {
|
|
11377
11377
|
var node = new __XmlNode("Setting")
|
|
11378
11378
|
.addChildNode(new __XmlText(String(input.BlockPublicAcls)))
|
|
11379
11379
|
.withName("BlockPublicAcls");
|
|
11380
11380
|
bodyNode.addChildNode(node);
|
|
11381
11381
|
}
|
|
11382
|
-
if (input.IgnorePublicAcls
|
|
11382
|
+
if (input.IgnorePublicAcls != null) {
|
|
11383
11383
|
var node = new __XmlNode("Setting")
|
|
11384
11384
|
.addChildNode(new __XmlText(String(input.IgnorePublicAcls)))
|
|
11385
11385
|
.withName("IgnorePublicAcls");
|
|
11386
11386
|
bodyNode.addChildNode(node);
|
|
11387
11387
|
}
|
|
11388
|
-
if (input.BlockPublicPolicy
|
|
11388
|
+
if (input.BlockPublicPolicy != null) {
|
|
11389
11389
|
var node = new __XmlNode("Setting")
|
|
11390
11390
|
.addChildNode(new __XmlText(String(input.BlockPublicPolicy)))
|
|
11391
11391
|
.withName("BlockPublicPolicy");
|
|
11392
11392
|
bodyNode.addChildNode(node);
|
|
11393
11393
|
}
|
|
11394
|
-
if (input.RestrictPublicBuckets
|
|
11394
|
+
if (input.RestrictPublicBuckets != null) {
|
|
11395
11395
|
var node = new __XmlNode("Setting")
|
|
11396
11396
|
.addChildNode(new __XmlText(String(input.RestrictPublicBuckets)))
|
|
11397
11397
|
.withName("RestrictPublicBuckets");
|
|
@@ -11401,22 +11401,22 @@ var serializeAws_restXmlPublicAccessBlockConfiguration = function (input, contex
|
|
|
11401
11401
|
};
|
|
11402
11402
|
var serializeAws_restXmlQueueConfiguration = function (input, context) {
|
|
11403
11403
|
var bodyNode = new __XmlNode("QueueConfiguration");
|
|
11404
|
-
if (input.Id
|
|
11404
|
+
if (input.Id != null) {
|
|
11405
11405
|
var node = new __XmlNode("NotificationId").addChildNode(new __XmlText(input.Id)).withName("Id");
|
|
11406
11406
|
bodyNode.addChildNode(node);
|
|
11407
11407
|
}
|
|
11408
|
-
if (input.QueueArn
|
|
11408
|
+
if (input.QueueArn != null) {
|
|
11409
11409
|
var node = new __XmlNode("QueueArn").addChildNode(new __XmlText(input.QueueArn)).withName("Queue");
|
|
11410
11410
|
bodyNode.addChildNode(node);
|
|
11411
11411
|
}
|
|
11412
|
-
if (input.Events
|
|
11412
|
+
if (input.Events != null) {
|
|
11413
11413
|
var nodes = serializeAws_restXmlEventList(input.Events, context);
|
|
11414
11414
|
nodes.map(function (node) {
|
|
11415
11415
|
node = node.withName("Event");
|
|
11416
11416
|
bodyNode.addChildNode(node);
|
|
11417
11417
|
});
|
|
11418
11418
|
}
|
|
11419
|
-
if (input.Filter
|
|
11419
|
+
if (input.Filter != null) {
|
|
11420
11420
|
var node = serializeAws_restXmlNotificationConfigurationFilter(input.Filter, context).withName("Filter");
|
|
11421
11421
|
bodyNode.addChildNode(node);
|
|
11422
11422
|
}
|
|
@@ -11435,27 +11435,27 @@ var serializeAws_restXmlQueueConfigurationList = function (input, context) {
|
|
|
11435
11435
|
};
|
|
11436
11436
|
var serializeAws_restXmlRedirect = function (input, context) {
|
|
11437
11437
|
var bodyNode = new __XmlNode("Redirect");
|
|
11438
|
-
if (input.HostName
|
|
11438
|
+
if (input.HostName != null) {
|
|
11439
11439
|
var node = new __XmlNode("HostName").addChildNode(new __XmlText(input.HostName)).withName("HostName");
|
|
11440
11440
|
bodyNode.addChildNode(node);
|
|
11441
11441
|
}
|
|
11442
|
-
if (input.HttpRedirectCode
|
|
11442
|
+
if (input.HttpRedirectCode != null) {
|
|
11443
11443
|
var node = new __XmlNode("HttpRedirectCode")
|
|
11444
11444
|
.addChildNode(new __XmlText(input.HttpRedirectCode))
|
|
11445
11445
|
.withName("HttpRedirectCode");
|
|
11446
11446
|
bodyNode.addChildNode(node);
|
|
11447
11447
|
}
|
|
11448
|
-
if (input.Protocol
|
|
11448
|
+
if (input.Protocol != null) {
|
|
11449
11449
|
var node = new __XmlNode("Protocol").addChildNode(new __XmlText(input.Protocol)).withName("Protocol");
|
|
11450
11450
|
bodyNode.addChildNode(node);
|
|
11451
11451
|
}
|
|
11452
|
-
if (input.ReplaceKeyPrefixWith
|
|
11452
|
+
if (input.ReplaceKeyPrefixWith != null) {
|
|
11453
11453
|
var node = new __XmlNode("ReplaceKeyPrefixWith")
|
|
11454
11454
|
.addChildNode(new __XmlText(input.ReplaceKeyPrefixWith))
|
|
11455
11455
|
.withName("ReplaceKeyPrefixWith");
|
|
11456
11456
|
bodyNode.addChildNode(node);
|
|
11457
11457
|
}
|
|
11458
|
-
if (input.ReplaceKeyWith
|
|
11458
|
+
if (input.ReplaceKeyWith != null) {
|
|
11459
11459
|
var node = new __XmlNode("ReplaceKeyWith")
|
|
11460
11460
|
.addChildNode(new __XmlText(input.ReplaceKeyWith))
|
|
11461
11461
|
.withName("ReplaceKeyWith");
|
|
@@ -11465,11 +11465,11 @@ var serializeAws_restXmlRedirect = function (input, context) {
|
|
|
11465
11465
|
};
|
|
11466
11466
|
var serializeAws_restXmlRedirectAllRequestsTo = function (input, context) {
|
|
11467
11467
|
var bodyNode = new __XmlNode("RedirectAllRequestsTo");
|
|
11468
|
-
if (input.HostName
|
|
11468
|
+
if (input.HostName != null) {
|
|
11469
11469
|
var node = new __XmlNode("HostName").addChildNode(new __XmlText(input.HostName)).withName("HostName");
|
|
11470
11470
|
bodyNode.addChildNode(node);
|
|
11471
11471
|
}
|
|
11472
|
-
if (input.Protocol
|
|
11472
|
+
if (input.Protocol != null) {
|
|
11473
11473
|
var node = new __XmlNode("Protocol").addChildNode(new __XmlText(input.Protocol)).withName("Protocol");
|
|
11474
11474
|
bodyNode.addChildNode(node);
|
|
11475
11475
|
}
|
|
@@ -11477,7 +11477,7 @@ var serializeAws_restXmlRedirectAllRequestsTo = function (input, context) {
|
|
|
11477
11477
|
};
|
|
11478
11478
|
var serializeAws_restXmlReplicaModifications = function (input, context) {
|
|
11479
11479
|
var bodyNode = new __XmlNode("ReplicaModifications");
|
|
11480
|
-
if (input.Status
|
|
11480
|
+
if (input.Status != null) {
|
|
11481
11481
|
var node = new __XmlNode("ReplicaModificationsStatus")
|
|
11482
11482
|
.addChildNode(new __XmlText(input.Status))
|
|
11483
11483
|
.withName("Status");
|
|
@@ -11487,11 +11487,11 @@ var serializeAws_restXmlReplicaModifications = function (input, context) {
|
|
|
11487
11487
|
};
|
|
11488
11488
|
var serializeAws_restXmlReplicationConfiguration = function (input, context) {
|
|
11489
11489
|
var bodyNode = new __XmlNode("ReplicationConfiguration");
|
|
11490
|
-
if (input.Role
|
|
11490
|
+
if (input.Role != null) {
|
|
11491
11491
|
var node = new __XmlNode("Role").addChildNode(new __XmlText(input.Role)).withName("Role");
|
|
11492
11492
|
bodyNode.addChildNode(node);
|
|
11493
11493
|
}
|
|
11494
|
-
if (input.Rules
|
|
11494
|
+
if (input.Rules != null) {
|
|
11495
11495
|
var nodes = serializeAws_restXmlReplicationRules(input.Rules, context);
|
|
11496
11496
|
nodes.map(function (node) {
|
|
11497
11497
|
node = node.withName("Rule");
|
|
@@ -11502,39 +11502,39 @@ var serializeAws_restXmlReplicationConfiguration = function (input, context) {
|
|
|
11502
11502
|
};
|
|
11503
11503
|
var serializeAws_restXmlReplicationRule = function (input, context) {
|
|
11504
11504
|
var bodyNode = new __XmlNode("ReplicationRule");
|
|
11505
|
-
if (input.ID
|
|
11505
|
+
if (input.ID != null) {
|
|
11506
11506
|
var node = new __XmlNode("ID").addChildNode(new __XmlText(input.ID)).withName("ID");
|
|
11507
11507
|
bodyNode.addChildNode(node);
|
|
11508
11508
|
}
|
|
11509
|
-
if (input.Priority
|
|
11509
|
+
if (input.Priority != null) {
|
|
11510
11510
|
var node = new __XmlNode("Priority").addChildNode(new __XmlText(String(input.Priority))).withName("Priority");
|
|
11511
11511
|
bodyNode.addChildNode(node);
|
|
11512
11512
|
}
|
|
11513
|
-
if (input.Prefix
|
|
11513
|
+
if (input.Prefix != null) {
|
|
11514
11514
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
11515
11515
|
bodyNode.addChildNode(node);
|
|
11516
11516
|
}
|
|
11517
|
-
if (input.Filter
|
|
11517
|
+
if (input.Filter != null) {
|
|
11518
11518
|
var node = serializeAws_restXmlReplicationRuleFilter(input.Filter, context).withName("Filter");
|
|
11519
11519
|
bodyNode.addChildNode(node);
|
|
11520
11520
|
}
|
|
11521
|
-
if (input.Status
|
|
11521
|
+
if (input.Status != null) {
|
|
11522
11522
|
var node = new __XmlNode("ReplicationRuleStatus").addChildNode(new __XmlText(input.Status)).withName("Status");
|
|
11523
11523
|
bodyNode.addChildNode(node);
|
|
11524
11524
|
}
|
|
11525
|
-
if (input.SourceSelectionCriteria
|
|
11525
|
+
if (input.SourceSelectionCriteria != null) {
|
|
11526
11526
|
var node = serializeAws_restXmlSourceSelectionCriteria(input.SourceSelectionCriteria, context).withName("SourceSelectionCriteria");
|
|
11527
11527
|
bodyNode.addChildNode(node);
|
|
11528
11528
|
}
|
|
11529
|
-
if (input.ExistingObjectReplication
|
|
11529
|
+
if (input.ExistingObjectReplication != null) {
|
|
11530
11530
|
var node = serializeAws_restXmlExistingObjectReplication(input.ExistingObjectReplication, context).withName("ExistingObjectReplication");
|
|
11531
11531
|
bodyNode.addChildNode(node);
|
|
11532
11532
|
}
|
|
11533
|
-
if (input.Destination
|
|
11533
|
+
if (input.Destination != null) {
|
|
11534
11534
|
var node = serializeAws_restXmlDestination(input.Destination, context).withName("Destination");
|
|
11535
11535
|
bodyNode.addChildNode(node);
|
|
11536
11536
|
}
|
|
11537
|
-
if (input.DeleteMarkerReplication
|
|
11537
|
+
if (input.DeleteMarkerReplication != null) {
|
|
11538
11538
|
var node = serializeAws_restXmlDeleteMarkerReplication(input.DeleteMarkerReplication, context).withName("DeleteMarkerReplication");
|
|
11539
11539
|
bodyNode.addChildNode(node);
|
|
11540
11540
|
}
|
|
@@ -11542,11 +11542,11 @@ var serializeAws_restXmlReplicationRule = function (input, context) {
|
|
|
11542
11542
|
};
|
|
11543
11543
|
var serializeAws_restXmlReplicationRuleAndOperator = function (input, context) {
|
|
11544
11544
|
var bodyNode = new __XmlNode("ReplicationRuleAndOperator");
|
|
11545
|
-
if (input.Prefix
|
|
11545
|
+
if (input.Prefix != null) {
|
|
11546
11546
|
var node = new __XmlNode("Prefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
11547
11547
|
bodyNode.addChildNode(node);
|
|
11548
11548
|
}
|
|
11549
|
-
if (input.Tags
|
|
11549
|
+
if (input.Tags != null) {
|
|
11550
11550
|
var nodes = serializeAws_restXmlTagSet(input.Tags, context);
|
|
11551
11551
|
nodes.map(function (node) {
|
|
11552
11552
|
node = node.withName("Tag");
|
|
@@ -11592,11 +11592,11 @@ var serializeAws_restXmlReplicationRules = function (input, context) {
|
|
|
11592
11592
|
};
|
|
11593
11593
|
var serializeAws_restXmlReplicationTime = function (input, context) {
|
|
11594
11594
|
var bodyNode = new __XmlNode("ReplicationTime");
|
|
11595
|
-
if (input.Status
|
|
11595
|
+
if (input.Status != null) {
|
|
11596
11596
|
var node = new __XmlNode("ReplicationTimeStatus").addChildNode(new __XmlText(input.Status)).withName("Status");
|
|
11597
11597
|
bodyNode.addChildNode(node);
|
|
11598
11598
|
}
|
|
11599
|
-
if (input.Time
|
|
11599
|
+
if (input.Time != null) {
|
|
11600
11600
|
var node = serializeAws_restXmlReplicationTimeValue(input.Time, context).withName("Time");
|
|
11601
11601
|
bodyNode.addChildNode(node);
|
|
11602
11602
|
}
|
|
@@ -11604,7 +11604,7 @@ var serializeAws_restXmlReplicationTime = function (input, context) {
|
|
|
11604
11604
|
};
|
|
11605
11605
|
var serializeAws_restXmlReplicationTimeValue = function (input, context) {
|
|
11606
11606
|
var bodyNode = new __XmlNode("ReplicationTimeValue");
|
|
11607
|
-
if (input.Minutes
|
|
11607
|
+
if (input.Minutes != null) {
|
|
11608
11608
|
var node = new __XmlNode("Minutes").addChildNode(new __XmlText(String(input.Minutes))).withName("Minutes");
|
|
11609
11609
|
bodyNode.addChildNode(node);
|
|
11610
11610
|
}
|
|
@@ -11612,7 +11612,7 @@ var serializeAws_restXmlReplicationTimeValue = function (input, context) {
|
|
|
11612
11612
|
};
|
|
11613
11613
|
var serializeAws_restXmlRequestPaymentConfiguration = function (input, context) {
|
|
11614
11614
|
var bodyNode = new __XmlNode("RequestPaymentConfiguration");
|
|
11615
|
-
if (input.Payer
|
|
11615
|
+
if (input.Payer != null) {
|
|
11616
11616
|
var node = new __XmlNode("Payer").addChildNode(new __XmlText(input.Payer)).withName("Payer");
|
|
11617
11617
|
bodyNode.addChildNode(node);
|
|
11618
11618
|
}
|
|
@@ -11620,7 +11620,7 @@ var serializeAws_restXmlRequestPaymentConfiguration = function (input, context)
|
|
|
11620
11620
|
};
|
|
11621
11621
|
var serializeAws_restXmlRequestProgress = function (input, context) {
|
|
11622
11622
|
var bodyNode = new __XmlNode("RequestProgress");
|
|
11623
|
-
if (input.Enabled
|
|
11623
|
+
if (input.Enabled != null) {
|
|
11624
11624
|
var node = new __XmlNode("EnableRequestProgress")
|
|
11625
11625
|
.addChildNode(new __XmlText(String(input.Enabled)))
|
|
11626
11626
|
.withName("Enabled");
|
|
@@ -11630,31 +11630,31 @@ var serializeAws_restXmlRequestProgress = function (input, context) {
|
|
|
11630
11630
|
};
|
|
11631
11631
|
var serializeAws_restXmlRestoreRequest = function (input, context) {
|
|
11632
11632
|
var bodyNode = new __XmlNode("RestoreRequest");
|
|
11633
|
-
if (input.Days
|
|
11633
|
+
if (input.Days != null) {
|
|
11634
11634
|
var node = new __XmlNode("Days").addChildNode(new __XmlText(String(input.Days))).withName("Days");
|
|
11635
11635
|
bodyNode.addChildNode(node);
|
|
11636
11636
|
}
|
|
11637
|
-
if (input.GlacierJobParameters
|
|
11637
|
+
if (input.GlacierJobParameters != null) {
|
|
11638
11638
|
var node = serializeAws_restXmlGlacierJobParameters(input.GlacierJobParameters, context).withName("GlacierJobParameters");
|
|
11639
11639
|
bodyNode.addChildNode(node);
|
|
11640
11640
|
}
|
|
11641
|
-
if (input.Type
|
|
11641
|
+
if (input.Type != null) {
|
|
11642
11642
|
var node = new __XmlNode("RestoreRequestType").addChildNode(new __XmlText(input.Type)).withName("Type");
|
|
11643
11643
|
bodyNode.addChildNode(node);
|
|
11644
11644
|
}
|
|
11645
|
-
if (input.Tier
|
|
11645
|
+
if (input.Tier != null) {
|
|
11646
11646
|
var node = new __XmlNode("Tier").addChildNode(new __XmlText(input.Tier)).withName("Tier");
|
|
11647
11647
|
bodyNode.addChildNode(node);
|
|
11648
11648
|
}
|
|
11649
|
-
if (input.Description
|
|
11649
|
+
if (input.Description != null) {
|
|
11650
11650
|
var node = new __XmlNode("Description").addChildNode(new __XmlText(input.Description)).withName("Description");
|
|
11651
11651
|
bodyNode.addChildNode(node);
|
|
11652
11652
|
}
|
|
11653
|
-
if (input.SelectParameters
|
|
11653
|
+
if (input.SelectParameters != null) {
|
|
11654
11654
|
var node = serializeAws_restXmlSelectParameters(input.SelectParameters, context).withName("SelectParameters");
|
|
11655
11655
|
bodyNode.addChildNode(node);
|
|
11656
11656
|
}
|
|
11657
|
-
if (input.OutputLocation
|
|
11657
|
+
if (input.OutputLocation != null) {
|
|
11658
11658
|
var node = serializeAws_restXmlOutputLocation(input.OutputLocation, context).withName("OutputLocation");
|
|
11659
11659
|
bodyNode.addChildNode(node);
|
|
11660
11660
|
}
|
|
@@ -11662,11 +11662,11 @@ var serializeAws_restXmlRestoreRequest = function (input, context) {
|
|
|
11662
11662
|
};
|
|
11663
11663
|
var serializeAws_restXmlRoutingRule = function (input, context) {
|
|
11664
11664
|
var bodyNode = new __XmlNode("RoutingRule");
|
|
11665
|
-
if (input.Condition
|
|
11665
|
+
if (input.Condition != null) {
|
|
11666
11666
|
var node = serializeAws_restXmlCondition(input.Condition, context).withName("Condition");
|
|
11667
11667
|
bodyNode.addChildNode(node);
|
|
11668
11668
|
}
|
|
11669
|
-
if (input.Redirect
|
|
11669
|
+
if (input.Redirect != null) {
|
|
11670
11670
|
var node = serializeAws_restXmlRedirect(input.Redirect, context).withName("Redirect");
|
|
11671
11671
|
bodyNode.addChildNode(node);
|
|
11672
11672
|
}
|
|
@@ -11685,7 +11685,7 @@ var serializeAws_restXmlRoutingRules = function (input, context) {
|
|
|
11685
11685
|
};
|
|
11686
11686
|
var serializeAws_restXmlS3KeyFilter = function (input, context) {
|
|
11687
11687
|
var bodyNode = new __XmlNode("S3KeyFilter");
|
|
11688
|
-
if (input.FilterRules
|
|
11688
|
+
if (input.FilterRules != null) {
|
|
11689
11689
|
var nodes = serializeAws_restXmlFilterRuleList(input.FilterRules, context);
|
|
11690
11690
|
nodes.map(function (node) {
|
|
11691
11691
|
node = node.withName("FilterRule");
|
|
@@ -11696,23 +11696,23 @@ var serializeAws_restXmlS3KeyFilter = function (input, context) {
|
|
|
11696
11696
|
};
|
|
11697
11697
|
var serializeAws_restXmlS3Location = function (input, context) {
|
|
11698
11698
|
var bodyNode = new __XmlNode("S3Location");
|
|
11699
|
-
if (input.BucketName
|
|
11699
|
+
if (input.BucketName != null) {
|
|
11700
11700
|
var node = new __XmlNode("BucketName").addChildNode(new __XmlText(input.BucketName)).withName("BucketName");
|
|
11701
11701
|
bodyNode.addChildNode(node);
|
|
11702
11702
|
}
|
|
11703
|
-
if (input.Prefix
|
|
11703
|
+
if (input.Prefix != null) {
|
|
11704
11704
|
var node = new __XmlNode("LocationPrefix").addChildNode(new __XmlText(input.Prefix)).withName("Prefix");
|
|
11705
11705
|
bodyNode.addChildNode(node);
|
|
11706
11706
|
}
|
|
11707
|
-
if (input.Encryption
|
|
11707
|
+
if (input.Encryption != null) {
|
|
11708
11708
|
var node = serializeAws_restXmlEncryption(input.Encryption, context).withName("Encryption");
|
|
11709
11709
|
bodyNode.addChildNode(node);
|
|
11710
11710
|
}
|
|
11711
|
-
if (input.CannedACL
|
|
11711
|
+
if (input.CannedACL != null) {
|
|
11712
11712
|
var node = new __XmlNode("ObjectCannedACL").addChildNode(new __XmlText(input.CannedACL)).withName("CannedACL");
|
|
11713
11713
|
bodyNode.addChildNode(node);
|
|
11714
11714
|
}
|
|
11715
|
-
if (input.AccessControlList
|
|
11715
|
+
if (input.AccessControlList != null) {
|
|
11716
11716
|
var nodes = serializeAws_restXmlGrants(input.AccessControlList, context);
|
|
11717
11717
|
var containerNode_4 = new __XmlNode("AccessControlList");
|
|
11718
11718
|
nodes.map(function (node) {
|
|
@@ -11720,11 +11720,11 @@ var serializeAws_restXmlS3Location = function (input, context) {
|
|
|
11720
11720
|
});
|
|
11721
11721
|
bodyNode.addChildNode(containerNode_4);
|
|
11722
11722
|
}
|
|
11723
|
-
if (input.Tagging
|
|
11723
|
+
if (input.Tagging != null) {
|
|
11724
11724
|
var node = serializeAws_restXmlTagging(input.Tagging, context).withName("Tagging");
|
|
11725
11725
|
bodyNode.addChildNode(node);
|
|
11726
11726
|
}
|
|
11727
|
-
if (input.UserMetadata
|
|
11727
|
+
if (input.UserMetadata != null) {
|
|
11728
11728
|
var nodes = serializeAws_restXmlUserMetadata(input.UserMetadata, context);
|
|
11729
11729
|
var containerNode_5 = new __XmlNode("UserMetadata");
|
|
11730
11730
|
nodes.map(function (node) {
|
|
@@ -11732,7 +11732,7 @@ var serializeAws_restXmlS3Location = function (input, context) {
|
|
|
11732
11732
|
});
|
|
11733
11733
|
bodyNode.addChildNode(containerNode_5);
|
|
11734
11734
|
}
|
|
11735
|
-
if (input.StorageClass
|
|
11735
|
+
if (input.StorageClass != null) {
|
|
11736
11736
|
var node = new __XmlNode("StorageClass").addChildNode(new __XmlText(input.StorageClass)).withName("StorageClass");
|
|
11737
11737
|
bodyNode.addChildNode(node);
|
|
11738
11738
|
}
|
|
@@ -11740,11 +11740,11 @@ var serializeAws_restXmlS3Location = function (input, context) {
|
|
|
11740
11740
|
};
|
|
11741
11741
|
var serializeAws_restXmlScanRange = function (input, context) {
|
|
11742
11742
|
var bodyNode = new __XmlNode("ScanRange");
|
|
11743
|
-
if (input.Start
|
|
11743
|
+
if (input.Start != null) {
|
|
11744
11744
|
var node = new __XmlNode("Start").addChildNode(new __XmlText(String(input.Start))).withName("Start");
|
|
11745
11745
|
bodyNode.addChildNode(node);
|
|
11746
11746
|
}
|
|
11747
|
-
if (input.End
|
|
11747
|
+
if (input.End != null) {
|
|
11748
11748
|
var node = new __XmlNode("End").addChildNode(new __XmlText(String(input.End))).withName("End");
|
|
11749
11749
|
bodyNode.addChildNode(node);
|
|
11750
11750
|
}
|
|
@@ -11752,21 +11752,21 @@ var serializeAws_restXmlScanRange = function (input, context) {
|
|
|
11752
11752
|
};
|
|
11753
11753
|
var serializeAws_restXmlSelectParameters = function (input, context) {
|
|
11754
11754
|
var bodyNode = new __XmlNode("SelectParameters");
|
|
11755
|
-
if (input.InputSerialization
|
|
11755
|
+
if (input.InputSerialization != null) {
|
|
11756
11756
|
var node = serializeAws_restXmlInputSerialization(input.InputSerialization, context).withName("InputSerialization");
|
|
11757
11757
|
bodyNode.addChildNode(node);
|
|
11758
11758
|
}
|
|
11759
|
-
if (input.ExpressionType
|
|
11759
|
+
if (input.ExpressionType != null) {
|
|
11760
11760
|
var node = new __XmlNode("ExpressionType")
|
|
11761
11761
|
.addChildNode(new __XmlText(input.ExpressionType))
|
|
11762
11762
|
.withName("ExpressionType");
|
|
11763
11763
|
bodyNode.addChildNode(node);
|
|
11764
11764
|
}
|
|
11765
|
-
if (input.Expression
|
|
11765
|
+
if (input.Expression != null) {
|
|
11766
11766
|
var node = new __XmlNode("Expression").addChildNode(new __XmlText(input.Expression)).withName("Expression");
|
|
11767
11767
|
bodyNode.addChildNode(node);
|
|
11768
11768
|
}
|
|
11769
|
-
if (input.OutputSerialization
|
|
11769
|
+
if (input.OutputSerialization != null) {
|
|
11770
11770
|
var node = serializeAws_restXmlOutputSerialization(input.OutputSerialization, context).withName("OutputSerialization");
|
|
11771
11771
|
bodyNode.addChildNode(node);
|
|
11772
11772
|
}
|
|
@@ -11774,13 +11774,13 @@ var serializeAws_restXmlSelectParameters = function (input, context) {
|
|
|
11774
11774
|
};
|
|
11775
11775
|
var serializeAws_restXmlServerSideEncryptionByDefault = function (input, context) {
|
|
11776
11776
|
var bodyNode = new __XmlNode("ServerSideEncryptionByDefault");
|
|
11777
|
-
if (input.SSEAlgorithm
|
|
11777
|
+
if (input.SSEAlgorithm != null) {
|
|
11778
11778
|
var node = new __XmlNode("ServerSideEncryption")
|
|
11779
11779
|
.addChildNode(new __XmlText(input.SSEAlgorithm))
|
|
11780
11780
|
.withName("SSEAlgorithm");
|
|
11781
11781
|
bodyNode.addChildNode(node);
|
|
11782
11782
|
}
|
|
11783
|
-
if (input.KMSMasterKeyID
|
|
11783
|
+
if (input.KMSMasterKeyID != null) {
|
|
11784
11784
|
var node = new __XmlNode("SSEKMSKeyId")
|
|
11785
11785
|
.addChildNode(new __XmlText(input.KMSMasterKeyID))
|
|
11786
11786
|
.withName("KMSMasterKeyID");
|
|
@@ -11790,7 +11790,7 @@ var serializeAws_restXmlServerSideEncryptionByDefault = function (input, context
|
|
|
11790
11790
|
};
|
|
11791
11791
|
var serializeAws_restXmlServerSideEncryptionConfiguration = function (input, context) {
|
|
11792
11792
|
var bodyNode = new __XmlNode("ServerSideEncryptionConfiguration");
|
|
11793
|
-
if (input.Rules
|
|
11793
|
+
if (input.Rules != null) {
|
|
11794
11794
|
var nodes = serializeAws_restXmlServerSideEncryptionRules(input.Rules, context);
|
|
11795
11795
|
nodes.map(function (node) {
|
|
11796
11796
|
node = node.withName("Rule");
|
|
@@ -11801,11 +11801,11 @@ var serializeAws_restXmlServerSideEncryptionConfiguration = function (input, con
|
|
|
11801
11801
|
};
|
|
11802
11802
|
var serializeAws_restXmlServerSideEncryptionRule = function (input, context) {
|
|
11803
11803
|
var bodyNode = new __XmlNode("ServerSideEncryptionRule");
|
|
11804
|
-
if (input.ApplyServerSideEncryptionByDefault
|
|
11804
|
+
if (input.ApplyServerSideEncryptionByDefault != null) {
|
|
11805
11805
|
var node = serializeAws_restXmlServerSideEncryptionByDefault(input.ApplyServerSideEncryptionByDefault, context).withName("ApplyServerSideEncryptionByDefault");
|
|
11806
11806
|
bodyNode.addChildNode(node);
|
|
11807
11807
|
}
|
|
11808
|
-
if (input.BucketKeyEnabled
|
|
11808
|
+
if (input.BucketKeyEnabled != null) {
|
|
11809
11809
|
var node = new __XmlNode("BucketKeyEnabled")
|
|
11810
11810
|
.addChildNode(new __XmlText(String(input.BucketKeyEnabled)))
|
|
11811
11811
|
.withName("BucketKeyEnabled");
|
|
@@ -11826,11 +11826,11 @@ var serializeAws_restXmlServerSideEncryptionRules = function (input, context) {
|
|
|
11826
11826
|
};
|
|
11827
11827
|
var serializeAws_restXmlSourceSelectionCriteria = function (input, context) {
|
|
11828
11828
|
var bodyNode = new __XmlNode("SourceSelectionCriteria");
|
|
11829
|
-
if (input.SseKmsEncryptedObjects
|
|
11829
|
+
if (input.SseKmsEncryptedObjects != null) {
|
|
11830
11830
|
var node = serializeAws_restXmlSseKmsEncryptedObjects(input.SseKmsEncryptedObjects, context).withName("SseKmsEncryptedObjects");
|
|
11831
11831
|
bodyNode.addChildNode(node);
|
|
11832
11832
|
}
|
|
11833
|
-
if (input.ReplicaModifications
|
|
11833
|
+
if (input.ReplicaModifications != null) {
|
|
11834
11834
|
var node = serializeAws_restXmlReplicaModifications(input.ReplicaModifications, context).withName("ReplicaModifications");
|
|
11835
11835
|
bodyNode.addChildNode(node);
|
|
11836
11836
|
}
|
|
@@ -11838,7 +11838,7 @@ var serializeAws_restXmlSourceSelectionCriteria = function (input, context) {
|
|
|
11838
11838
|
};
|
|
11839
11839
|
var serializeAws_restXmlSSEKMS = function (input, context) {
|
|
11840
11840
|
var bodyNode = new __XmlNode("SSE-KMS");
|
|
11841
|
-
if (input.KeyId
|
|
11841
|
+
if (input.KeyId != null) {
|
|
11842
11842
|
var node = new __XmlNode("SSEKMSKeyId").addChildNode(new __XmlText(input.KeyId)).withName("KeyId");
|
|
11843
11843
|
bodyNode.addChildNode(node);
|
|
11844
11844
|
}
|
|
@@ -11846,7 +11846,7 @@ var serializeAws_restXmlSSEKMS = function (input, context) {
|
|
|
11846
11846
|
};
|
|
11847
11847
|
var serializeAws_restXmlSseKmsEncryptedObjects = function (input, context) {
|
|
11848
11848
|
var bodyNode = new __XmlNode("SseKmsEncryptedObjects");
|
|
11849
|
-
if (input.Status
|
|
11849
|
+
if (input.Status != null) {
|
|
11850
11850
|
var node = new __XmlNode("SseKmsEncryptedObjectsStatus")
|
|
11851
11851
|
.addChildNode(new __XmlText(input.Status))
|
|
11852
11852
|
.withName("Status");
|
|
@@ -11860,7 +11860,7 @@ var serializeAws_restXmlSSES3 = function (input, context) {
|
|
|
11860
11860
|
};
|
|
11861
11861
|
var serializeAws_restXmlStorageClassAnalysis = function (input, context) {
|
|
11862
11862
|
var bodyNode = new __XmlNode("StorageClassAnalysis");
|
|
11863
|
-
if (input.DataExport
|
|
11863
|
+
if (input.DataExport != null) {
|
|
11864
11864
|
var node = serializeAws_restXmlStorageClassAnalysisDataExport(input.DataExport, context).withName("DataExport");
|
|
11865
11865
|
bodyNode.addChildNode(node);
|
|
11866
11866
|
}
|
|
@@ -11868,13 +11868,13 @@ var serializeAws_restXmlStorageClassAnalysis = function (input, context) {
|
|
|
11868
11868
|
};
|
|
11869
11869
|
var serializeAws_restXmlStorageClassAnalysisDataExport = function (input, context) {
|
|
11870
11870
|
var bodyNode = new __XmlNode("StorageClassAnalysisDataExport");
|
|
11871
|
-
if (input.OutputSchemaVersion
|
|
11871
|
+
if (input.OutputSchemaVersion != null) {
|
|
11872
11872
|
var node = new __XmlNode("StorageClassAnalysisSchemaVersion")
|
|
11873
11873
|
.addChildNode(new __XmlText(input.OutputSchemaVersion))
|
|
11874
11874
|
.withName("OutputSchemaVersion");
|
|
11875
11875
|
bodyNode.addChildNode(node);
|
|
11876
11876
|
}
|
|
11877
|
-
if (input.Destination
|
|
11877
|
+
if (input.Destination != null) {
|
|
11878
11878
|
var node = serializeAws_restXmlAnalyticsExportDestination(input.Destination, context).withName("Destination");
|
|
11879
11879
|
bodyNode.addChildNode(node);
|
|
11880
11880
|
}
|
|
@@ -11882,11 +11882,11 @@ var serializeAws_restXmlStorageClassAnalysisDataExport = function (input, contex
|
|
|
11882
11882
|
};
|
|
11883
11883
|
var serializeAws_restXmlTag = function (input, context) {
|
|
11884
11884
|
var bodyNode = new __XmlNode("Tag");
|
|
11885
|
-
if (input.Key
|
|
11885
|
+
if (input.Key != null) {
|
|
11886
11886
|
var node = new __XmlNode("ObjectKey").addChildNode(new __XmlText(input.Key)).withName("Key");
|
|
11887
11887
|
bodyNode.addChildNode(node);
|
|
11888
11888
|
}
|
|
11889
|
-
if (input.Value
|
|
11889
|
+
if (input.Value != null) {
|
|
11890
11890
|
var node = new __XmlNode("Value").addChildNode(new __XmlText(input.Value)).withName("Value");
|
|
11891
11891
|
bodyNode.addChildNode(node);
|
|
11892
11892
|
}
|
|
@@ -11894,7 +11894,7 @@ var serializeAws_restXmlTag = function (input, context) {
|
|
|
11894
11894
|
};
|
|
11895
11895
|
var serializeAws_restXmlTagging = function (input, context) {
|
|
11896
11896
|
var bodyNode = new __XmlNode("Tagging");
|
|
11897
|
-
if (input.TagSet
|
|
11897
|
+
if (input.TagSet != null) {
|
|
11898
11898
|
var nodes = serializeAws_restXmlTagSet(input.TagSet, context);
|
|
11899
11899
|
var containerNode_6 = new __XmlNode("TagSet");
|
|
11900
11900
|
nodes.map(function (node) {
|
|
@@ -11917,12 +11917,12 @@ var serializeAws_restXmlTagSet = function (input, context) {
|
|
|
11917
11917
|
};
|
|
11918
11918
|
var serializeAws_restXmlTargetGrant = function (input, context) {
|
|
11919
11919
|
var bodyNode = new __XmlNode("TargetGrant");
|
|
11920
|
-
if (input.Grantee
|
|
11920
|
+
if (input.Grantee != null) {
|
|
11921
11921
|
var node = serializeAws_restXmlGrantee(input.Grantee, context).withName("Grantee");
|
|
11922
11922
|
node.addAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
|
|
11923
11923
|
bodyNode.addChildNode(node);
|
|
11924
11924
|
}
|
|
11925
|
-
if (input.Permission
|
|
11925
|
+
if (input.Permission != null) {
|
|
11926
11926
|
var node = new __XmlNode("BucketLogsPermission")
|
|
11927
11927
|
.addChildNode(new __XmlText(input.Permission))
|
|
11928
11928
|
.withName("Permission");
|
|
@@ -11943,13 +11943,13 @@ var serializeAws_restXmlTargetGrants = function (input, context) {
|
|
|
11943
11943
|
};
|
|
11944
11944
|
var serializeAws_restXmlTiering = function (input, context) {
|
|
11945
11945
|
var bodyNode = new __XmlNode("Tiering");
|
|
11946
|
-
if (input.Days
|
|
11946
|
+
if (input.Days != null) {
|
|
11947
11947
|
var node = new __XmlNode("IntelligentTieringDays")
|
|
11948
11948
|
.addChildNode(new __XmlText(String(input.Days)))
|
|
11949
11949
|
.withName("Days");
|
|
11950
11950
|
bodyNode.addChildNode(node);
|
|
11951
11951
|
}
|
|
11952
|
-
if (input.AccessTier
|
|
11952
|
+
if (input.AccessTier != null) {
|
|
11953
11953
|
var node = new __XmlNode("IntelligentTieringAccessTier")
|
|
11954
11954
|
.addChildNode(new __XmlText(input.AccessTier))
|
|
11955
11955
|
.withName("AccessTier");
|
|
@@ -11970,22 +11970,22 @@ var serializeAws_restXmlTieringList = function (input, context) {
|
|
|
11970
11970
|
};
|
|
11971
11971
|
var serializeAws_restXmlTopicConfiguration = function (input, context) {
|
|
11972
11972
|
var bodyNode = new __XmlNode("TopicConfiguration");
|
|
11973
|
-
if (input.Id
|
|
11973
|
+
if (input.Id != null) {
|
|
11974
11974
|
var node = new __XmlNode("NotificationId").addChildNode(new __XmlText(input.Id)).withName("Id");
|
|
11975
11975
|
bodyNode.addChildNode(node);
|
|
11976
11976
|
}
|
|
11977
|
-
if (input.TopicArn
|
|
11977
|
+
if (input.TopicArn != null) {
|
|
11978
11978
|
var node = new __XmlNode("TopicArn").addChildNode(new __XmlText(input.TopicArn)).withName("Topic");
|
|
11979
11979
|
bodyNode.addChildNode(node);
|
|
11980
11980
|
}
|
|
11981
|
-
if (input.Events
|
|
11981
|
+
if (input.Events != null) {
|
|
11982
11982
|
var nodes = serializeAws_restXmlEventList(input.Events, context);
|
|
11983
11983
|
nodes.map(function (node) {
|
|
11984
11984
|
node = node.withName("Event");
|
|
11985
11985
|
bodyNode.addChildNode(node);
|
|
11986
11986
|
});
|
|
11987
11987
|
}
|
|
11988
|
-
if (input.Filter
|
|
11988
|
+
if (input.Filter != null) {
|
|
11989
11989
|
var node = serializeAws_restXmlNotificationConfigurationFilter(input.Filter, context).withName("Filter");
|
|
11990
11990
|
bodyNode.addChildNode(node);
|
|
11991
11991
|
}
|
|
@@ -12004,17 +12004,17 @@ var serializeAws_restXmlTopicConfigurationList = function (input, context) {
|
|
|
12004
12004
|
};
|
|
12005
12005
|
var serializeAws_restXmlTransition = function (input, context) {
|
|
12006
12006
|
var bodyNode = new __XmlNode("Transition");
|
|
12007
|
-
if (input.Date
|
|
12007
|
+
if (input.Date != null) {
|
|
12008
12008
|
var node = new __XmlNode("Date")
|
|
12009
12009
|
.addChildNode(new __XmlText(input.Date.toISOString().split(".")[0] + "Z"))
|
|
12010
12010
|
.withName("Date");
|
|
12011
12011
|
bodyNode.addChildNode(node);
|
|
12012
12012
|
}
|
|
12013
|
-
if (input.Days
|
|
12013
|
+
if (input.Days != null) {
|
|
12014
12014
|
var node = new __XmlNode("Days").addChildNode(new __XmlText(String(input.Days))).withName("Days");
|
|
12015
12015
|
bodyNode.addChildNode(node);
|
|
12016
12016
|
}
|
|
12017
|
-
if (input.StorageClass
|
|
12017
|
+
if (input.StorageClass != null) {
|
|
12018
12018
|
var node = new __XmlNode("TransitionStorageClass")
|
|
12019
12019
|
.addChildNode(new __XmlText(input.StorageClass))
|
|
12020
12020
|
.withName("StorageClass");
|
|
@@ -12046,11 +12046,11 @@ var serializeAws_restXmlUserMetadata = function (input, context) {
|
|
|
12046
12046
|
};
|
|
12047
12047
|
var serializeAws_restXmlVersioningConfiguration = function (input, context) {
|
|
12048
12048
|
var bodyNode = new __XmlNode("VersioningConfiguration");
|
|
12049
|
-
if (input.MFADelete
|
|
12049
|
+
if (input.MFADelete != null) {
|
|
12050
12050
|
var node = new __XmlNode("MFADelete").addChildNode(new __XmlText(input.MFADelete)).withName("MfaDelete");
|
|
12051
12051
|
bodyNode.addChildNode(node);
|
|
12052
12052
|
}
|
|
12053
|
-
if (input.Status
|
|
12053
|
+
if (input.Status != null) {
|
|
12054
12054
|
var node = new __XmlNode("BucketVersioningStatus").addChildNode(new __XmlText(input.Status)).withName("Status");
|
|
12055
12055
|
bodyNode.addChildNode(node);
|
|
12056
12056
|
}
|
|
@@ -12058,19 +12058,19 @@ var serializeAws_restXmlVersioningConfiguration = function (input, context) {
|
|
|
12058
12058
|
};
|
|
12059
12059
|
var serializeAws_restXmlWebsiteConfiguration = function (input, context) {
|
|
12060
12060
|
var bodyNode = new __XmlNode("WebsiteConfiguration");
|
|
12061
|
-
if (input.ErrorDocument
|
|
12061
|
+
if (input.ErrorDocument != null) {
|
|
12062
12062
|
var node = serializeAws_restXmlErrorDocument(input.ErrorDocument, context).withName("ErrorDocument");
|
|
12063
12063
|
bodyNode.addChildNode(node);
|
|
12064
12064
|
}
|
|
12065
|
-
if (input.IndexDocument
|
|
12065
|
+
if (input.IndexDocument != null) {
|
|
12066
12066
|
var node = serializeAws_restXmlIndexDocument(input.IndexDocument, context).withName("IndexDocument");
|
|
12067
12067
|
bodyNode.addChildNode(node);
|
|
12068
12068
|
}
|
|
12069
|
-
if (input.RedirectAllRequestsTo
|
|
12069
|
+
if (input.RedirectAllRequestsTo != null) {
|
|
12070
12070
|
var node = serializeAws_restXmlRedirectAllRequestsTo(input.RedirectAllRequestsTo, context).withName("RedirectAllRequestsTo");
|
|
12071
12071
|
bodyNode.addChildNode(node);
|
|
12072
12072
|
}
|
|
12073
|
-
if (input.RoutingRules
|
|
12073
|
+
if (input.RoutingRules != null) {
|
|
12074
12074
|
var nodes = serializeAws_restXmlRoutingRules(input.RoutingRules, context);
|
|
12075
12075
|
var containerNode_7 = new __XmlNode("RoutingRules");
|
|
12076
12076
|
nodes.map(function (node) {
|