aws-sdk-core 2.11.177 → 2.11.178

Sign up to get free protection for your applications and to get access to all the features.
@@ -427,6 +427,33 @@
427
427
  ],
428
428
  "documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGETacl.html"
429
429
  },
430
+ "GetObjectLegalHold":{
431
+ "name":"GetObjectLegalHold",
432
+ "http":{
433
+ "method":"GET",
434
+ "requestUri":"/{Bucket}/{Key+}?legal-hold"
435
+ },
436
+ "input":{"shape":"GetObjectLegalHoldRequest"},
437
+ "output":{"shape":"GetObjectLegalHoldOutput"}
438
+ },
439
+ "GetObjectLockConfiguration":{
440
+ "name":"GetObjectLockConfiguration",
441
+ "http":{
442
+ "method":"GET",
443
+ "requestUri":"/{Bucket}?object-lock"
444
+ },
445
+ "input":{"shape":"GetObjectLockConfigurationRequest"},
446
+ "output":{"shape":"GetObjectLockConfigurationOutput"}
447
+ },
448
+ "GetObjectRetention":{
449
+ "name":"GetObjectRetention",
450
+ "http":{
451
+ "method":"GET",
452
+ "requestUri":"/{Bucket}/{Key+}?retention"
453
+ },
454
+ "input":{"shape":"GetObjectRetentionRequest"},
455
+ "output":{"shape":"GetObjectRetentionOutput"}
456
+ },
430
457
  "GetObjectTagging":{
431
458
  "name":"GetObjectTagging",
432
459
  "http":{
@@ -753,6 +780,33 @@
753
780
  ],
754
781
  "documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPUTacl.html"
755
782
  },
783
+ "PutObjectLegalHold":{
784
+ "name":"PutObjectLegalHold",
785
+ "http":{
786
+ "method":"PUT",
787
+ "requestUri":"/{Bucket}/{Key+}?legal-hold"
788
+ },
789
+ "input":{"shape":"PutObjectLegalHoldRequest"},
790
+ "output":{"shape":"PutObjectLegalHoldOutput"}
791
+ },
792
+ "PutObjectLockConfiguration":{
793
+ "name":"PutObjectLockConfiguration",
794
+ "http":{
795
+ "method":"PUT",
796
+ "requestUri":"/{Bucket}?object-lock"
797
+ },
798
+ "input":{"shape":"PutObjectLockConfigurationRequest"},
799
+ "output":{"shape":"PutObjectLockConfigurationOutput"}
800
+ },
801
+ "PutObjectRetention":{
802
+ "name":"PutObjectRetention",
803
+ "http":{
804
+ "method":"PUT",
805
+ "requestUri":"/{Bucket}/{Key+}?retention"
806
+ },
807
+ "input":{"shape":"PutObjectRetentionRequest"},
808
+ "output":{"shape":"PutObjectRetentionOutput"}
809
+ },
756
810
  "PutObjectTagging":{
757
811
  "name":"PutObjectTagging",
758
812
  "http":{
@@ -1063,6 +1117,7 @@
1063
1117
  "locationName":"Bucket"
1064
1118
  }
1065
1119
  },
1120
+ "BypassGovernanceRetention":{"type":"boolean"},
1066
1121
  "BytesProcessed":{"type":"long"},
1067
1122
  "BytesReturned":{"type":"long"},
1068
1123
  "BytesScanned":{"type":"long"},
@@ -1500,6 +1555,21 @@
1500
1555
  "shape":"TaggingHeader",
1501
1556
  "location":"header",
1502
1557
  "locationName":"x-amz-tagging"
1558
+ },
1559
+ "ObjectLockMode":{
1560
+ "shape":"ObjectLockMode",
1561
+ "location":"header",
1562
+ "locationName":"x-amz-object-lock-mode"
1563
+ },
1564
+ "ObjectLockRetainUntilDate":{
1565
+ "shape":"ObjectLockRetainUntilDate",
1566
+ "location":"header",
1567
+ "locationName":"x-amz-object-lock-retain-until-date"
1568
+ },
1569
+ "ObjectLockLegalHoldStatus":{
1570
+ "shape":"ObjectLockLegalHoldStatus",
1571
+ "location":"header",
1572
+ "locationName":"x-amz-object-lock-legal-hold"
1503
1573
  }
