|
186 | 186 | ], |
187 | 187 | "idempotent":true |
188 | 188 | }, |
| 189 | + "DescribeCopyJob":{ |
| 190 | + "name":"DescribeCopyJob", |
| 191 | + "http":{ |
| 192 | + "method":"GET", |
| 193 | + "requestUri":"/copy-jobs/{copyJobId}" |
| 194 | + }, |
| 195 | + "input":{"shape":"DescribeCopyJobInput"}, |
| 196 | + "output":{"shape":"DescribeCopyJobOutput"}, |
| 197 | + "errors":[ |
| 198 | + {"shape":"ResourceNotFoundException"}, |
| 199 | + {"shape":"InvalidParameterValueException"}, |
| 200 | + {"shape":"MissingParameterValueException"}, |
| 201 | + {"shape":"ServiceUnavailableException"} |
| 202 | + ], |
| 203 | + "idempotent":true |
| 204 | + }, |
189 | 205 | "DescribeProtectedResource":{ |
190 | 206 | "name":"DescribeProtectedResource", |
191 | 207 | "http":{ |
|
382 | 398 | "output":{"shape":"ListBackupJobsOutput"}, |
383 | 399 | "errors":[ |
384 | 400 | {"shape":"InvalidParameterValueException"}, |
| 401 | + {"shape":"InvalidRequestException"}, |
385 | 402 | {"shape":"ServiceUnavailableException"} |
386 | 403 | ], |
387 | 404 | "idempotent":true |
|
465 | 482 | ], |
466 | 483 | "idempotent":true |
467 | 484 | }, |
| 485 | + "ListCopyJobs":{ |
| 486 | + "name":"ListCopyJobs", |
| 487 | + "http":{ |
| 488 | + "method":"GET", |
| 489 | + "requestUri":"/copy-jobs/" |
| 490 | + }, |
| 491 | + "input":{"shape":"ListCopyJobsInput"}, |
| 492 | + "output":{"shape":"ListCopyJobsOutput"}, |
| 493 | + "errors":[ |
| 494 | + {"shape":"InvalidParameterValueException"}, |
| 495 | + {"shape":"ServiceUnavailableException"} |
| 496 | + ] |
| 497 | + }, |
468 | 498 | "ListProtectedResources":{ |
469 | 499 | "name":"ListProtectedResources", |
470 | 500 | "http":{ |
|
590 | 620 | ], |
591 | 621 | "idempotent":true |
592 | 622 | }, |
| 623 | + "StartCopyJob":{ |
| 624 | + "name":"StartCopyJob", |
| 625 | + "http":{ |
| 626 | + "method":"PUT", |
| 627 | + "requestUri":"/copy-jobs" |
| 628 | + }, |
| 629 | + "input":{"shape":"StartCopyJobInput"}, |
| 630 | + "output":{"shape":"StartCopyJobOutput"}, |
| 631 | + "errors":[ |
| 632 | + {"shape":"ResourceNotFoundException"}, |
| 633 | + {"shape":"InvalidParameterValueException"}, |
| 634 | + {"shape":"MissingParameterValueException"}, |
| 635 | + {"shape":"ServiceUnavailableException"}, |
| 636 | + {"shape":"LimitExceededException"} |
| 637 | + ], |
| 638 | + "idempotent":true |
| 639 | + }, |
593 | 640 | "StartRestoreJob":{ |
594 | 641 | "name":"StartRestoreJob", |
595 | 642 | "http":{ |
|
807 | 854 | "CompletionWindowMinutes":{"shape":"WindowMinutes"}, |
808 | 855 | "Lifecycle":{"shape":"Lifecycle"}, |
809 | 856 | "RecoveryPointTags":{"shape":"Tags"}, |
810 | | - "RuleId":{"shape":"string"} |
| 857 | + "RuleId":{"shape":"string"}, |
| 858 | + "CopyActions":{"shape":"CopyActions"} |
811 | 859 | } |
812 | 860 | }, |
813 | 861 | "BackupRuleInput":{ |
|
823 | 871 | "StartWindowMinutes":{"shape":"WindowMinutes"}, |
824 | 872 | "CompletionWindowMinutes":{"shape":"WindowMinutes"}, |
825 | 873 | "Lifecycle":{"shape":"Lifecycle"}, |
826 | | - "RecoveryPointTags":{"shape":"Tags"} |
| 874 | + "RecoveryPointTags":{"shape":"Tags"}, |
| 875 | + "CopyActions":{"shape":"CopyActions"} |
827 | 876 | } |
828 | 877 | }, |
829 | 878 | "BackupRuleName":{ |
|
875 | 924 | "enum":[ |
876 | 925 | "BACKUP_JOB_STARTED", |
877 | 926 | "BACKUP_JOB_COMPLETED", |
| 927 | + "BACKUP_JOB_SUCCESSFUL", |
| 928 | + "BACKUP_JOB_FAILED", |
| 929 | + "BACKUP_JOB_EXPIRED", |
878 | 930 | "RESTORE_JOB_STARTED", |
879 | 931 | "RESTORE_JOB_COMPLETED", |
| 932 | + "RESTORE_JOB_SUCCESSFUL", |
| 933 | + "RESTORE_JOB_FAILED", |
| 934 | + "COPY_JOB_STARTED", |
| 935 | + "COPY_JOB_SUCCESSFUL", |
| 936 | + "COPY_JOB_FAILED", |
880 | 937 | "RECOVERY_POINT_MODIFIED", |
881 | 938 | "BACKUP_PLAN_CREATED", |
882 | 939 | "BACKUP_PLAN_MODIFIED" |
|
932 | 989 | "enum":["STRINGEQUALS"] |
933 | 990 | }, |
934 | 991 | "ConditionValue":{"type":"string"}, |
| 992 | + "CopyAction":{ |
| 993 | + "type":"structure", |
| 994 | + "required":["DestinationBackupVaultArn"], |
| 995 | + "members":{ |
| 996 | + "Lifecycle":{"shape":"Lifecycle"}, |
| 997 | + "DestinationBackupVaultArn":{"shape":"ARN"} |
| 998 | + } |
| 999 | + }, |
| 1000 | + "CopyActions":{ |
| 1001 | + "type":"list", |
| 1002 | + "member":{"shape":"CopyAction"} |
| 1003 | + }, |
| 1004 | + "CopyJob":{ |
| 1005 | + "type":"structure", |
| 1006 | + "members":{ |
| 1007 | + "CopyJobId":{"shape":"string"}, |
| 1008 | + "SourceBackupVaultArn":{"shape":"ARN"}, |
| 1009 | + "SourceRecoveryPointArn":{"shape":"ARN"}, |
| 1010 | + "DestinationBackupVaultArn":{"shape":"ARN"}, |
| 1011 | + "DestinationRecoveryPointArn":{"shape":"ARN"}, |
| 1012 | + "ResourceArn":{"shape":"ARN"}, |
| 1013 | + "CreationDate":{"shape":"timestamp"}, |
| 1014 | + "CompletionDate":{"shape":"timestamp"}, |
| 1015 | + "State":{"shape":"CopyJobState"}, |
| 1016 | + "StatusMessage":{"shape":"string"}, |
| 1017 | + "BackupSizeInBytes":{"shape":"Long"}, |
| 1018 | + "IamRoleArn":{"shape":"IAMRoleArn"}, |
| 1019 | + "CreatedBy":{"shape":"RecoveryPointCreator"}, |
| 1020 | + "ResourceType":{"shape":"ResourceType"} |
| 1021 | + } |
| 1022 | + }, |
| 1023 | + "CopyJobState":{ |
| 1024 | + "type":"string", |
| 1025 | + "enum":[ |
| 1026 | + "CREATED", |
| 1027 | + "RUNNING", |
| 1028 | + "COMPLETED", |
| 1029 | + "FAILED" |
| 1030 | + ] |
| 1031 | + }, |
| 1032 | + "CopyJobsList":{ |
| 1033 | + "type":"list", |
| 1034 | + "member":{"shape":"CopyJob"} |
| 1035 | + }, |
935 | 1036 | "CreateBackupPlanInput":{ |
936 | 1037 | "type":"structure", |
937 | 1038 | "required":["BackupPlan"], |
|
1154 | 1255 | "NumberOfRecoveryPoints":{"shape":"long"} |
1155 | 1256 | } |
1156 | 1257 | }, |
| 1258 | + "DescribeCopyJobInput":{ |
| 1259 | + "type":"structure", |
| 1260 | + "required":["CopyJobId"], |
| 1261 | + "members":{ |
| 1262 | + "CopyJobId":{ |
| 1263 | + "shape":"string", |
| 1264 | + "location":"uri", |
| 1265 | + "locationName":"copyJobId" |
| 1266 | + } |
| 1267 | + } |
| 1268 | + }, |
| 1269 | + "DescribeCopyJobOutput":{ |
| 1270 | + "type":"structure", |
| 1271 | + "members":{ |
| 1272 | + "CopyJob":{"shape":"CopyJob"} |
| 1273 | + } |
| 1274 | + }, |
1157 | 1275 | "DescribeProtectedResourceInput":{ |
1158 | 1276 | "type":"structure", |
1159 | 1277 | "required":["ResourceArn"], |
|
1636 | 1754 | "NextToken":{"shape":"string"} |
1637 | 1755 | } |
1638 | 1756 | }, |
| 1757 | + "ListCopyJobsInput":{ |
| 1758 | + "type":"structure", |
| 1759 | + "members":{ |
| 1760 | + "NextToken":{ |
| 1761 | + "shape":"string", |
| 1762 | + "location":"querystring", |
| 1763 | + "locationName":"nextToken" |
| 1764 | + }, |
| 1765 | + "MaxResults":{ |
| 1766 | + "shape":"MaxResults", |
| 1767 | + "location":"querystring", |
| 1768 | + "locationName":"maxResults" |
| 1769 | + }, |
| 1770 | + "ByResourceArn":{ |
| 1771 | + "shape":"ARN", |
| 1772 | + "location":"querystring", |
| 1773 | + "locationName":"resourceArn" |
| 1774 | + }, |
| 1775 | + "ByState":{ |
| 1776 | + "shape":"CopyJobState", |
| 1777 | + "location":"querystring", |
| 1778 | + "locationName":"state" |
| 1779 | + }, |
| 1780 | + "ByCreatedBefore":{ |
| 1781 | + "shape":"timestamp", |
| 1782 | + "location":"querystring", |
| 1783 | + "locationName":"createdBefore" |
| 1784 | + }, |
| 1785 | + "ByCreatedAfter":{ |
| 1786 | + "shape":"timestamp", |
| 1787 | + "location":"querystring", |
| 1788 | + "locationName":"createdAfter" |
| 1789 | + }, |
| 1790 | + "ByResourceType":{ |
| 1791 | + "shape":"ResourceType", |
| 1792 | + "location":"querystring", |
| 1793 | + "locationName":"resourceType" |
| 1794 | + }, |
| 1795 | + "ByDestinationVaultArn":{ |
| 1796 | + "shape":"string", |
| 1797 | + "location":"querystring", |
| 1798 | + "locationName":"destinationVaultArn" |
| 1799 | + } |
| 1800 | + } |
| 1801 | + }, |
| 1802 | + "ListCopyJobsOutput":{ |
| 1803 | + "type":"structure", |
| 1804 | + "members":{ |
| 1805 | + "CopyJobs":{"shape":"CopyJobsList"}, |
| 1806 | + "NextToken":{"shape":"string"} |
| 1807 | + } |
| 1808 | + }, |
1639 | 1809 | "ListOfTags":{ |
1640 | 1810 | "type":"list", |
1641 | 1811 | "member":{"shape":"Condition"} |
|
1802 | 1972 | "Metadata":{ |
1803 | 1973 | "type":"map", |
1804 | 1974 | "key":{"shape":"MetadataKey"}, |
1805 | | - "value":{"shape":"MetadataValue"} |
| 1975 | + "value":{"shape":"MetadataValue"}, |
| 1976 | + "sensitive":true |
1806 | 1977 | }, |
1807 | 1978 | "MetadataKey":{"type":"string"}, |
1808 | 1979 | "MetadataValue":{"type":"string"}, |
|
2005 | 2176 | "CreationDate":{"shape":"timestamp"} |
2006 | 2177 | } |
2007 | 2178 | }, |
| 2179 | + "StartCopyJobInput":{ |
| 2180 | + "type":"structure", |
| 2181 | + "required":[ |
| 2182 | + "RecoveryPointArn", |
| 2183 | + "SourceBackupVaultName", |
| 2184 | + "DestinationBackupVaultArn", |
| 2185 | + "IamRoleArn" |
| 2186 | + ], |
| 2187 | + "members":{ |
| 2188 | + "RecoveryPointArn":{"shape":"ARN"}, |
| 2189 | + "SourceBackupVaultName":{"shape":"BackupVaultName"}, |
| 2190 | + "DestinationBackupVaultArn":{"shape":"ARN"}, |
| 2191 | + "IamRoleArn":{"shape":"IAMRoleArn"}, |
| 2192 | + "IdempotencyToken":{"shape":"string"}, |
| 2193 | + "Lifecycle":{"shape":"Lifecycle"} |
| 2194 | + } |
| 2195 | + }, |
| 2196 | + "StartCopyJobOutput":{ |
| 2197 | + "type":"structure", |
| 2198 | + "members":{ |
| 2199 | + "CopyJobId":{"shape":"string"}, |
| 2200 | + "CreationDate":{"shape":"timestamp"} |
| 2201 | + } |
| 2202 | + }, |
2008 | 2203 | "StartRestoreJobInput":{ |
2009 | 2204 | "type":"structure", |
2010 | 2205 | "required":[ |
|
0 commit comments