|
23 | 23 | "errors":[ |
24 | 24 | {"shape":"BadRequest"}, |
25 | 25 | {"shape":"AccessPointAlreadyExists"}, |
| 26 | + {"shape":"IncorrectFileSystemLifeCycleState"}, |
26 | 27 | {"shape":"InternalServerError"}, |
27 | 28 | {"shape":"FileSystemNotFound"}, |
28 | 29 | {"shape":"AccessPointLimitExceeded"} |
|
176 | 177 | {"shape":"AccessPointNotFound"} |
177 | 178 | ] |
178 | 179 | }, |
| 180 | + "DescribeBackupPolicy":{ |
| 181 | + "name":"DescribeBackupPolicy", |
| 182 | + "http":{ |
| 183 | + "method":"GET", |
| 184 | + "requestUri":"/2015-02-01/file-systems/{FileSystemId}/backup-policy", |
| 185 | + "responseCode":200 |
| 186 | + }, |
| 187 | + "input":{"shape":"DescribeBackupPolicyRequest"}, |
| 188 | + "output":{"shape":"BackupPolicyDescription"}, |
| 189 | + "errors":[ |
| 190 | + {"shape":"BadRequest"}, |
| 191 | + {"shape":"FileSystemNotFound"}, |
| 192 | + {"shape":"InternalServerError"}, |
| 193 | + {"shape":"PolicyNotFound"}, |
| 194 | + {"shape":"ValidationException"} |
| 195 | + ] |
| 196 | + }, |
179 | 197 | "DescribeFileSystemPolicy":{ |
180 | 198 | "name":"DescribeFileSystemPolicy", |
181 | 199 | "http":{ |
|
304 | 322 | {"shape":"SecurityGroupNotFound"} |
305 | 323 | ] |
306 | 324 | }, |
| 325 | + "PutBackupPolicy":{ |
| 326 | + "name":"PutBackupPolicy", |
| 327 | + "http":{ |
| 328 | + "method":"PUT", |
| 329 | + "requestUri":"/2015-02-01/file-systems/{FileSystemId}/backup-policy", |
| 330 | + "responseCode":200 |
| 331 | + }, |
| 332 | + "input":{"shape":"PutBackupPolicyRequest"}, |
| 333 | + "output":{"shape":"BackupPolicyDescription"}, |
| 334 | + "errors":[ |
| 335 | + {"shape":"BadRequest"}, |
| 336 | + {"shape":"FileSystemNotFound"}, |
| 337 | + {"shape":"IncorrectFileSystemLifeCycleState"}, |
| 338 | + {"shape":"InternalServerError"}, |
| 339 | + {"shape":"ValidationException"} |
| 340 | + ] |
| 341 | + }, |
307 | 342 | "PutFileSystemPolicy":{ |
308 | 343 | "name":"PutFileSystemPolicy", |
309 | 344 | "http":{ |
|
444 | 479 | }, |
445 | 480 | "AvailabilityZoneId":{"type":"string"}, |
446 | 481 | "AvailabilityZoneName":{"type":"string"}, |
447 | | - "AwsAccountId":{"type":"string"}, |
| 482 | + "AwsAccountId":{ |
| 483 | + "type":"string", |
| 484 | + "max":14, |
| 485 | + "pattern":"^(\\d{12})|(\\d{4}-\\d{4}-\\d{4})$" |
| 486 | + }, |
| 487 | + "BackupPolicy":{ |
| 488 | + "type":"structure", |
| 489 | + "required":["Status"], |
| 490 | + "members":{ |
| 491 | + "Status":{"shape":"Status"} |
| 492 | + } |
| 493 | + }, |
| 494 | + "BackupPolicyDescription":{ |
| 495 | + "type":"structure", |
| 496 | + "members":{ |
| 497 | + "BackupPolicy":{"shape":"BackupPolicy"} |
| 498 | + } |
| 499 | + }, |
448 | 500 | "BadRequest":{ |
449 | 501 | "type":"structure", |
450 | 502 | "required":["ErrorCode"], |
|
538 | 590 | "CreationToken":{ |
539 | 591 | "type":"string", |
540 | 592 | "max":64, |
541 | | - "min":1 |
| 593 | + "min":1, |
| 594 | + "pattern":".+" |
542 | 595 | }, |
543 | 596 | "DeleteAccessPointRequest":{ |
544 | 597 | "type":"structure", |
|
641 | 694 | "NextToken":{"shape":"Token"} |
642 | 695 | } |
643 | 696 | }, |
| 697 | + "DescribeBackupPolicyRequest":{ |
| 698 | + "type":"structure", |
| 699 | + "required":["FileSystemId"], |
| 700 | + "members":{ |
| 701 | + "FileSystemId":{ |
| 702 | + "shape":"FileSystemId", |
| 703 | + "location":"uri", |
| 704 | + "locationName":"FileSystemId" |
| 705 | + } |
| 706 | + } |
| 707 | + }, |
644 | 708 | "DescribeFileSystemPolicyRequest":{ |
645 | 709 | "type":"structure", |
646 | 710 | "required":["FileSystemId"], |
|
802 | 866 | "error":{"httpStatusCode":409}, |
803 | 867 | "exception":true |
804 | 868 | }, |
| 869 | + "FileSystemArn":{"type":"string"}, |
805 | 870 | "FileSystemDescription":{ |
806 | 871 | "type":"structure", |
807 | 872 | "required":[ |
|
819 | 884 | "OwnerId":{"shape":"AwsAccountId"}, |
820 | 885 | "CreationToken":{"shape":"CreationToken"}, |
821 | 886 | "FileSystemId":{"shape":"FileSystemId"}, |
| 887 | + "FileSystemArn":{"shape":"FileSystemArn"}, |
822 | 888 | "CreationTime":{"shape":"Timestamp"}, |
823 | 889 | "LifeCycleState":{"shape":"LifeCycleState"}, |
824 | 890 | "Name":{"shape":"TagValue"}, |
|
836 | 902 | "type":"list", |
837 | 903 | "member":{"shape":"FileSystemDescription"} |
838 | 904 | }, |
839 | | - "FileSystemId":{"type":"string"}, |
| 905 | + "FileSystemId":{ |
| 906 | + "type":"string", |
| 907 | + "max":128, |
| 908 | + "pattern":"^(arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:file-system/fs-[0-9a-f]{8,40}|fs-[0-9a-f]{8,40})$" |
| 909 | + }, |
840 | 910 | "FileSystemInUse":{ |
841 | 911 | "type":"structure", |
842 | 912 | "required":["ErrorCode"], |
|
946 | 1016 | "error":{"httpStatusCode":400}, |
947 | 1017 | "exception":true |
948 | 1018 | }, |
949 | | - "IpAddress":{"type":"string"}, |
| 1019 | + "IpAddress":{ |
| 1020 | + "type":"string", |
| 1021 | + "max":15, |
| 1022 | + "min":7, |
| 1023 | + "pattern":"^[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}$" |
| 1024 | + }, |
950 | 1025 | "IpAddressInUse":{ |
951 | 1026 | "type":"structure", |
952 | 1027 | "required":["ErrorCode"], |
|
960 | 1035 | "KmsKeyId":{ |
961 | 1036 | "type":"string", |
962 | 1037 | "max":2048, |
963 | | - "min":1 |
| 1038 | + "pattern":"^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|alias/[a-zA-Z0-9/_-]+|(arn:aws[-a-z]*:kms:[a-z0-9-]+:\\d{12}:((key/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})|(alias/[a-zA-Z0-9/_-]+))))$" |
964 | 1039 | }, |
965 | 1040 | "LifeCycleState":{ |
966 | 1041 | "type":"string", |
|
1016 | 1091 | "NextToken":{"shape":"Token"} |
1017 | 1092 | } |
1018 | 1093 | }, |
1019 | | - "Marker":{"type":"string"}, |
| 1094 | + "Marker":{ |
| 1095 | + "type":"string", |
| 1096 | + "max":128, |
| 1097 | + "min":1, |
| 1098 | + "pattern":".+" |
| 1099 | + }, |
1020 | 1100 | "MaxItems":{ |
1021 | 1101 | "type":"integer", |
1022 | 1102 | "min":1 |
|
1068 | 1148 | "IpAddress":{"shape":"IpAddress"}, |
1069 | 1149 | "NetworkInterfaceId":{"shape":"NetworkInterfaceId"}, |
1070 | 1150 | "AvailabilityZoneId":{"shape":"AvailabilityZoneId"}, |
1071 | | - "AvailabilityZoneName":{"shape":"AvailabilityZoneName"} |
| 1151 | + "AvailabilityZoneName":{"shape":"AvailabilityZoneName"}, |
| 1152 | + "VpcId":{"shape":"VpcId"} |
1072 | 1153 | } |
1073 | 1154 | }, |
1074 | 1155 | "MountTargetDescriptions":{ |
1075 | 1156 | "type":"list", |
1076 | 1157 | "member":{"shape":"MountTargetDescription"} |
1077 | 1158 | }, |
1078 | | - "MountTargetId":{"type":"string"}, |
| 1159 | + "MountTargetId":{ |
| 1160 | + "type":"string", |
| 1161 | + "max":45, |
| 1162 | + "min":13, |
| 1163 | + "pattern":"^fsmt-[0-9a-f]{8,40}$" |
| 1164 | + }, |
1079 | 1165 | "MountTargetNotFound":{ |
1080 | 1166 | "type":"structure", |
1081 | 1167 | "required":["ErrorCode"], |
|
1160 | 1246 | "type":"double", |
1161 | 1247 | "min":1.0 |
1162 | 1248 | }, |
| 1249 | + "PutBackupPolicyRequest":{ |
| 1250 | + "type":"structure", |
| 1251 | + "required":[ |
| 1252 | + "FileSystemId", |
| 1253 | + "BackupPolicy" |
| 1254 | + ], |
| 1255 | + "members":{ |
| 1256 | + "FileSystemId":{ |
| 1257 | + "shape":"FileSystemId", |
| 1258 | + "location":"uri", |
| 1259 | + "locationName":"FileSystemId" |
| 1260 | + }, |
| 1261 | + "BackupPolicy":{"shape":"BackupPolicy"} |
| 1262 | + } |
| 1263 | + }, |
1163 | 1264 | "PutFileSystemPolicyRequest":{ |
1164 | 1265 | "type":"structure", |
1165 | 1266 | "required":[ |
|
1205 | 1306 | "max":16, |
1206 | 1307 | "min":0 |
1207 | 1308 | }, |
1208 | | - "SecurityGroup":{"type":"string"}, |
| 1309 | + "SecurityGroup":{ |
| 1310 | + "type":"string", |
| 1311 | + "max":43, |
| 1312 | + "min":11, |
| 1313 | + "pattern":"^sg-[0-9a-f]{8,40}" |
| 1314 | + }, |
1209 | 1315 | "SecurityGroupLimitExceeded":{ |
1210 | 1316 | "type":"structure", |
1211 | 1317 | "required":["ErrorCode"], |
|
1231 | 1337 | "member":{"shape":"SecurityGroup"}, |
1232 | 1338 | "max":5 |
1233 | 1339 | }, |
1234 | | - "SubnetId":{"type":"string"}, |
| 1340 | + "Status":{ |
| 1341 | + "type":"string", |
| 1342 | + "enum":[ |
| 1343 | + "ENABLED", |
| 1344 | + "ENABLING", |
| 1345 | + "DISABLED", |
| 1346 | + "DISABLING" |
| 1347 | + ] |
| 1348 | + }, |
| 1349 | + "SubnetId":{ |
| 1350 | + "type":"string", |
| 1351 | + "max":47, |
| 1352 | + "min":15, |
| 1353 | + "pattern":"^subnet-[0-9a-f]{8,40}$" |
| 1354 | + }, |
1235 | 1355 | "SubnetNotFound":{ |
1236 | 1356 | "type":"structure", |
1237 | 1357 | "required":["ErrorCode"], |
|
1256 | 1376 | "TagKey":{ |
1257 | 1377 | "type":"string", |
1258 | 1378 | "max":128, |
1259 | | - "min":1 |
| 1379 | + "min":1, |
| 1380 | + "pattern":"^(?![aA]{1}[wW]{1}[sS]{1}:)([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]+)$" |
1260 | 1381 | }, |
1261 | 1382 | "TagKeys":{ |
1262 | 1383 | "type":"list", |
|
1281 | 1402 | }, |
1282 | 1403 | "TagValue":{ |
1283 | 1404 | "type":"string", |
1284 | | - "max":256 |
| 1405 | + "max":256, |
| 1406 | + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" |
1285 | 1407 | }, |
1286 | 1408 | "Tags":{ |
1287 | 1409 | "type":"list", |
|
1372 | 1494 | "ThroughputMode":{"shape":"ThroughputMode"}, |
1373 | 1495 | "ProvisionedThroughputInMibps":{"shape":"ProvisionedThroughputInMibps"} |
1374 | 1496 | } |
1375 | | - } |
| 1497 | + }, |
| 1498 | + "ValidationException":{ |
| 1499 | + "type":"structure", |
| 1500 | + "required":["ErrorCode"], |
| 1501 | + "members":{ |
| 1502 | + "ErrorCode":{"shape":"ErrorCode"}, |
| 1503 | + "Message":{"shape":"ErrorMessage"} |
| 1504 | + }, |
| 1505 | + "error":{"httpStatusCode":400}, |
| 1506 | + "exception":true |
| 1507 | + }, |
| 1508 | + "VpcId":{"type":"string"} |
1376 | 1509 | } |
1377 | 1510 | } |
0 commit comments