1504
1574
  }
1505
1575
  },
@@ -1592,6 +1662,11 @@
1592
1662
  "shape":"GrantWriteACP",
1593
1663
  "location":"header",
1594
1664
  "locationName":"x-amz-grant-write-acp"
1665
+ },
1666
+ "ObjectLockEnabledForBucket":{
1667
+ "shape":"ObjectLockEnabledForBucket",
1668
+ "location":"header",
1669
+ "locationName":"x-amz-bucket-object-lock-enabled"
1595
1670
  }
1596
1671
  },
1597
1672
  "payload":"CreateBucketConfiguration"
@@ -1763,6 +1838,21 @@
1763
1838
  "shape":"TaggingHeader",
1764
1839
  "location":"header",
1765
1840
  "locationName":"x-amz-tagging"
1841
+ },
1842
+ "ObjectLockMode":{
1843
+ "shape":"ObjectLockMode",
1844
+ "location":"header",
1845
+ "locationName":"x-amz-object-lock-mode"
1846
+ },
1847
+ "ObjectLockRetainUntilDate":{
1848
+ "shape":"ObjectLockRetainUntilDate",
1849
+ "location":"header",
1850
+ "locationName":"x-amz-object-lock-retain-until-date"
1851
+ },
1852
+ "ObjectLockLegalHoldStatus":{
1853
+ "shape":"ObjectLockLegalHoldStatus",
1854
+ "location":"header",
1855
+ "locationName":"x-amz-object-lock-legal-hold"
1766
1856
  }
1767
1857
  }
1768
1858
  },
@@ -1773,6 +1863,14 @@
1773
1863
  },
1774
1864
  "Days":{"type":"integer"},
1775
1865
  "DaysAfterInitiation":{"type":"integer"},
1866
+ "DefaultRetention":{
1867
+ "type":"structure",
1868
+ "members":{
1869
+ "Mode":{"shape":"ObjectLockRetentionMode"},
1870
+ "Days":{"shape":"Days"},
1871
+ "Years":{"shape":"Years"}
1872
+ }
1873
+ },
1776
1874
  "Delete":{
1777
1875
  "type":"structure",
1778
1876
  "required":["Objects"],
@@ -2010,6 +2108,11 @@
2010
2108
  "shape":"RequestPayer",
2011
2109
  "location":"header",
2012
2110
  "locationName":"x-amz-request-payer"
2111
+ },
2112
+ "BypassGovernanceRetention":{
2113
+ "shape":"BypassGovernanceRetention",
2114
+ "location":"header",
2115
+ "locationName":"x-amz-bypass-governance-retention"
2013
2116
  }
2014
2117
  }
2015
2118
  },
@@ -2088,6 +2191,11 @@
2088
2191
  "shape":"RequestPayer",
2089
2192
  "location":"header",
2090
2193
  "locationName":"x-amz-request-payer"
2194
+ },
2195
+ "BypassGovernanceRetention":{
2196
+ "shape":"BypassGovernanceRetention",
2197
+ "location":"header",
2198
+ "locationName":"x-amz-bypass-governance-retention"
2091
2199
  }
2092
2200
  },
2093
2201
  "payload":"Delete"
@@ -2191,7 +2299,9 @@
2191
2299
  "s3:ObjectCreated:CompleteMultipartUpload",
2192
2300
  "s3:ObjectRemoved:*",
2193
2301
  "s3:ObjectRemoved:Delete",
2194
- "s3:ObjectRemoved:DeleteMarkerCreated"
2302
+ "s3:ObjectRemoved:DeleteMarkerCreated",
2303
+ "s3:ObjectRestore:Post",
2304
+ "s3:ObjectRestore:Completed"
2195
2305
  ]
