|
136 | 136 | ],
|
137 | 137 | "documentation":"<p>Creates an IP access control group.</p> <p>An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using <a>AuthorizeIpRules</a>.</p> <p>There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.</p>"
|
138 | 138 | },
|
| 139 | + "CreateStandbyWorkspaces":{ |
| 140 | + "name":"CreateStandbyWorkspaces", |
| 141 | + "http":{ |
| 142 | + "method":"POST", |
| 143 | + "requestUri":"/" |
| 144 | + }, |
| 145 | + "input":{"shape":"CreateStandbyWorkspacesRequest"}, |
| 146 | + "output":{"shape":"CreateStandbyWorkspacesResult"}, |
| 147 | + "errors":[ |
| 148 | + {"shape":"AccessDeniedException"}, |
| 149 | + {"shape":"InvalidParameterValuesException"}, |
| 150 | + {"shape":"OperationNotSupportedException"}, |
| 151 | + {"shape":"ResourceNotFoundException"}, |
| 152 | + {"shape":"ResourceLimitExceededException"} |
| 153 | + ], |
| 154 | + "documentation":"<p>Creates a Standby WorkSpace in a secondary region.</p>" |
| 155 | + }, |
139 | 156 | "CreateTags":{
|
140 | 157 | "name":"CreateTags",
|
141 | 158 | "http":{
|
|
810 | 827 | "errors":[
|
811 | 828 | {"shape":"InvalidParameterValuesException"},
|
812 | 829 | {"shape":"InvalidResourceStateException"},
|
813 |
| - {"shape":"ResourceNotFoundException"} |
| 830 | + {"shape":"ResourceNotFoundException"}, |
| 831 | + {"shape":"OperationNotSupportedException"} |
814 | 832 | ],
|
815 | 833 | "documentation":"<p>Sets the state of the specified WorkSpace.</p> <p>To maintain a WorkSpace without being interrupted, set the WorkSpace state to <code>ADMIN_MAINTENANCE</code>. WorkSpaces in this state do not respond to requests to reboot, stop, start, rebuild, or restore. An AutoStop WorkSpace in this state is not stopped. Users cannot log into a WorkSpace in the <code>ADMIN_MAINTENANCE</code> state.</p>"
|
816 | 834 | },
|
|
822 | 840 | },
|
823 | 841 | "input":{"shape":"RebootWorkspacesRequest"},
|
824 | 842 | "output":{"shape":"RebootWorkspacesResult"},
|
| 843 | + "errors":[ |
| 844 | + {"shape":"OperationNotSupportedException"} |
| 845 | + ], |
825 | 846 | "documentation":"<p>Reboots the specified WorkSpaces.</p> <p>You cannot reboot a WorkSpace unless its state is <code>AVAILABLE</code> or <code>UNHEALTHY</code>.</p> <p>This operation is asynchronous and returns before the WorkSpaces have rebooted.</p>"
|
826 | 847 | },
|
827 | 848 | "RebuildWorkspaces":{
|
|
832 | 853 | },
|
833 | 854 | "input":{"shape":"RebuildWorkspacesRequest"},
|
834 | 855 | "output":{"shape":"RebuildWorkspacesResult"},
|
| 856 | + "errors":[ |
| 857 | + {"shape":"OperationNotSupportedException"} |
| 858 | + ], |
835 | 859 | "documentation":"<p>Rebuilds the specified WorkSpace.</p> <p>You cannot rebuild a WorkSpace unless its state is <code>AVAILABLE</code>, <code>ERROR</code>, <code>UNHEALTHY</code>, <code>STOPPED</code>, or <code>REBOOTING</code>.</p> <p>Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see <a href=\"https://docs.aws.amazon.com/workspaces/latest/adminguide/reset-workspace.html\">Rebuild a WorkSpace</a>.</p> <p>This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.</p>"
|
836 | 860 | },
|
837 | 861 | "RegisterWorkspaceDirectory":{
|
|
865 | 889 | "errors":[
|
866 | 890 | {"shape":"InvalidParameterValuesException"},
|
867 | 891 | {"shape":"ResourceNotFoundException"},
|
868 |
| - {"shape":"AccessDeniedException"} |
| 892 | + {"shape":"AccessDeniedException"}, |
| 893 | + {"shape":"OperationNotSupportedException"} |
869 | 894 | ],
|
870 | 895 | "documentation":"<p>Restores the specified WorkSpace to its last known healthy state.</p> <p>You cannot restore a WorkSpace unless its state is <code> AVAILABLE</code>, <code>ERROR</code>, <code>UNHEALTHY</code>, or <code>STOPPED</code>.</p> <p>Restoring a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see <a href=\"https://docs.aws.amazon.com/workspaces/latest/adminguide/restore-workspace.html\">Restore a WorkSpace</a>.</p> <p>This operation is asynchronous and returns before the WorkSpace is completely restored.</p>"
|
871 | 896 | },
|
|
978 | 1003 | {"shape":"AccessDeniedException"},
|
979 | 1004 | {"shape":"InvalidParameterValuesException"},
|
980 | 1005 | {"shape":"ResourceNotFoundException"},
|
981 |
| - {"shape":"ResourceUnavailableException"} |
| 1006 | + {"shape":"ResourceUnavailableException"}, |
| 1007 | + {"shape":"OperationNotSupportedException"} |
982 | 1008 | ],
|
983 | 1009 | "documentation":"<p>Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see <a href=\"https://docs.aws.amazon.com/workspaces/latest/adminguide/update-custom-bundle.html\"> Update a Custom WorkSpaces Bundle</a>.</p> <important> <p>Existing WorkSpaces aren't automatically updated when you update the bundle that they're based on. To update existing WorkSpaces that are based on a bundle that you've updated, you must either rebuild the WorkSpaces or delete and recreate them.</p> </important>"
|
984 | 1010 | },
|
|
1186 | 1212 | "member":{"shape":"WorkspaceBundle"}
|
1187 | 1213 | },
|
1188 | 1214 | "BundleOwner":{"type":"string"},
|
| 1215 | + "BundleType":{ |
| 1216 | + "type":"string", |
| 1217 | + "enum":[ |
| 1218 | + "REGULAR", |
| 1219 | + "STANDBY" |
| 1220 | + ] |
| 1221 | + }, |
1189 | 1222 | "CertificateAuthorityArn":{
|
1190 | 1223 | "type":"string",
|
1191 | 1224 | "max":200,
|
|
1585 | 1618 | }
|
1586 | 1619 | }
|
1587 | 1620 | },
|
| 1621 | + "CreateStandbyWorkspacesRequest":{ |
| 1622 | + "type":"structure", |
| 1623 | + "required":[ |
| 1624 | + "PrimaryRegion", |
| 1625 | + "StandbyWorkspaces" |
| 1626 | + ], |
| 1627 | + "members":{ |
| 1628 | + "PrimaryRegion":{ |
| 1629 | + "shape":"Region", |
| 1630 | + "documentation":"<p>The Region of the primary WorkSpace.</p>" |
| 1631 | + }, |
| 1632 | + "StandbyWorkspaces":{ |
| 1633 | + "shape":"StandbyWorkspacesList", |
| 1634 | + "documentation":"<p>Information about the Standby WorkSpace to be created.</p>" |
| 1635 | + } |
| 1636 | + } |
| 1637 | + }, |
| 1638 | + "CreateStandbyWorkspacesResult":{ |
| 1639 | + "type":"structure", |
| 1640 | + "members":{ |
| 1641 | + "FailedStandbyRequests":{ |
| 1642 | + "shape":"FailedCreateStandbyWorkspacesRequestList", |
| 1643 | + "documentation":"<p>Information about the Standby WorkSpace that could not be created. </p>" |
| 1644 | + }, |
| 1645 | + "PendingStandbyRequests":{ |
| 1646 | + "shape":"PendingCreateStandbyWorkspacesRequestList", |
| 1647 | + "documentation":"<p>Information about the Standby WorkSpace that was created.</p>" |
| 1648 | + } |
| 1649 | + } |
| 1650 | + }, |
1588 | 1651 | "CreateTagsRequest":{
|
1589 | 1652 | "type":"structure",
|
1590 | 1653 | "required":[
|
|
2572 | 2635 | "ErrorType":{"type":"string"},
|
2573 | 2636 | "ExceptionErrorCode":{"type":"string"},
|
2574 | 2637 | "ExceptionMessage":{"type":"string"},
|
| 2638 | + "FailedCreateStandbyWorkspacesRequest":{ |
| 2639 | + "type":"structure", |
| 2640 | + "members":{ |
| 2641 | + "StandbyWorkspaceRequest":{ |
| 2642 | + "shape":"StandbyWorkspace", |
| 2643 | + "documentation":"<p>Information about the Standby WorkSpace that could not be created.</p>" |
| 2644 | + }, |
| 2645 | + "ErrorCode":{ |
| 2646 | + "shape":"WorkspaceErrorCode", |
| 2647 | + "documentation":"<p>The error code that is returned if the Standby WorkSpace could not be created.</p>" |
| 2648 | + }, |
| 2649 | + "ErrorMessage":{ |
| 2650 | + "shape":"Description", |
| 2651 | + "documentation":"<p>The text of the error message that is returned if the Standby WorkSpace could not be created.</p>" |
| 2652 | + } |
| 2653 | + }, |
| 2654 | + "documentation":"<p>Describes the Standby WorkSpace that could not be created.</p>" |
| 2655 | + }, |
| 2656 | + "FailedCreateStandbyWorkspacesRequestList":{ |
| 2657 | + "type":"list", |
| 2658 | + "member":{"shape":"FailedCreateStandbyWorkspacesRequest"} |
| 2659 | + }, |
2575 | 2660 | "FailedCreateWorkspaceRequest":{
|
2576 | 2661 | "type":"structure",
|
2577 | 2662 | "members":{
|
|
3262 | 3347 | "max":2048,
|
3263 | 3348 | "min":1
|
3264 | 3349 | },
|
| 3350 | + "PendingCreateStandbyWorkspacesRequest":{ |
| 3351 | + "type":"structure", |
| 3352 | + "members":{ |
| 3353 | + "UserName":{ |
| 3354 | + "shape":"UserName", |
| 3355 | + "documentation":"<p>Describes the Standby WorkSpace that was created.</p> <p>Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call <a href=\"https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html\"> DescribeWorkspaces</a> before the WorkSpace is created, the information returned can be incomplete. </p>" |
| 3356 | + }, |
| 3357 | + "DirectoryId":{ |
| 3358 | + "shape":"DirectoryId", |
| 3359 | + "documentation":"<p>The identifier of the directory for the Standby WorkSpace.</p>" |
| 3360 | + }, |
| 3361 | + "State":{ |
| 3362 | + "shape":"WorkspaceState", |
| 3363 | + "documentation":"<p>The operational state of the Standby WorkSpace.</p>" |
| 3364 | + }, |
| 3365 | + "WorkspaceId":{ |
| 3366 | + "shape":"WorkspaceId", |
| 3367 | + "documentation":"<p>The identifier of the Standby WorkSpace.</p>" |
| 3368 | + } |
| 3369 | + }, |
| 3370 | + "documentation":"<p>Information about the Standby WorkSpace.</p>" |
| 3371 | + }, |
| 3372 | + "PendingCreateStandbyWorkspacesRequestList":{ |
| 3373 | + "type":"list", |
| 3374 | + "member":{"shape":"PendingCreateStandbyWorkspacesRequest"} |
| 3375 | + }, |
3265 | 3376 | "Protocol":{
|
3266 | 3377 | "type":"string",
|
3267 | 3378 | "enum":[
|
|
3401 | 3512 | "max":20,
|
3402 | 3513 | "min":1
|
3403 | 3514 | },
|
| 3515 | + "RelatedWorkspaceProperties":{ |
| 3516 | + "type":"structure", |
| 3517 | + "members":{ |
| 3518 | + "WorkspaceId":{ |
| 3519 | + "shape":"WorkspaceId", |
| 3520 | + "documentation":"<p>The identifier of the related WorkSpace.</p>" |
| 3521 | + }, |
| 3522 | + "Region":{ |
| 3523 | + "shape":"Region", |
| 3524 | + "documentation":"<p>The Region of the related WorkSpace.</p>" |
| 3525 | + }, |
| 3526 | + "State":{ |
| 3527 | + "shape":"WorkspaceState", |
| 3528 | + "documentation":"<p>Indicates the state of the WorkSpace.</p>" |
| 3529 | + }, |
| 3530 | + "Type":{ |
| 3531 | + "shape":"StandbyWorkspaceRelationshipType", |
| 3532 | + "documentation":"<p>Indicates the type of WorkSpace.</p>" |
| 3533 | + } |
| 3534 | + }, |
| 3535 | + "documentation":"<p>Describes the related WorkSpace. The related WorkSpace could be a Standby WorkSpace or Primary WorkSpace related to the specified WorkSpace.</p>" |
| 3536 | + }, |
| 3537 | + "RelatedWorkspaces":{ |
| 3538 | + "type":"list", |
| 3539 | + "member":{"shape":"RelatedWorkspaceProperties"} |
| 3540 | + }, |
3404 | 3541 | "ResourceAlreadyExistsException":{
|
3405 | 3542 | "type":"structure",
|
3406 | 3543 | "members":{
|
|
3607 | 3744 | "type":"list",
|
3608 | 3745 | "member":{"shape":"Snapshot"}
|
3609 | 3746 | },
|
| 3747 | + "StandbyWorkspace":{ |
| 3748 | + "type":"structure", |
| 3749 | + "required":[ |
| 3750 | + "PrimaryWorkspaceId", |
| 3751 | + "DirectoryId" |
| 3752 | + ], |
| 3753 | + "members":{ |
| 3754 | + "PrimaryWorkspaceId":{ |
| 3755 | + "shape":"WorkspaceId", |
| 3756 | + "documentation":"<p>The identifier of the Standby WorkSpace.</p>" |
| 3757 | + }, |
| 3758 | + "VolumeEncryptionKey":{ |
| 3759 | + "shape":"VolumeEncryptionKey", |
| 3760 | + "documentation":"<p>The volume encryption key of the Standby WorkSpace.</p>" |
| 3761 | + }, |
| 3762 | + "DirectoryId":{ |
| 3763 | + "shape":"DirectoryId", |
| 3764 | + "documentation":"<p>The identifier of the directory for the Standby WorkSpace.</p>" |
| 3765 | + }, |
| 3766 | + "Tags":{ |
| 3767 | + "shape":"TagList", |
| 3768 | + "documentation":"<p>The tags associated with the Standby WorkSpace.</p>" |
| 3769 | + } |
| 3770 | + }, |
| 3771 | + "documentation":"<p>Describes a Standby WorkSpace.</p>" |
| 3772 | + }, |
| 3773 | + "StandbyWorkspaceRelationshipType":{ |
| 3774 | + "type":"string", |
| 3775 | + "enum":[ |
| 3776 | + "PRIMARY", |
| 3777 | + "STANDBY" |
| 3778 | + ] |
| 3779 | + }, |
| 3780 | + "StandbyWorkspacesList":{ |
| 3781 | + "type":"list", |
| 3782 | + "member":{"shape":"StandbyWorkspace"} |
| 3783 | + }, |
3610 | 3784 | "StartRequest":{
|
3611 | 3785 | "type":"structure",
|
3612 | 3786 | "members":{
|
|
4005 | 4179 | "ModificationStates":{
|
4006 | 4180 | "shape":"ModificationStateList",
|
4007 | 4181 | "documentation":"<p>The modification states of the WorkSpace.</p>"
|
| 4182 | + }, |
| 4183 | + "RelatedWorkspaces":{ |
| 4184 | + "shape":"RelatedWorkspaces", |
| 4185 | + "documentation":"<p>The Standby WorkSpace or Primary WorkSpace related to the specified WorkSpace.</p>" |
4008 | 4186 | }
|
4009 | 4187 | },
|
4010 | 4188 | "documentation":"<p>Describes a WorkSpace.</p>"
|
|
4089 | 4267 | "CreationTime":{
|
4090 | 4268 | "shape":"Timestamp",
|
4091 | 4269 | "documentation":"<p>The time when the bundle was created.</p>"
|
| 4270 | + }, |
| 4271 | + "State":{ |
| 4272 | + "shape":"WorkspaceBundleState", |
| 4273 | + "documentation":"<p>The state of the WorkSpace bundle.</p>" |
| 4274 | + }, |
| 4275 | + "BundleType":{ |
| 4276 | + "shape":"BundleType", |
| 4277 | + "documentation":"<p>The type of WorkSpace bundle.</p>" |
4092 | 4278 | }
|
4093 | 4279 | },
|
4094 | 4280 | "documentation":"<p>Describes a WorkSpace bundle.</p>"
|
|
4105 | 4291 | "min":1,
|
4106 | 4292 | "pattern":"^[a-zA-Z0-9_./()\\\\-]+$"
|
4107 | 4293 | },
|
| 4294 | + "WorkspaceBundleState":{ |
| 4295 | + "type":"string", |
| 4296 | + "enum":[ |
| 4297 | + "AVAILABLE", |
| 4298 | + "PENDING", |
| 4299 | + "ERROR" |
| 4300 | + ] |
| 4301 | + }, |
4108 | 4302 | "WorkspaceConnectionStatus":{
|
4109 | 4303 | "type":"structure",
|
4110 | 4304 | "members":{
|
|
0 commit comments