@aws-sdk/client-workspaces 3.987.0 → 3.989.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultWorkSpacesHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2015-04-08",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.workspaces",
30
+ errorTypeRegistries,
29
31
  xmlNamespace: "http://workspaces.amazonaws.com/api/v1",
30
32
  version: "2015-04-08",
31
33
  serviceTarget: "WorkspacesService",
@@ -689,6 +689,152 @@ const n0 = "com.amazonaws.workspaces";
689
689
  import { TypeRegistry } from "@smithy/core/schema";
690
690
  import { AccessDeniedException, ApplicationNotSupportedException, ComputeNotCompatibleException, ConflictException, IncompatibleApplicationsException, InternalServerException, InvalidParameterCombinationException, InvalidParameterValuesException, InvalidResourceStateException, OperatingSystemNotCompatibleException, OperationInProgressException, OperationNotSupportedException, ResourceAlreadyExistsException, ResourceAssociatedException, ResourceCreationFailedException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, ResourceUnavailableException, UnsupportedNetworkConfigurationException, UnsupportedWorkspaceConfigurationException, ValidationException, WorkspacesDefaultRoleNotFoundException, } from "../models/errors";
691
691
  import { WorkSpacesServiceException } from "../models/WorkSpacesServiceException";
692
+ const _s_registry = TypeRegistry.for(_s);
693
+ export var WorkSpacesServiceException$ = [-3, _s, "WorkSpacesServiceException", 0, [], []];
694
+ _s_registry.registerError(WorkSpacesServiceException$, WorkSpacesServiceException);
695
+ const n0_registry = TypeRegistry.for(n0);
696
+ export var AccessDeniedException$ = [-3, n0, _ADE,
697
+ { [_e]: _c },
698
+ [_m],
699
+ [0]
700
+ ];
701
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
702
+ export var ApplicationNotSupportedException$ = [-3, n0, _ANSE,
703
+ { [_e]: _c },
704
+ [],
705
+ []
706
+ ];
707
+ n0_registry.registerError(ApplicationNotSupportedException$, ApplicationNotSupportedException);
708
+ export var ComputeNotCompatibleException$ = [-3, n0, _CNCE,
709
+ { [_e]: _c },
710
+ [],
711
+ []
712
+ ];
713
+ n0_registry.registerError(ComputeNotCompatibleException$, ComputeNotCompatibleException);
714
+ export var ConflictException$ = [-3, n0, _CE,
715
+ { [_e]: _c },
716
+ [_m],
717
+ [0]
718
+ ];
719
+ n0_registry.registerError(ConflictException$, ConflictException);
720
+ export var IncompatibleApplicationsException$ = [-3, n0, _IAE,
721
+ { [_e]: _c },
722
+ [],
723
+ []
724
+ ];
725
+ n0_registry.registerError(IncompatibleApplicationsException$, IncompatibleApplicationsException);
726
+ export var InternalServerException$ = [-3, n0, _ISE,
727
+ { [_e]: _c },
728
+ [_m],
729
+ [0]
730
+ ];
731
+ n0_registry.registerError(InternalServerException$, InternalServerException);
732
+ export var InvalidParameterCombinationException$ = [-3, n0, _IPCE,
733
+ { [_e]: _c },
734
+ [_m],
735
+ [0]
736
+ ];
737
+ n0_registry.registerError(InvalidParameterCombinationException$, InvalidParameterCombinationException);
738
+ export var InvalidParameterValuesException$ = [-3, n0, _IPVE,
739
+ { [_e]: _c },
740
+ [_m],
741
+ [0]
742
+ ];
743
+ n0_registry.registerError(InvalidParameterValuesException$, InvalidParameterValuesException);
744
+ export var InvalidResourceStateException$ = [-3, n0, _IRSE,
745
+ { [_e]: _c },
746
+ [_m],
747
+ [0]
748
+ ];
749
+ n0_registry.registerError(InvalidResourceStateException$, InvalidResourceStateException);
750
+ export var OperatingSystemNotCompatibleException$ = [-3, n0, _OSNCE,
751
+ { [_e]: _c },
752
+ [],
753
+ []
754
+ ];
755
+ n0_registry.registerError(OperatingSystemNotCompatibleException$, OperatingSystemNotCompatibleException);
756
+ export var OperationInProgressException$ = [-3, n0, _OIPE,
757
+ { [_e]: _c },
758
+ [_m],
759
+ [0]
760
+ ];
761
+ n0_registry.registerError(OperationInProgressException$, OperationInProgressException);
762
+ export var OperationNotSupportedException$ = [-3, n0, _ONSE,
763
+ { [_e]: _c },
764
+ [_m, _r],
765
+ [0, 0]
766
+ ];
767
+ n0_registry.registerError(OperationNotSupportedException$, OperationNotSupportedException);
768
+ export var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
769
+ { [_e]: _c },
770
+ [_m],
771
+ [0]
772
+ ];
773
+ n0_registry.registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
774
+ export var ResourceAssociatedException$ = [-3, n0, _RAE,
775
+ { [_e]: _c },
776
+ [_m],
777
+ [0]
778
+ ];
779
+ n0_registry.registerError(ResourceAssociatedException$, ResourceAssociatedException);
780
+ export var ResourceCreationFailedException$ = [-3, n0, _RCFE,
781
+ { [_e]: _c },
782
+ [_m],
783
+ [0]
784
+ ];
785
+ n0_registry.registerError(ResourceCreationFailedException$, ResourceCreationFailedException);
786
+ export var ResourceInUseException$ = [-3, n0, _RIUE,
787
+ { [_e]: _c },
788
+ [_m, _RI],
789
+ [0, 0]
790
+ ];
791
+ n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
792
+ export var ResourceLimitExceededException$ = [-3, n0, _RLEE,
793
+ { [_e]: _c },
794
+ [_m],
795
+ [0]
796
+ ];
797
+ n0_registry.registerError(ResourceLimitExceededException$, ResourceLimitExceededException);
798
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
799
+ { [_e]: _c },
800
+ [_m, _RI],
801
+ [0, 0]
802
+ ];
803
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
804
+ export var ResourceUnavailableException$ = [-3, n0, _RUE,
805
+ { [_e]: _c },
806
+ [_m, _RI],
807
+ [0, 0]
808
+ ];
809
+ n0_registry.registerError(ResourceUnavailableException$, ResourceUnavailableException);
810
+ export var UnsupportedNetworkConfigurationException$ = [-3, n0, _UNCE,
811
+ { [_e]: _c },
812
+ [_m],
813
+ [0]
814
+ ];
815
+ n0_registry.registerError(UnsupportedNetworkConfigurationException$, UnsupportedNetworkConfigurationException);
816
+ export var UnsupportedWorkspaceConfigurationException$ = [-3, n0, _UWCE,
817
+ { [_e]: _c },
818
+ [_m],
819
+ [0]
820
+ ];
821
+ n0_registry.registerError(UnsupportedWorkspaceConfigurationException$, UnsupportedWorkspaceConfigurationException);
822
+ export var ValidationException$ = [-3, n0, _VE,
823
+ { [_e]: _c },
824
+ [_m],
825
+ [0]
826
+ ];
827
+ n0_registry.registerError(ValidationException$, ValidationException);
828
+ export var WorkspacesDefaultRoleNotFoundException$ = [-3, n0, _WDRNFE,
829
+ { [_e]: _c },
830
+ [_m],
831
+ [0]
832
+ ];
833
+ n0_registry.registerError(WorkspacesDefaultRoleNotFoundException$, WorkspacesDefaultRoleNotFoundException);
834
+ export const errorTypeRegistries = [
835
+ _s_registry,
836
+ n0_registry,
837
+ ];
692
838
  export var AcceptAccountLinkInvitationRequest$ = [3, n0, _AALIR,
693
839
  0,
694
840
  [_LI, _CT],
@@ -699,12 +845,6 @@ export var AcceptAccountLinkInvitationResult$ = [3, n0, _AALIRc,
699
845
  [_AL],
700
846
  [() => AccountLink$]
701
847
  ];
702
- export var AccessDeniedException$ = [-3, n0, _ADE,
703
- { [_e]: _c },
704
- [_m],
705
- [0]
706
- ];
707
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
708
848
  export var AccessEndpoint$ = [3, n0, _AE,
709
849
  0,
710
850
  [_AET, _VEI],
@@ -730,12 +870,6 @@ export var ActiveDirectoryConfig$ = [3, n0, _ADC,
730
870
  [_DN, _SASA],
731
871
  [0, 0], 2
732
872
  ];
733
- export var ApplicationNotSupportedException$ = [-3, n0, _ANSE,
734
- { [_e]: _c },
735
- [],
736
- []
737
- ];
738
- TypeRegistry.for(n0).registerError(ApplicationNotSupportedException$, ApplicationNotSupportedException);
739
873
  export var ApplicationResourceAssociation$ = [3, n0, _ARA,
740
874
  0,
741
875
  [_AI, _ARI, _ART, _C, _LUT, _S, _SR],
@@ -826,23 +960,11 @@ export var ClientPropertiesResult$ = [3, n0, _CPR,
826
960
  [_RI, _CP],
827
961
  [0, () => ClientProperties$]
828
962
  ];
829
- export var ComputeNotCompatibleException$ = [-3, n0, _CNCE,
830
- { [_e]: _c },
831
- [],
832
- []
833
- ];
834
- TypeRegistry.for(n0).registerError(ComputeNotCompatibleException$, ComputeNotCompatibleException);
835
963
  export var ComputeType$ = [3, n0, _CTo,
836
964
  0,
837
965
  [_N],
838
966
  [0]
839
967
  ];
840
- export var ConflictException$ = [-3, n0, _CE,
841
- { [_e]: _c },
842
- [_m],
843
- [0]
844
- ];
845
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
846
968
  export var ConnectClientAddIn$ = [3, n0, _CCAI,
847
969
  0,
848
970
  [_AII, _RI, _N, _URL],
@@ -1473,36 +1595,6 @@ export var ImportWorkspaceImageResult$ = [3, n0, _IWIRm,
1473
1595
  [_II],
1474
1596
  [0]
1475
1597
  ];
1476
- export var IncompatibleApplicationsException$ = [-3, n0, _IAE,
1477
- { [_e]: _c },
1478
- [],
1479
- []
1480
- ];
1481
- TypeRegistry.for(n0).registerError(IncompatibleApplicationsException$, IncompatibleApplicationsException);
1482
- export var InternalServerException$ = [-3, n0, _ISE,
1483
- { [_e]: _c },
1484
- [_m],
1485
- [0]
1486
- ];
1487
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
1488
- export var InvalidParameterCombinationException$ = [-3, n0, _IPCE,
1489
- { [_e]: _c },
1490
- [_m],
1491
- [0]
1492
- ];
1493
- TypeRegistry.for(n0).registerError(InvalidParameterCombinationException$, InvalidParameterCombinationException);
1494
- export var InvalidParameterValuesException$ = [-3, n0, _IPVE,
1495
- { [_e]: _c },
1496
- [_m],
1497
- [0]
1498
- ];
1499
- TypeRegistry.for(n0).registerError(InvalidParameterValuesException$, InvalidParameterValuesException);
1500
- export var InvalidResourceStateException$ = [-3, n0, _IRSE,
1501
- { [_e]: _c },
1502
- [_m],
1503
- [0]
1504
- ];
1505
- TypeRegistry.for(n0).registerError(InvalidResourceStateException$, InvalidResourceStateException);
1506
1598
  export var IosClientBrandingAttributes$ = [3, n0, _ICBA,
1507
1599
  0,
1508
1600
  [_LU, _LUo, _LUog, _SE, _SL, _FPL, _LM],
@@ -1678,24 +1770,6 @@ export var OperatingSystem$ = [3, n0, _OS,
1678
1770
  [_Ty],
1679
1771
  [0]
1680
1772
  ];
1681
- export var OperatingSystemNotCompatibleException$ = [-3, n0, _OSNCE,
1682
- { [_e]: _c },
1683
- [],
1684
- []
1685
- ];
1686
- TypeRegistry.for(n0).registerError(OperatingSystemNotCompatibleException$, OperatingSystemNotCompatibleException);
1687
- export var OperationInProgressException$ = [-3, n0, _OIPE,
1688
- { [_e]: _c },
1689
- [_m],
1690
- [0]
1691
- ];
1692
- TypeRegistry.for(n0).registerError(OperationInProgressException$, OperationInProgressException);
1693
- export var OperationNotSupportedException$ = [-3, n0, _ONSE,
1694
- { [_e]: _c },
1695
- [_m, _r],
1696
- [0, 0]
1697
- ];
1698
- TypeRegistry.for(n0).registerError(OperationNotSupportedException$, OperationNotSupportedException);
1699
1773
  export var PendingCreateStandbyWorkspacesRequest$ = [3, n0, _PCSWR,
1700
1774
  0,
1701
1775
  [_UN, _DI, _S, _WI],
@@ -1756,48 +1830,6 @@ export var RelatedWorkspaceProperties$ = [3, n0, _RWP,
1756
1830
  [_WI, _Reg, _S, _Ty],
1757
1831
  [0, 0, 0, 0]
1758
1832
  ];
1759
- export var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
1760
- { [_e]: _c },
1761
- [_m],
1762
- [0]
1763
- ];
1764
- TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
1765
- export var ResourceAssociatedException$ = [-3, n0, _RAE,
1766
- { [_e]: _c },
1767
- [_m],
1768
- [0]
1769
- ];
1770
- TypeRegistry.for(n0).registerError(ResourceAssociatedException$, ResourceAssociatedException);
1771
- export var ResourceCreationFailedException$ = [-3, n0, _RCFE,
1772
- { [_e]: _c },
1773
- [_m],
1774
- [0]
1775
- ];
1776
- TypeRegistry.for(n0).registerError(ResourceCreationFailedException$, ResourceCreationFailedException);
1777
- export var ResourceInUseException$ = [-3, n0, _RIUE,
1778
- { [_e]: _c },
1779
- [_m, _RI],
1780
- [0, 0]
1781
- ];
1782
- TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
1783
- export var ResourceLimitExceededException$ = [-3, n0, _RLEE,
1784
- { [_e]: _c },
1785
- [_m],
1786
- [0]
1787
- ];
1788
- TypeRegistry.for(n0).registerError(ResourceLimitExceededException$, ResourceLimitExceededException);
1789
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
1790
- { [_e]: _c },
1791
- [_m, _RI],
1792
- [0, 0]
1793
- ];
1794
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
1795
- export var ResourceUnavailableException$ = [-3, n0, _RUE,
1796
- { [_e]: _c },
1797
- [_m, _RI],
1798
- [0, 0]
1799
- ];
1800
- TypeRegistry.for(n0).registerError(ResourceUnavailableException$, ResourceUnavailableException);
1801
1833
  export var RestoreWorkspaceRequest$ = [3, n0, _RWRes,
1802
1834
  0,
1803
1835
  [_WI],
@@ -1953,18 +1985,6 @@ export var TimeoutSettings$ = [3, n0, _TS,
1953
1985
  [_DTIS, _IDTIS, _MUDIS],
1954
1986
  [1, 1, 1]
1955
1987
  ];
1956
- export var UnsupportedNetworkConfigurationException$ = [-3, n0, _UNCE,
1957
- { [_e]: _c },
1958
- [_m],
1959
- [0]
1960
- ];
1961
- TypeRegistry.for(n0).registerError(UnsupportedNetworkConfigurationException$, UnsupportedNetworkConfigurationException);
1962
- export var UnsupportedWorkspaceConfigurationException$ = [-3, n0, _UWCE,
1963
- { [_e]: _c },
1964
- [_m],
1965
- [0]
1966
- ];
1967
- TypeRegistry.for(n0).registerError(UnsupportedWorkspaceConfigurationException$, UnsupportedWorkspaceConfigurationException);
1968
1988
  export var UpdateConnectClientAddInRequest$ = [3, n0, _UCCAIR,
1969
1989
  0,
1970
1990
  [_AII, _RI, _N, _URL],
@@ -2040,12 +2060,6 @@ export var UserStorage$ = [3, n0, _US,
2040
2060
  [_Ca],
2041
2061
  [0], 1
2042
2062
  ];
2043
- export var ValidationException$ = [-3, n0, _VE,
2044
- { [_e]: _c },
2045
- [_m],
2046
- [0]
2047
- ];
2048
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
2049
2063
  export var Workspace$ = [3, n0, _Wo,
2050
2064
  0,
2051
2065
  [_WI, _DI, _UN, _IAp, _IApv, _S, _BI, _SIu, _EM, _EC, _CN, _VEK, _UVEE, _RVEE, _WN, _WPor, _MSo, _RWel, _DRS, _SWP],
@@ -2106,12 +2120,6 @@ export var WorkspaceResourceAssociation$ = [3, n0, _WRA,
2106
2120
  [_ARI, _ART, _C, _LUT, _S, _SR, _WI],
2107
2121
  [0, 0, 4, 4, 0, () => AssociationStateReason$, 0]
2108
2122
  ];
2109
- export var WorkspacesDefaultRoleNotFoundException$ = [-3, n0, _WDRNFE,
2110
- { [_e]: _c },
2111
- [_m],
2112
- [0]
2113
- ];
2114
- TypeRegistry.for(n0).registerError(WorkspacesDefaultRoleNotFoundException$, WorkspacesDefaultRoleNotFoundException);
2115
2123
  export var WorkspacesIpGroup$ = [3, n0, _WIG,
2116
2124
  0,
2117
2125
  [_gI, _gN, _gD, _uR],
@@ -2132,8 +2140,6 @@ export var WorkspacesPoolSession$ = [3, n0, _WPS,
2132
2140
  [_SIe, _PI, _UI, _AT, _CSon, _IIn, _ET, _NAC, _ST],
2133
2141
  [0, 0, 0, 0, 0, 0, 4, () => NetworkAccessConfiguration$, 4], 3
2134
2142
  ];
2135
- export var WorkSpacesServiceException$ = [-3, _s, "WorkSpacesServiceException", 0, [], []];
2136
- TypeRegistry.for(_s).registerError(WorkSpacesServiceException$, WorkSpacesServiceException);
2137
2143
  var AccessEndpointList = [1, n0, _AEL,
2138
2144
  0, () => AccessEndpoint$
2139
2145
  ];
@@ -1,13 +1,42 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var WorkSpacesServiceException$: StaticErrorSchema;
4
+ export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ApplicationNotSupportedException$: StaticErrorSchema;
6
+ export declare var ComputeNotCompatibleException$: StaticErrorSchema;
7
+ export declare var ConflictException$: StaticErrorSchema;
8
+ export declare var IncompatibleApplicationsException$: StaticErrorSchema;
9
+ export declare var InternalServerException$: StaticErrorSchema;
10
+ export declare var InvalidParameterCombinationException$: StaticErrorSchema;
11
+ export declare var InvalidParameterValuesException$: StaticErrorSchema;
12
+ export declare var InvalidResourceStateException$: StaticErrorSchema;
13
+ export declare var OperatingSystemNotCompatibleException$: StaticErrorSchema;
14
+ export declare var OperationInProgressException$: StaticErrorSchema;
15
+ export declare var OperationNotSupportedException$: StaticErrorSchema;
16
+ export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
17
+ export declare var ResourceAssociatedException$: StaticErrorSchema;
18
+ export declare var ResourceCreationFailedException$: StaticErrorSchema;
19
+ export declare var ResourceInUseException$: StaticErrorSchema;
20
+ export declare var ResourceLimitExceededException$: StaticErrorSchema;
21
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
22
+ export declare var ResourceUnavailableException$: StaticErrorSchema;
23
+ export declare var UnsupportedNetworkConfigurationException$: StaticErrorSchema;
24
+ export declare var UnsupportedWorkspaceConfigurationException$: StaticErrorSchema;
25
+ export declare var ValidationException$: StaticErrorSchema;
26
+ export declare var WorkspacesDefaultRoleNotFoundException$: StaticErrorSchema;
27
+ /**
28
+ * TypeRegistry instances containing modeled errors.
29
+ * @internal
30
+ *
31
+ */
32
+ export declare const errorTypeRegistries: TypeRegistry[];
2
33
  export declare var AcceptAccountLinkInvitationRequest$: StaticStructureSchema;
3
34
  export declare var AcceptAccountLinkInvitationResult$: StaticStructureSchema;
4
- export declare var AccessDeniedException$: StaticErrorSchema;
5
35
  export declare var AccessEndpoint$: StaticStructureSchema;
6
36
  export declare var AccessEndpointConfig$: StaticStructureSchema;
7
37
  export declare var AccountLink$: StaticStructureSchema;
8
38
  export declare var AccountModification$: StaticStructureSchema;
9
39
  export declare var ActiveDirectoryConfig$: StaticStructureSchema;
10
- export declare var ApplicationNotSupportedException$: StaticErrorSchema;
11
40
  export declare var ApplicationResourceAssociation$: StaticStructureSchema;
12
41
  export declare var ApplicationSettingsRequest$: StaticStructureSchema;
13
42
  export declare var ApplicationSettingsResponse$: StaticStructureSchema;
@@ -26,9 +55,7 @@ export declare var CapacityStatus$: StaticStructureSchema;
26
55
  export declare var CertificateBasedAuthProperties$: StaticStructureSchema;
27
56
  export declare var ClientProperties$: StaticStructureSchema;
28
57
  export declare var ClientPropertiesResult$: StaticStructureSchema;
29
- export declare var ComputeNotCompatibleException$: StaticErrorSchema;
30
58
  export declare var ComputeType$: StaticStructureSchema;
31
- export declare var ConflictException$: StaticErrorSchema;
32
59
  export declare var ConnectClientAddIn$: StaticStructureSchema;
33
60
  export declare var ConnectionAlias$: StaticStructureSchema;
34
61
  export declare var ConnectionAliasAssociation$: StaticStructureSchema;
@@ -155,11 +182,6 @@ export declare var ImportCustomWorkspaceImageRequest$: StaticStructureSchema;
155
182
  export declare var ImportCustomWorkspaceImageResult$: StaticStructureSchema;
156
183
  export declare var ImportWorkspaceImageRequest$: StaticStructureSchema;
157
184
  export declare var ImportWorkspaceImageResult$: StaticStructureSchema;
158
- export declare var IncompatibleApplicationsException$: StaticErrorSchema;
159
- export declare var InternalServerException$: StaticErrorSchema;
160
- export declare var InvalidParameterCombinationException$: StaticErrorSchema;
161
- export declare var InvalidParameterValuesException$: StaticErrorSchema;
162
- export declare var InvalidResourceStateException$: StaticErrorSchema;
163
185
  export declare var IosClientBrandingAttributes$: StaticStructureSchema;
164
186
  export declare var IosImportClientBrandingAttributes$: StaticStructureSchema;
165
187
  export declare var IpRuleItem$: StaticStructureSchema;
@@ -195,9 +217,6 @@ export declare var ModifyWorkspaceStateRequest$: StaticStructureSchema;
195
217
  export declare var ModifyWorkspaceStateResult$: StaticStructureSchema;
196
218
  export declare var NetworkAccessConfiguration$: StaticStructureSchema;
197
219
  export declare var OperatingSystem$: StaticStructureSchema;
198
- export declare var OperatingSystemNotCompatibleException$: StaticErrorSchema;
199
- export declare var OperationInProgressException$: StaticErrorSchema;
200
- export declare var OperationNotSupportedException$: StaticErrorSchema;
201
220
  export declare var PendingCreateStandbyWorkspacesRequest$: StaticStructureSchema;
202
221
  export declare var RebootRequest$: StaticStructureSchema;
203
222
  export declare var RebootWorkspacesRequest$: StaticStructureSchema;
@@ -210,13 +229,6 @@ export declare var RegisterWorkspaceDirectoryResult$: StaticStructureSchema;
210
229
  export declare var RejectAccountLinkInvitationRequest$: StaticStructureSchema;
211
230
  export declare var RejectAccountLinkInvitationResult$: StaticStructureSchema;
212
231
  export declare var RelatedWorkspaceProperties$: StaticStructureSchema;
213
- export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
214
- export declare var ResourceAssociatedException$: StaticErrorSchema;
215
- export declare var ResourceCreationFailedException$: StaticErrorSchema;
216
- export declare var ResourceInUseException$: StaticErrorSchema;
217
- export declare var ResourceLimitExceededException$: StaticErrorSchema;
218
- export declare var ResourceNotFoundException$: StaticErrorSchema;
219
- export declare var ResourceUnavailableException$: StaticErrorSchema;
220
232
  export declare var RestoreWorkspaceRequest$: StaticStructureSchema;
221
233
  export declare var RestoreWorkspaceResult$: StaticStructureSchema;
222
234
  export declare var RevokeIpRulesRequest$: StaticStructureSchema;
@@ -248,8 +260,6 @@ export declare var TerminateWorkspacesPoolSessionResult$: StaticStructureSchema;
248
260
  export declare var TerminateWorkspacesRequest$: StaticStructureSchema;
249
261
  export declare var TerminateWorkspacesResult$: StaticStructureSchema;
250
262
  export declare var TimeoutSettings$: StaticStructureSchema;
251
- export declare var UnsupportedNetworkConfigurationException$: StaticErrorSchema;
252
- export declare var UnsupportedWorkspaceConfigurationException$: StaticErrorSchema;
253
263
  export declare var UpdateConnectClientAddInRequest$: StaticStructureSchema;
254
264
  export declare var UpdateConnectClientAddInResult$: StaticStructureSchema;
255
265
  export declare var UpdateConnectionAliasPermissionRequest$: StaticStructureSchema;
@@ -265,7 +275,6 @@ export declare var UpdateWorkspacesPoolRequest$: StaticStructureSchema;
265
275
  export declare var UpdateWorkspacesPoolResult$: StaticStructureSchema;
266
276
  export declare var UserSetting$: StaticStructureSchema;
267
277
  export declare var UserStorage$: StaticStructureSchema;
268
- export declare var ValidationException$: StaticErrorSchema;
269
278
  export declare var Workspace$: StaticStructureSchema;
270
279
  export declare var WorkspaceAccessProperties$: StaticStructureSchema;
271
280
  export declare var WorkSpaceApplication$: StaticStructureSchema;
@@ -278,12 +287,10 @@ export declare var WorkspaceImage$: StaticStructureSchema;
278
287
  export declare var WorkspaceProperties$: StaticStructureSchema;
279
288
  export declare var WorkspaceRequest$: StaticStructureSchema;
280
289
  export declare var WorkspaceResourceAssociation$: StaticStructureSchema;
281
- export declare var WorkspacesDefaultRoleNotFoundException$: StaticErrorSchema;
282
290
  export declare var WorkspacesIpGroup$: StaticStructureSchema;
283
291
  export declare var WorkspacesPool$: StaticStructureSchema;
284
292
  export declare var WorkspacesPoolError$: StaticStructureSchema;
285
293
  export declare var WorkspacesPoolSession$: StaticStructureSchema;
286
- export declare var WorkSpacesServiceException$: StaticErrorSchema;
287
294
  export declare var ImageSourceIdentifier$: StaticUnionSchema;
288
295
  export declare var AcceptAccountLinkInvitation$: StaticOperationSchema;
289
296
  export declare var AssociateConnectionAlias$: StaticOperationSchema;
@@ -1,18 +1,42 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var WorkSpacesServiceException$: StaticErrorSchema;
9
+ export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var ApplicationNotSupportedException$: StaticErrorSchema;
11
+ export declare var ComputeNotCompatibleException$: StaticErrorSchema;
12
+ export declare var ConflictException$: StaticErrorSchema;
13
+ export declare var IncompatibleApplicationsException$: StaticErrorSchema;
14
+ export declare var InternalServerException$: StaticErrorSchema;
15
+ export declare var InvalidParameterCombinationException$: StaticErrorSchema;
16
+ export declare var InvalidParameterValuesException$: StaticErrorSchema;
17
+ export declare var InvalidResourceStateException$: StaticErrorSchema;
18
+ export declare var OperatingSystemNotCompatibleException$: StaticErrorSchema;
19
+ export declare var OperationInProgressException$: StaticErrorSchema;
20
+ export declare var OperationNotSupportedException$: StaticErrorSchema;
21
+ export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
22
+ export declare var ResourceAssociatedException$: StaticErrorSchema;
23
+ export declare var ResourceCreationFailedException$: StaticErrorSchema;
24
+ export declare var ResourceInUseException$: StaticErrorSchema;
25
+ export declare var ResourceLimitExceededException$: StaticErrorSchema;
26
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
27
+ export declare var ResourceUnavailableException$: StaticErrorSchema;
28
+ export declare var UnsupportedNetworkConfigurationException$: StaticErrorSchema;
29
+ export declare var UnsupportedWorkspaceConfigurationException$: StaticErrorSchema;
30
+ export declare var ValidationException$: StaticErrorSchema;
31
+ export declare var WorkspacesDefaultRoleNotFoundException$: StaticErrorSchema;
32
+ export declare const errorTypeRegistries: TypeRegistry[];
7
33
  export declare var AcceptAccountLinkInvitationRequest$: StaticStructureSchema;
8
34
  export declare var AcceptAccountLinkInvitationResult$: StaticStructureSchema;
9
- export declare var AccessDeniedException$: StaticErrorSchema;
10
35
  export declare var AccessEndpoint$: StaticStructureSchema;
11
36
  export declare var AccessEndpointConfig$: StaticStructureSchema;
12
37
  export declare var AccountLink$: StaticStructureSchema;
13
38
  export declare var AccountModification$: StaticStructureSchema;
14
39
  export declare var ActiveDirectoryConfig$: StaticStructureSchema;
15
- export declare var ApplicationNotSupportedException$: StaticErrorSchema;
16
40
  export declare var ApplicationResourceAssociation$: StaticStructureSchema;
17
41
  export declare var ApplicationSettingsRequest$: StaticStructureSchema;
18
42
  export declare var ApplicationSettingsResponse$: StaticStructureSchema;
@@ -31,9 +55,7 @@ export declare var CapacityStatus$: StaticStructureSchema;
31
55
  export declare var CertificateBasedAuthProperties$: StaticStructureSchema;
32
56
  export declare var ClientProperties$: StaticStructureSchema;
33
57
  export declare var ClientPropertiesResult$: StaticStructureSchema;
34
- export declare var ComputeNotCompatibleException$: StaticErrorSchema;
35
58
  export declare var ComputeType$: StaticStructureSchema;
36
- export declare var ConflictException$: StaticErrorSchema;
37
59
  export declare var ConnectClientAddIn$: StaticStructureSchema;
38
60
  export declare var ConnectionAlias$: StaticStructureSchema;
39
61
  export declare var ConnectionAliasAssociation$: StaticStructureSchema;
@@ -160,11 +182,6 @@ export declare var ImportCustomWorkspaceImageRequest$: StaticStructureSchema;
160
182
  export declare var ImportCustomWorkspaceImageResult$: StaticStructureSchema;
161
183
  export declare var ImportWorkspaceImageRequest$: StaticStructureSchema;
162
184
  export declare var ImportWorkspaceImageResult$: StaticStructureSchema;
163
- export declare var IncompatibleApplicationsException$: StaticErrorSchema;
164
- export declare var InternalServerException$: StaticErrorSchema;
165
- export declare var InvalidParameterCombinationException$: StaticErrorSchema;
166
- export declare var InvalidParameterValuesException$: StaticErrorSchema;
167
- export declare var InvalidResourceStateException$: StaticErrorSchema;
168
185
  export declare var IosClientBrandingAttributes$: StaticStructureSchema;
169
186
  export declare var IosImportClientBrandingAttributes$: StaticStructureSchema;
170
187
  export declare var IpRuleItem$: StaticStructureSchema;
@@ -200,9 +217,6 @@ export declare var ModifyWorkspaceStateRequest$: StaticStructureSchema;
200
217
  export declare var ModifyWorkspaceStateResult$: StaticStructureSchema;
201
218
  export declare var NetworkAccessConfiguration$: StaticStructureSchema;
202
219
  export declare var OperatingSystem$: StaticStructureSchema;
203
- export declare var OperatingSystemNotCompatibleException$: StaticErrorSchema;
204
- export declare var OperationInProgressException$: StaticErrorSchema;
205
- export declare var OperationNotSupportedException$: StaticErrorSchema;
206
220
  export declare var PendingCreateStandbyWorkspacesRequest$: StaticStructureSchema;
207
221
  export declare var RebootRequest$: StaticStructureSchema;
208
222
  export declare var RebootWorkspacesRequest$: StaticStructureSchema;
@@ -215,13 +229,6 @@ export declare var RegisterWorkspaceDirectoryResult$: StaticStructureSchema;
215
229
  export declare var RejectAccountLinkInvitationRequest$: StaticStructureSchema;
216
230
  export declare var RejectAccountLinkInvitationResult$: StaticStructureSchema;
217
231
  export declare var RelatedWorkspaceProperties$: StaticStructureSchema;
218
- export declare var ResourceAlreadyExistsException$: StaticErrorSchema;
219
- export declare var ResourceAssociatedException$: StaticErrorSchema;
220
- export declare var ResourceCreationFailedException$: StaticErrorSchema;
221
- export declare var ResourceInUseException$: StaticErrorSchema;
222
- export declare var ResourceLimitExceededException$: StaticErrorSchema;
223
- export declare var ResourceNotFoundException$: StaticErrorSchema;
224
- export declare var ResourceUnavailableException$: StaticErrorSchema;
225
232
  export declare var RestoreWorkspaceRequest$: StaticStructureSchema;
226
233
  export declare var RestoreWorkspaceResult$: StaticStructureSchema;
227
234
  export declare var RevokeIpRulesRequest$: StaticStructureSchema;
@@ -253,8 +260,6 @@ export declare var TerminateWorkspacesPoolSessionResult$: StaticStructureSchema;
253
260
  export declare var TerminateWorkspacesRequest$: StaticStructureSchema;
254
261
  export declare var TerminateWorkspacesResult$: StaticStructureSchema;
255
262
  export declare var TimeoutSettings$: StaticStructureSchema;
256
- export declare var UnsupportedNetworkConfigurationException$: StaticErrorSchema;
257
- export declare var UnsupportedWorkspaceConfigurationException$: StaticErrorSchema;
258
263
  export declare var UpdateConnectClientAddInRequest$: StaticStructureSchema;
259
264
  export declare var UpdateConnectClientAddInResult$: StaticStructureSchema;
260
265
  export declare var UpdateConnectionAliasPermissionRequest$: StaticStructureSchema;
@@ -270,7 +275,6 @@ export declare var UpdateWorkspacesPoolRequest$: StaticStructureSchema;
270
275
  export declare var UpdateWorkspacesPoolResult$: StaticStructureSchema;
271
276
  export declare var UserSetting$: StaticStructureSchema;
272
277
  export declare var UserStorage$: StaticStructureSchema;
273
- export declare var ValidationException$: StaticErrorSchema;
274
278
  export declare var Workspace$: StaticStructureSchema;
275
279
  export declare var WorkspaceAccessProperties$: StaticStructureSchema;
276
280
  export declare var WorkSpaceApplication$: StaticStructureSchema;
@@ -283,12 +287,10 @@ export declare var WorkspaceImage$: StaticStructureSchema;
283
287
  export declare var WorkspaceProperties$: StaticStructureSchema;
284
288
  export declare var WorkspaceRequest$: StaticStructureSchema;
285
289
  export declare var WorkspaceResourceAssociation$: StaticStructureSchema;
286
- export declare var WorkspacesDefaultRoleNotFoundException$: StaticErrorSchema;
287
290
  export declare var WorkspacesIpGroup$: StaticStructureSchema;
288
291
  export declare var WorkspacesPool$: StaticStructureSchema;
289
292
  export declare var WorkspacesPoolError$: StaticStructureSchema;
290
293
  export declare var WorkspacesPoolSession$: StaticStructureSchema;
291
- export declare var WorkSpacesServiceException$: StaticErrorSchema;
292
294
  export declare var ImageSourceIdentifier$: StaticUnionSchema;
293
295
  export declare var AcceptAccountLinkInvitation$: StaticOperationSchema;
294
296
  export declare var AssociateConnectionAlias$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workspaces",
3
3
  "description": "AWS SDK for JavaScript Workspaces Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workspaces",
@@ -23,38 +23,38 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.7",
27
- "@aws-sdk/credential-provider-node": "^3.972.6",
26
+ "@aws-sdk/core": "^3.973.9",
27
+ "@aws-sdk/credential-provider-node": "^3.972.8",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.3",
29
29
  "@aws-sdk/middleware-logger": "^3.972.3",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
31
- "@aws-sdk/middleware-user-agent": "^3.972.7",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.3",
33
33
  "@aws-sdk/types": "^3.973.1",
34
- "@aws-sdk/util-endpoints": "3.987.0",
34
+ "@aws-sdk/util-endpoints": "3.989.0",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
- "@aws-sdk/util-user-agent-node": "^3.972.5",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
37
37
  "@smithy/config-resolver": "^4.4.6",
38
- "@smithy/core": "^3.22.1",
38
+ "@smithy/core": "^3.23.0",
39
39
  "@smithy/fetch-http-handler": "^5.3.9",
40
40
  "@smithy/hash-node": "^4.2.8",
41
41
  "@smithy/invalid-dependency": "^4.2.8",
42
42
  "@smithy/middleware-content-length": "^4.2.8",
43
- "@smithy/middleware-endpoint": "^4.4.13",
44
- "@smithy/middleware-retry": "^4.4.30",
43
+ "@smithy/middleware-endpoint": "^4.4.14",
44
+ "@smithy/middleware-retry": "^4.4.31",
45
45
  "@smithy/middleware-serde": "^4.2.9",
46
46
  "@smithy/middleware-stack": "^4.2.8",
47
47
  "@smithy/node-config-provider": "^4.3.8",
48
- "@smithy/node-http-handler": "^4.4.9",
48
+ "@smithy/node-http-handler": "^4.4.10",
49
49
  "@smithy/protocol-http": "^5.3.8",
50
- "@smithy/smithy-client": "^4.11.2",
50
+ "@smithy/smithy-client": "^4.11.3",
51
51
  "@smithy/types": "^4.12.0",
52
52
  "@smithy/url-parser": "^4.2.8",
53
53
  "@smithy/util-base64": "^4.3.0",
54
54
  "@smithy/util-body-length-browser": "^4.2.0",
55
55
  "@smithy/util-body-length-node": "^4.2.1",
56
- "@smithy/util-defaults-mode-browser": "^4.3.29",
57
- "@smithy/util-defaults-mode-node": "^4.2.32",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
57
+ "@smithy/util-defaults-mode-node": "^4.2.33",
58
58
  "@smithy/util-endpoints": "^3.2.8",
59
59
  "@smithy/util-middleware": "^4.2.8",
60
60
  "@smithy/util-retry": "^4.2.8",