2196
2306
  },
2197
2307
  "EventList":{
@@ -2663,6 +2773,60 @@
2663
2773
  }
2664
2774
  }
2665
2775
  },
2776
+ "GetObjectLegalHoldOutput":{
2777
+ "type":"structure",
2778
+ "members":{
2779
+ "LegalHold":{"shape":"ObjectLockLegalHold"}
2780
+ },
2781
+ "payload":"LegalHold"
2782
+ },
2783
+ "GetObjectLegalHoldRequest":{
2784
+ "type":"structure",
2785
+ "required":[
2786
+ "Bucket",
2787
+ "Key"
2788
+ ],
2789
+ "members":{
2790
+ "Bucket":{
2791
+ "shape":"BucketName",
2792
+ "location":"uri",
2793
+ "locationName":"Bucket"
2794
+ },
2795
+ "Key":{
2796
+ "shape":"ObjectKey",
2797
+ "location":"uri",
2798
+ "locationName":"Key"
2799
+ },
2800
+ "VersionId":{
2801
+ "shape":"ObjectVersionId",
2802
+ "location":"querystring",
2803
+ "locationName":"versionId"
2804
+ },
2805
+ "RequestPayer":{
2806
+ "shape":"RequestPayer",
2807
+ "location":"header",
2808
+ "locationName":"x-amz-request-payer"
2809
+ }
2810
+ }
2811
+ },
2812
+ "GetObjectLockConfigurationOutput":{
2813
+ "type":"structure",
2814
+ "members":{
2815
+ "ObjectLockConfiguration":{"shape":"ObjectLockConfiguration"}
2816
+ },
2817
+ "payload":"ObjectLockConfiguration"
2818
+ },
2819
+ "GetObjectLockConfigurationRequest":{
2820
+ "type":"structure",
2821
+ "required":["Bucket"],
2822
+ "members":{
2823
+ "Bucket":{
2824
+ "shape":"BucketName",
2825
+ "location":"uri",
2826
+ "locationName":"Bucket"
2827
+ }
2828
+ }
2829
+ },
2666
2830
  "GetObjectOutput":{
2667
2831
  "type":"structure",
2668
2832
  "members":{
@@ -2804,6 +2968,21 @@
2804
2968
  "shape":"TagCount",
2805
2969
  "location":"header",
2806
2970
  "locationName":"x-amz-tagging-count"
2971
+ },
2972
+ "ObjectLockMode":{
2973
+ "shape":"ObjectLockMode",
2974
+ "location":"header",
2975
+ "locationName":"x-amz-object-lock-mode"
2976
+ },
2977
+ "ObjectLockRetainUntilDate":{
2978
+ "shape":"ObjectLockRetainUntilDate",
2979
+ "location":"header",
2980
+ "locationName":"x-amz-object-lock-retain-until-date"
2981
+ },
2982
+ "ObjectLockLegalHoldStatus":{
2983
+ "shape":"ObjectLockLegalHoldStatus",
2984
+ "location":"header",
2985
+ "locationName":"x-amz-object-lock-legal-hold"
2807
2986
  }
2808
2987
  },
2809
2988
  "payload":"Body"
@@ -2912,6 +3091,42 @@
2912
3091
  }
2913
3092
  }
2914
3093
  },
3094
+ "GetObjectRetentionOutput":{
3095
+ "type":"structure",
3096
+ "members":{
3097
+ "Retention":{"shape":"ObjectLockRetention"}
3098
+ },
3099
+ "payload":"Retention"
3100
+ },
3101
+ "GetObjectRetentionRequest":{
3102
+ "type":"structure",
3103
+ "required":[
3104
+ "Bucket",
3105
+ "Key"
3106
+ ],
3107
+ "members":{
3108
+ "Bucket":{
3109
+ "shape":"BucketName",
3110
+ "location":"uri",
3111
+ "locationName":"Bucket"
3112
+ },
3113
+ "Key":{
3114
+ "shape":"ObjectKey",
3115
+ "location":"uri",
3116
+ "locationName":"Key"
3117
+ },
3118
+ "VersionId":{
3119
+ "shape":"ObjectVersionId",
3120
+ "location":"querystring",
3121
+ "locationName":"versionId"
3122
+ },
3123
+ "RequestPayer":{
3124
+ "shape":"RequestPayer",
3125
+ "location":"header",
3126
+ "locationName":"x-amz-request-payer"
3127
+ }
3128
+ }
3129
+ },
2915
3130
  "GetObjectTaggingOutput":{
2916
3131
  "type":"structure",
2917
3132
  "required":["TagSet"],
@@ -3188,6 +3403,21 @@
3188
3403
  "shape":"PartsCount",
3189
3404
  "location":"header",
3190
3405
  "locationName":"x-amz-mp-parts-count"
3406
+ },
3407
+ "ObjectLockMode":{
3408
+ "shape":"ObjectLockMode",
3409
+ "location":"header",
3410
+ "locationName":"x-amz-object-lock-mode"
3411
+ },
3412
+ "ObjectLockRetainUntilDate":{
3413
+ "shape":"ObjectLockRetainUntilDate",
3414
+ "location":"header",
3415
+ "locationName":"x-amz-object-lock-retain-until-date"
3416
+ },
3417
+ "ObjectLockLegalHoldStatus":{
3418
+ "shape":"ObjectLockLegalHoldStatus",
3419
+ "location":"header",
3420
+ "locationName":"x-amz-object-lock-legal-hold"
3191
3421
  }
3192
3422
  }
3193
3423
  },
@@ -3379,7 +3609,10 @@
3379
3609
  "ETag",
3380
3610
  "IsMultipartUploaded",
3381
3611
  "ReplicationStatus",
3382
- "EncryptionStatus"
3612
+ "EncryptionStatus",
3613
+ "ObjectLockRetainUntilDate",
3614
+ "ObjectLockMode",
3615
+ "ObjectLockLegalHoldStatus"
3383
3616
  ]
3384
3617
  },
3385
3618
  "InventoryOptionalFields":{
@@ -4179,6 +4412,60 @@
4179
4412
  "member":{"shape":"Object"},
4180
4413
  "flattened":true
4181
4414
  },
4415
+ "ObjectLockConfiguration":{
4416
+ "type":"structure",
4417
+ "members":{
4418
+ "ObjectLockEnabled":{"shape":"ObjectLockEnabled"},
4419
+ "Rule":{"shape":"ObjectLockRule"}
4420
+ }
4421
+ },
4422
+ "ObjectLockEnabled":{
4423
+ "type":"string",
4424
+ "enum":["Enabled"]
4425
+ },
4426
+ "ObjectLockEnabledForBucket":{"type":"boolean"},
4427
+ "ObjectLockLegalHold":{
4428
+ "type":"structure",
4429
+ "members":{
4430
+ "Status":{"shape":"ObjectLockLegalHoldStatus"}
4431
+ }
4432
+ },
4433
+ "ObjectLockLegalHoldStatus":{
4434
+ "type":"string",
4435
+ "enum":[
4436
+ "ON",
4437
+ "OFF"
4438
+ ]
4439
+ },
4440
+ "ObjectLockMode":{
4441
+ "type":"string",
4442
+ "enum":[
4443
+ "GOVERNANCE",
4444
+ "COMPLIANCE"
4445
+ ]
4446
+ },
4447
+ "ObjectLockRetainUntilDate":{"type":"timestamp"},
4448
+ "ObjectLockRetention":{
4449
+ "type":"structure",
4450
+ "members":{
4451
+ "Mode":{"shape":"ObjectLockRetentionMode"},
4452
+ "RetainUntilDate":{"shape":"Date"}
4453
+ }
4454
+ },
4455
+ "ObjectLockRetentionMode":{
4456
+ "type":"string",
4457
+ "enum":[
4458
+ "GOVERNANCE",
4459
+ "COMPLIANCE"
4460
+ ]
4461
+ },
4462
+ "ObjectLockRule":{
4463
+ "type":"structure",
4464
+ "members":{
4465
+ "DefaultRetention":{"shape":"DefaultRetention"}
4466
+ }
4467
+ },
4468
+ "ObjectLockToken":{"type":"string"},
4182
4469
  "ObjectNotInActiveTierError":{
4183
4470
  "type":"structure",
4184
4471
  "members":{
@@ -4885,6 +5172,98 @@
4885
5172
  },
4886
5173
  "payload":"AccessControlPolicy"
4887
5174
  },
5175
+ "PutObjectLegalHoldOutput":{
5176
+ "type":"structure",
5177
+ "members":{
5178
+ "RequestCharged":{
5179
+ "shape":"RequestCharged",
5180
+ "location":"header",
5181
+ "locationName":"x-amz-request-charged"
5182
+ }
5183
+ }
5184
+ },
5185
+ "PutObjectLegalHoldRequest":{
5186
+ "type":"structure",
5187
+ "required":[
5188
+ "Bucket",
5189
+ "Key"
5190
+ ],
5191
+ "members":{
5192
+ "Bucket":{
5193
+ "shape":"BucketName",
5194
+ "location":"uri",
5195
+ "locationName":"Bucket"
5196
+ },
5197
+ "Key":{
5198
+ "shape":"ObjectKey",
5199
+ "location":"uri",
5200
+ "locationName":"Key"
5201
+ },
5202
+ "LegalHold":{
5203
+ "shape":"ObjectLockLegalHold",
5204
+ "locationName":"LegalHold",
5205
+ "xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"}
5206
+ },
5207
+ "RequestPayer":{
5208
+ "shape":"RequestPayer",
5209
+ "location":"header",
5210
+ "locationName":"x-amz-request-payer"
5211
+ },
5212
+ "VersionId":{
5213
+ "shape":"ObjectVersionId",
5214
+ "location":"querystring",
5215
+ "locationName":"versionId"
5216
+ },
5217
+ "ContentMD5":{
5218
+ "shape":"ContentMD5",
5219
+ "location":"header",
5220
+ "locationName":"Content-MD5"
5221
+ }
5222
+ },
5223
+ "payload":"LegalHold"
5224
+ },
5225
+ "PutObjectLockConfigurationOutput":{
5226
+ "type":"structure",
5227
+ "members":{
5228
+ "RequestCharged":{
5229
+ "shape":"RequestCharged",
5230
+ "location":"header",
5231
+ "locationName":"x-amz-request-charged"
5232
+ }
5233
+ }
5234
+ },
5235
+ "PutObjectLockConfigurationRequest":{
5236
+ "type":"structure",
5237
+ "required":["Bucket"],
5238
+ "members":{
5239
+ "Bucket":{
5240
+ "shape":"BucketName",
5241
+ "location":"uri",
5242
+ "locationName":"Bucket"
5243
+ },
5244
+ "ObjectLockConfiguration":{
5245
+ "shape":"ObjectLockConfiguration",
5246
+ "locationName":"ObjectLockConfiguration",
5247
+ "xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"}
5248
+ },
5249
+ "RequestPayer":{
5250
+ "shape":"RequestPayer",
5251
+ "location":"header",
5252
+ "locationName":"x-amz-request-payer"
5253
+ },
5254
+ "Token":{
5255
+ "shape":"ObjectLockToken",
5256
+ "location":"header",
5257
+ "locationName":"x-amz-bucket-object-lock-token"
5258
+ },
5259
+ "ContentMD5":{
5260
+ "shape":"ContentMD5",
5261
+ "location":"header",
5262
+ "locationName":"Content-MD5"
5263
+ }
5264
+ },
5265
+ "payload":"ObjectLockConfiguration"
5266
+ },
4888
5267
  "PutObjectOutput":{
4889
5268
  "type":"structure",
4890
5269
  "members":{
@@ -5065,10 +5444,80 @@
5065
5444
  "shape":"TaggingHeader",
5066
5445
  "location":"header",
5067
5446
  "locationName":"x-amz-tagging"
5447
+ },
5448
+ "ObjectLockMode":{
5449
+ "shape":"ObjectLockMode",
5450
+ "location":"header",
5451
+ "locationName":"x-amz-object-lock-mode"
5452
+ },
5453
+ "ObjectLockRetainUntilDate":{
5454
+ "shape":"ObjectLockRetainUntilDate",
5455
+ "location":"header",
5456
+ "locationName":"x-amz-object-lock-retain-until-date"
5457
+ },
5458
+ "ObjectLockLegalHoldStatus":{
5459
+ "shape":"ObjectLockLegalHoldStatus",
5460
+ "location":"header",
5461
+ "locationName":"x-amz-object-lock-legal-hold"
5068
5462
  }
5069
5463
  },
5070
5464
  "payload":"Body"
5071
5465
  },
5466
+ "PutObjectRetentionOutput":{
5467
+ "type":"structure",
5468
+ "members":{
5469
+ "RequestCharged":{
5470
+ "shape":"RequestCharged",
5471
+ "location":"header",
5472
+ "locationName":"x-amz-request-charged"
5473
+ }
5474
+ }
5475
+ },
5476
+ "PutObjectRetentionRequest":{
5477
+ "type":"structure",
5478
+ "required":[
5479
+ "Bucket",
5480
+ "Key"
5481
+ ],
5482
+ "members":{
5483
+ "Bucket":{
5484
+ "shape":"BucketName",
5485
+ "location":"uri",
5486
+ "locationName":"Bucket"
5487
+ },
5488
+ "Key":{
5489
+ "shape":"ObjectKey",
5490
+ "location":"uri",
5491
+ "locationName":"Key"
5492
+ },
5493
+ "Retention":{
5494
+ "shape":"ObjectLockRetention",
5495
+ "locationName":"Retention",
5496
+ "xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"}
5497
+ },
5498
+ "RequestPayer":{
5499
+ "shape":"RequestPayer",
5500
+ "location":"header",
5501
+ "locationName":"x-amz-request-payer"
5502
+ },
5503
+ "VersionId":{
5504
+ "shape":"ObjectVersionId",
5505
+ "location":"querystring",
5506
+ "locationName":"versionId"
5507
+ },
5508
+ "BypassGovernanceRetention":{
5509
+ "shape":"BypassGovernanceRetention",
5510
+ "location":"header",
5511
+ "locationName":"x-amz-bypass-governance-retention"
5512
+ },
5513
+ "ContentMD5":{
5514
+ "shape":"ContentMD5",
5515
+ "location":"header",
5516
+ "locationName":"Content-MD5"
5517
+ }
5518
+ },
5519
+ "payload":"Retention"
5520
+ },
5072
5521
  "PutObjectTaggingOutput":{
5073
5522
  "type":"structure",
5074
5523
  "members":{
@@ -5640,7 +6089,8 @@
5640
6089
  "REDUCED_REDUNDANCY",
5641
6090
  "STANDARD_IA",
5642
6091
  "ONEZONE_IA",
5643
- "INTELLIGENT_TIERING"
6092
+ "INTELLIGENT_TIERING",
6093
+ "GLACIER"
5644
6094
  ]
5645
6095
  },
5646
6096
  "StorageClassAnalysis":{
@@ -6059,6 +6509,7 @@
6059
6509
  "RoutingRules":{"shape":"RoutingRules"}
6060
6510
  }
6061
6511
  },
6062
- "WebsiteRedirectLocation":{"type":"string"}
6512
+ "WebsiteRedirectLocation":{"type":"string"},
6513
+ "Years":{"type":"integer"}
6063
6514
  }
6064
6515
  }