@aws-sdk/client-license-manager-user-subscriptions 3.691.0 → 3.693.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.
Files changed (59) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +441 -8
  3. package/dist-es/LicenseManagerUserSubscriptions.js +12 -0
  4. package/dist-es/commands/AssociateUserCommand.js +2 -1
  5. package/dist-es/commands/CreateLicenseServerEndpointCommand.js +23 -0
  6. package/dist-es/commands/DeleteLicenseServerEndpointCommand.js +22 -0
  7. package/dist-es/commands/ListLicenseServerEndpointsCommand.js +22 -0
  8. package/dist-es/commands/ListTagsForResourceCommand.js +23 -0
  9. package/dist-es/commands/RegisterIdentityProviderCommand.js +2 -1
  10. package/dist-es/commands/StartProductSubscriptionCommand.js +2 -1
  11. package/dist-es/commands/TagResourceCommand.js +23 -0
  12. package/dist-es/commands/UntagResourceCommand.js +23 -0
  13. package/dist-es/commands/index.js +6 -0
  14. package/dist-es/models/models_0.js +69 -0
  15. package/dist-es/pagination/ListLicenseServerEndpointsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restJson1.js +189 -1
  18. package/dist-types/LicenseManagerUserSubscriptions.d.ts +47 -1
  19. package/dist-types/LicenseManagerUserSubscriptionsClient.d.ts +9 -3
  20. package/dist-types/commands/AssociateUserCommand.d.ts +41 -3
  21. package/dist-types/commands/CreateLicenseServerEndpointCommand.d.ts +109 -0
  22. package/dist-types/commands/DeleteLicenseServerEndpointCommand.d.ts +112 -0
  23. package/dist-types/commands/DeregisterIdentityProviderCommand.d.ts +41 -5
  24. package/dist-types/commands/DisassociateUserCommand.d.ts +40 -4
  25. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +28 -3
  26. package/dist-types/commands/ListInstancesCommand.d.ts +1 -1
  27. package/dist-types/commands/ListLicenseServerEndpointsCommand.d.ts +119 -0
  28. package/dist-types/commands/ListProductSubscriptionsCommand.d.ts +37 -2
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +82 -0
  30. package/dist-types/commands/ListUserAssociationsCommand.d.ts +36 -1
  31. package/dist-types/commands/RegisterIdentityProviderCommand.d.ts +41 -3
  32. package/dist-types/commands/StartProductSubscriptionCommand.d.ts +41 -3
  33. package/dist-types/commands/StopProductSubscriptionCommand.d.ts +40 -4
  34. package/dist-types/commands/TagResourceCommand.d.ts +81 -0
  35. package/dist-types/commands/UntagResourceCommand.d.ts +78 -0
  36. package/dist-types/commands/UpdateIdentityProviderSettingsCommand.d.ts +40 -4
  37. package/dist-types/commands/index.d.ts +6 -0
  38. package/dist-types/index.d.ts +1 -1
  39. package/dist-types/models/models_0.d.ts +728 -71
  40. package/dist-types/pagination/ListLicenseServerEndpointsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  43. package/dist-types/ts3.4/LicenseManagerUserSubscriptions.d.ts +106 -0
  44. package/dist-types/ts3.4/LicenseManagerUserSubscriptionsClient.d.ts +36 -0
  45. package/dist-types/ts3.4/commands/CreateLicenseServerEndpointCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/DeleteLicenseServerEndpointCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/DeregisterIdentityProviderCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DisassociateUserCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListLicenseServerEndpointsCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/StopProductSubscriptionCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  53. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +191 -11
  56. package/dist-types/ts3.4/pagination/ListLicenseServerEndpointsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  59. package/package.json +35 -35
@@ -1,27 +1,39 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { AssociateUserCommand, } from "./commands/AssociateUserCommand";
3
+ import { CreateLicenseServerEndpointCommand, } from "./commands/CreateLicenseServerEndpointCommand";
4
+ import { DeleteLicenseServerEndpointCommand, } from "./commands/DeleteLicenseServerEndpointCommand";
3
5
  import { DeregisterIdentityProviderCommand, } from "./commands/DeregisterIdentityProviderCommand";
4
6
  import { DisassociateUserCommand, } from "./commands/DisassociateUserCommand";
5
7
  import { ListIdentityProvidersCommand, } from "./commands/ListIdentityProvidersCommand";
6
8
  import { ListInstancesCommand, } from "./commands/ListInstancesCommand";
9
+ import { ListLicenseServerEndpointsCommand, } from "./commands/ListLicenseServerEndpointsCommand";
7
10
  import { ListProductSubscriptionsCommand, } from "./commands/ListProductSubscriptionsCommand";
11
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
8
12
  import { ListUserAssociationsCommand, } from "./commands/ListUserAssociationsCommand";
9
13
  import { RegisterIdentityProviderCommand, } from "./commands/RegisterIdentityProviderCommand";
10
14
  import { StartProductSubscriptionCommand, } from "./commands/StartProductSubscriptionCommand";
11
15
  import { StopProductSubscriptionCommand, } from "./commands/StopProductSubscriptionCommand";
16
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
17
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
12
18
  import { UpdateIdentityProviderSettingsCommand, } from "./commands/UpdateIdentityProviderSettingsCommand";
13
19
  import { LicenseManagerUserSubscriptionsClient, } from "./LicenseManagerUserSubscriptionsClient";
14
20
  const commands = {
15
21
  AssociateUserCommand,
22
+ CreateLicenseServerEndpointCommand,
23
+ DeleteLicenseServerEndpointCommand,
16
24
  DeregisterIdentityProviderCommand,
17
25
  DisassociateUserCommand,
18
26
  ListIdentityProvidersCommand,
19
27
  ListInstancesCommand,
28
+ ListLicenseServerEndpointsCommand,
20
29
  ListProductSubscriptionsCommand,
30
+ ListTagsForResourceCommand,
21
31
  ListUserAssociationsCommand,
22
32
  RegisterIdentityProviderCommand,
23
33
  StartProductSubscriptionCommand,
24
34
  StopProductSubscriptionCommand,
35
+ TagResourceCommand,
36
+ UntagResourceCommand,
25
37
  UpdateIdentityProviderSettingsCommand,
26
38
  };
27
39
  export class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { AssociateUserRequestFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_AssociateUserCommand, se_AssociateUserCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class AssociateUserCommand extends $Command
@@ -15,7 +16,7 @@ export class AssociateUserCommand extends $Command
15
16
  })
16
17
  .s("LicenseManagerUserSubscriptions", "AssociateUser", {})
17
18
  .n("LicenseManagerUserSubscriptionsClient", "AssociateUserCommand")
18
- .f(void 0, void 0)
19
+ .f(AssociateUserRequestFilterSensitiveLog, void 0)
19
20
  .ser(se_AssociateUserCommand)
20
21
  .de(de_AssociateUserCommand)
21
22
  .build() {
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateLicenseServerEndpointRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateLicenseServerEndpointCommand, se_CreateLicenseServerEndpointCommand, } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateLicenseServerEndpointCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("LicenseManagerUserSubscriptions", "CreateLicenseServerEndpoint", {})
18
+ .n("LicenseManagerUserSubscriptionsClient", "CreateLicenseServerEndpointCommand")
19
+ .f(CreateLicenseServerEndpointRequestFilterSensitiveLog, void 0)
20
+ .ser(se_CreateLicenseServerEndpointCommand)
21
+ .de(de_CreateLicenseServerEndpointCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteLicenseServerEndpointCommand, se_DeleteLicenseServerEndpointCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteLicenseServerEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("LicenseManagerUserSubscriptions", "DeleteLicenseServerEndpoint", {})
17
+ .n("LicenseManagerUserSubscriptionsClient", "DeleteLicenseServerEndpointCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteLicenseServerEndpointCommand)
20
+ .de(de_DeleteLicenseServerEndpointCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListLicenseServerEndpointsCommand, se_ListLicenseServerEndpointsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListLicenseServerEndpointsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("LicenseManagerUserSubscriptions", "ListLicenseServerEndpoints", {})
17
+ .n("LicenseManagerUserSubscriptionsClient", "ListLicenseServerEndpointsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListLicenseServerEndpointsCommand)
20
+ .de(de_ListLicenseServerEndpointsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class ListTagsForResourceCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("LicenseManagerUserSubscriptions", "ListTagsForResource", {})
18
+ .n("LicenseManagerUserSubscriptionsClient", "ListTagsForResourceCommand")
19
+ .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
20
+ .ser(se_ListTagsForResourceCommand)
21
+ .de(de_ListTagsForResourceCommand)
22
+ .build() {
23
+ }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { RegisterIdentityProviderRequestFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_RegisterIdentityProviderCommand, se_RegisterIdentityProviderCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class RegisterIdentityProviderCommand extends $Command
@@ -15,7 +16,7 @@ export class RegisterIdentityProviderCommand extends $Command
15
16
  })
16
17
  .s("LicenseManagerUserSubscriptions", "RegisterIdentityProvider", {})
17
18
  .n("LicenseManagerUserSubscriptionsClient", "RegisterIdentityProviderCommand")
18
- .f(void 0, void 0)
19
+ .f(RegisterIdentityProviderRequestFilterSensitiveLog, void 0)
19
20
  .ser(se_RegisterIdentityProviderCommand)
20
21
  .de(de_RegisterIdentityProviderCommand)
21
22
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { StartProductSubscriptionRequestFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_StartProductSubscriptionCommand, se_StartProductSubscriptionCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class StartProductSubscriptionCommand extends $Command
@@ -15,7 +16,7 @@ export class StartProductSubscriptionCommand extends $Command
15
16
  })
16
17
  .s("LicenseManagerUserSubscriptions", "StartProductSubscription", {})
17
18
  .n("LicenseManagerUserSubscriptionsClient", "StartProductSubscriptionCommand")
18
- .f(void 0, void 0)
19
+ .f(StartProductSubscriptionRequestFilterSensitiveLog, void 0)
19
20
  .ser(se_StartProductSubscriptionCommand)
20
21
  .de(de_StartProductSubscriptionCommand)
21
22
  .build() {
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
6
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class TagResourceCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("LicenseManagerUserSubscriptions", "TagResource", {})
18
+ .n("LicenseManagerUserSubscriptionsClient", "TagResourceCommand")
19
+ .f(TagResourceRequestFilterSensitiveLog, void 0)
20
+ .ser(se_TagResourceCommand)
21
+ .de(de_TagResourceCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UntagResourceRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UntagResourceCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("LicenseManagerUserSubscriptions", "UntagResource", {})
18
+ .n("LicenseManagerUserSubscriptionsClient", "UntagResourceCommand")
19
+ .f(UntagResourceRequestFilterSensitiveLog, void 0)
20
+ .ser(se_UntagResourceCommand)
21
+ .de(de_UntagResourceCommand)
22
+ .build() {
23
+ }
@@ -1,11 +1,17 @@
1
1
  export * from "./AssociateUserCommand";
2
+ export * from "./CreateLicenseServerEndpointCommand";
3
+ export * from "./DeleteLicenseServerEndpointCommand";
2
4
  export * from "./DeregisterIdentityProviderCommand";
3
5
  export * from "./DisassociateUserCommand";
4
6
  export * from "./ListIdentityProvidersCommand";
5
7
  export * from "./ListInstancesCommand";
8
+ export * from "./ListLicenseServerEndpointsCommand";
6
9
  export * from "./ListProductSubscriptionsCommand";
10
+ export * from "./ListTagsForResourceCommand";
7
11
  export * from "./ListUserAssociationsCommand";
8
12
  export * from "./RegisterIdentityProviderCommand";
9
13
  export * from "./StartProductSubscriptionCommand";
10
14
  export * from "./StopProductSubscriptionCommand";
15
+ export * from "./TagResourceCommand";
16
+ export * from "./UntagResourceCommand";
11
17
  export * from "./UpdateIdentityProviderSettingsCommand";
@@ -1,3 +1,4 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
1
2
  import { LicenseManagerUserSubscriptionsServiceException as __BaseException } from "./LicenseManagerUserSubscriptionsServiceException";
2
3
  export class AccessDeniedException extends __BaseException {
3
4
  constructor(opts) {
@@ -11,6 +12,18 @@ export class AccessDeniedException extends __BaseException {
11
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
13
  }
13
14
  }
15
+ export var CredentialsProvider;
16
+ (function (CredentialsProvider) {
17
+ CredentialsProvider.visit = (value, visitor) => {
18
+ if (value.SecretsManagerCredentialsProvider !== undefined)
19
+ return visitor.SecretsManagerCredentialsProvider(value.SecretsManagerCredentialsProvider);
20
+ return visitor._(value.$unknown[0], value.$unknown[1]);
21
+ };
22
+ })(CredentialsProvider || (CredentialsProvider = {}));
23
+ export const ActiveDirectoryType = {
24
+ AWS_MANAGED: "AWS_MANAGED",
25
+ SELF_MANAGED: "SELF_MANAGED",
26
+ };
14
27
  export var IdentityProvider;
15
28
  (function (IdentityProvider) {
16
29
  IdentityProvider.visit = (value, visitor) => {
@@ -91,3 +104,59 @@ export class ValidationException extends __BaseException {
91
104
  Object.setPrototypeOf(this, ValidationException.prototype);
92
105
  }
93
106
  }
107
+ export var ServerSettings;
108
+ (function (ServerSettings) {
109
+ ServerSettings.visit = (value, visitor) => {
110
+ if (value.RdsSalSettings !== undefined)
111
+ return visitor.RdsSalSettings(value.RdsSalSettings);
112
+ return visitor._(value.$unknown[0], value.$unknown[1]);
113
+ };
114
+ })(ServerSettings || (ServerSettings = {}));
115
+ export const ServerType = {
116
+ RDS_SAL: "RDS_SAL",
117
+ };
118
+ export const LicenseServerEndpointProvisioningStatus = {
119
+ DELETED: "DELETED",
120
+ DELETING: "DELETING",
121
+ DELETION_FAILED: "DELETION_FAILED",
122
+ PROVISIONED: "PROVISIONED",
123
+ PROVISIONING: "PROVISIONING",
124
+ PROVISIONING_FAILED: "PROVISIONING_FAILED",
125
+ };
126
+ export const LicenseServerHealthStatus = {
127
+ HEALTHY: "HEALTHY",
128
+ NOT_APPLICABLE: "NOT_APPLICABLE",
129
+ UNHEALTHY: "UNHEALTHY",
130
+ };
131
+ export const AssociateUserRequestFilterSensitiveLog = (obj) => ({
132
+ ...obj,
133
+ ...(obj.IdentityProvider && { IdentityProvider: obj.IdentityProvider }),
134
+ ...(obj.Tags && { Tags: SENSITIVE_STRING }),
135
+ });
136
+ export const CreateLicenseServerEndpointRequestFilterSensitiveLog = (obj) => ({
137
+ ...obj,
138
+ ...(obj.LicenseServerSettings && { LicenseServerSettings: obj.LicenseServerSettings }),
139
+ ...(obj.Tags && { Tags: SENSITIVE_STRING }),
140
+ });
141
+ export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
142
+ ...obj,
143
+ ...(obj.Tags && { Tags: SENSITIVE_STRING }),
144
+ });
145
+ export const RegisterIdentityProviderRequestFilterSensitiveLog = (obj) => ({
146
+ ...obj,
147
+ ...(obj.IdentityProvider && { IdentityProvider: obj.IdentityProvider }),
148
+ ...(obj.Tags && { Tags: SENSITIVE_STRING }),
149
+ });
150
+ export const StartProductSubscriptionRequestFilterSensitiveLog = (obj) => ({
151
+ ...obj,
152
+ ...(obj.IdentityProvider && { IdentityProvider: obj.IdentityProvider }),
153
+ ...(obj.Tags && { Tags: SENSITIVE_STRING }),
154
+ });
155
+ export const TagResourceRequestFilterSensitiveLog = (obj) => ({
156
+ ...obj,
157
+ ...(obj.Tags && { Tags: SENSITIVE_STRING }),
158
+ });
159
+ export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
160
+ ...obj,
161
+ ...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
162
+ });
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListLicenseServerEndpointsCommand, } from "../commands/ListLicenseServerEndpointsCommand";
3
+ import { LicenseManagerUserSubscriptionsClient } from "../LicenseManagerUserSubscriptionsClient";
4
+ export const paginateListLicenseServerEndpoints = createPaginator(LicenseManagerUserSubscriptionsClient, ListLicenseServerEndpointsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,5 +1,6 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListIdentityProvidersPaginator";
3
3
  export * from "./ListInstancesPaginator";
4
+ export * from "./ListLicenseServerEndpointsPaginator";
4
5
  export * from "./ListProductSubscriptionsPaginator";
5
6
  export * from "./ListUserAssociationsPaginator";
@@ -1,6 +1,6 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { LicenseManagerUserSubscriptionsServiceException as __BaseException } from "../models/LicenseManagerUserSubscriptionsServiceException";
5
5
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
6
6
  export const se_AssociateUserCommand = async (input, context) => {
@@ -14,11 +14,41 @@ export const se_AssociateUserCommand = async (input, context) => {
14
14
  Domain: [],
15
15
  IdentityProvider: (_) => _json(_),
16
16
  InstanceId: [],
17
+ Tags: (_) => _json(_),
17
18
  Username: [],
18
19
  }));
19
20
  b.m("POST").h(headers).b(body);
20
21
  return b.build();
21
22
  };
23
+ export const se_CreateLicenseServerEndpointCommand = async (input, context) => {
24
+ const b = rb(input, context);
25
+ const headers = {
26
+ "content-type": "application/json",
27
+ };
28
+ b.bp("/license-server/CreateLicenseServerEndpoint");
29
+ let body;
30
+ body = JSON.stringify(take(input, {
31
+ IdentityProviderArn: [],
32
+ LicenseServerSettings: (_) => _json(_),
33
+ Tags: (_) => _json(_),
34
+ }));
35
+ b.m("POST").h(headers).b(body);
36
+ return b.build();
37
+ };
38
+ export const se_DeleteLicenseServerEndpointCommand = async (input, context) => {
39
+ const b = rb(input, context);
40
+ const headers = {
41
+ "content-type": "application/json",
42
+ };
43
+ b.bp("/license-server/DeleteLicenseServerEndpoint");
44
+ let body;
45
+ body = JSON.stringify(take(input, {
46
+ LicenseServerEndpointArn: [],
47
+ ServerType: [],
48
+ }));
49
+ b.m("POST").h(headers).b(body);
50
+ return b.build();
51
+ };
22
52
  export const se_DeregisterIdentityProviderCommand = async (input, context) => {
23
53
  const b = rb(input, context);
24
54
  const headers = {
@@ -28,6 +58,7 @@ export const se_DeregisterIdentityProviderCommand = async (input, context) => {
28
58
  let body;
29
59
  body = JSON.stringify(take(input, {
30
60
  IdentityProvider: (_) => _json(_),
61
+ IdentityProviderArn: [],
31
62
  Product: [],
32
63
  }));
33
64
  b.m("POST").h(headers).b(body);
@@ -44,6 +75,7 @@ export const se_DisassociateUserCommand = async (input, context) => {
44
75
  Domain: [],
45
76
  IdentityProvider: (_) => _json(_),
46
77
  InstanceId: [],
78
+ InstanceUserArn: [],
47
79
  Username: [],
48
80
  }));
49
81
  b.m("POST").h(headers).b(body);
@@ -57,6 +89,7 @@ export const se_ListIdentityProvidersCommand = async (input, context) => {
57
89
  b.bp("/identity-provider/ListIdentityProviders");
58
90
  let body;
59
91
  body = JSON.stringify(take(input, {
92
+ Filters: (_) => _json(_),
60
93
  MaxResults: [],
61
94
  NextToken: [],
62
95
  }));
@@ -78,6 +111,21 @@ export const se_ListInstancesCommand = async (input, context) => {
78
111
  b.m("POST").h(headers).b(body);
79
112
  return b.build();
80
113
  };
114
+ export const se_ListLicenseServerEndpointsCommand = async (input, context) => {
115
+ const b = rb(input, context);
116
+ const headers = {
117
+ "content-type": "application/json",
118
+ };
119
+ b.bp("/license-server/ListLicenseServerEndpoints");
120
+ let body;
121
+ body = JSON.stringify(take(input, {
122
+ Filters: (_) => _json(_),
123
+ MaxResults: [],
124
+ NextToken: [],
125
+ }));
126
+ b.m("POST").h(headers).b(body);
127
+ return b.build();
128
+ };
81
129
  export const se_ListProductSubscriptionsCommand = async (input, context) => {
82
130
  const b = rb(input, context);
83
131
  const headers = {
@@ -95,6 +143,15 @@ export const se_ListProductSubscriptionsCommand = async (input, context) => {
95
143
  b.m("POST").h(headers).b(body);
96
144
  return b.build();
97
145
  };
146
+ export const se_ListTagsForResourceCommand = async (input, context) => {
147
+ const b = rb(input, context);
148
+ const headers = {};
149
+ b.bp("/tags/{ResourceArn}");
150
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
151
+ let body;
152
+ b.m("GET").h(headers).b(body);
153
+ return b.build();
154
+ };
98
155
  export const se_ListUserAssociationsCommand = async (input, context) => {
99
156
  const b = rb(input, context);
100
157
  const headers = {
@@ -123,6 +180,7 @@ export const se_RegisterIdentityProviderCommand = async (input, context) => {
123
180
  IdentityProvider: (_) => _json(_),
124
181
  Product: [],
125
182
  Settings: (_) => _json(_),
183
+ Tags: (_) => _json(_),
126
184
  }));
127
185
  b.m("POST").h(headers).b(body);
128
186
  return b.build();
@@ -138,6 +196,7 @@ export const se_StartProductSubscriptionCommand = async (input, context) => {
138
196
  Domain: [],
139
197
  IdentityProvider: (_) => _json(_),
140
198
  Product: [],
199
+ Tags: (_) => _json(_),
141
200
  Username: [],
142
201
  }));
143
202
  b.m("POST").h(headers).b(body);
@@ -154,11 +213,38 @@ export const se_StopProductSubscriptionCommand = async (input, context) => {
154
213
  Domain: [],
155
214
  IdentityProvider: (_) => _json(_),
156
215
  Product: [],
216
+ ProductUserArn: [],
157
217
  Username: [],
158
218
  }));
159
219
  b.m("POST").h(headers).b(body);
160
220
  return b.build();
161
221
  };
222
+ export const se_TagResourceCommand = async (input, context) => {
223
+ const b = rb(input, context);
224
+ const headers = {
225
+ "content-type": "application/json",
226
+ };
227
+ b.bp("/tags/{ResourceArn}");
228
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
229
+ let body;
230
+ body = JSON.stringify(take(input, {
231
+ Tags: (_) => _json(_),
232
+ }));
233
+ b.m("PUT").h(headers).b(body);
234
+ return b.build();
235
+ };
236
+ export const se_UntagResourceCommand = async (input, context) => {
237
+ const b = rb(input, context);
238
+ const headers = {};
239
+ b.bp("/tags/{ResourceArn}");
240
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
241
+ const query = map({
242
+ [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
243
+ });
244
+ let body;
245
+ b.m("DELETE").h(headers).q(query).b(body);
246
+ return b.build();
247
+ };
162
248
  export const se_UpdateIdentityProviderSettingsCommand = async (input, context) => {
163
249
  const b = rb(input, context);
164
250
  const headers = {
@@ -168,6 +254,7 @@ export const se_UpdateIdentityProviderSettingsCommand = async (input, context) =
168
254
  let body;
169
255
  body = JSON.stringify(take(input, {
170
256
  IdentityProvider: (_) => _json(_),
257
+ IdentityProviderArn: [],
171
258
  Product: [],
172
259
  UpdateSettings: (_) => _json(_),
173
260
  }));
@@ -188,6 +275,35 @@ export const de_AssociateUserCommand = async (output, context) => {
188
275
  Object.assign(contents, doc);
189
276
  return contents;
190
277
  };
278
+ export const de_CreateLicenseServerEndpointCommand = async (output, context) => {
279
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
280
+ return de_CommandError(output, context);
281
+ }
282
+ const contents = map({
283
+ $metadata: deserializeMetadata(output),
284
+ });
285
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
286
+ const doc = take(data, {
287
+ IdentityProviderArn: __expectString,
288
+ LicenseServerEndpointArn: __expectString,
289
+ });
290
+ Object.assign(contents, doc);
291
+ return contents;
292
+ };
293
+ export const de_DeleteLicenseServerEndpointCommand = async (output, context) => {
294
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
295
+ return de_CommandError(output, context);
296
+ }
297
+ const contents = map({
298
+ $metadata: deserializeMetadata(output),
299
+ });
300
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
301
+ const doc = take(data, {
302
+ LicenseServerEndpoint: (_) => de_LicenseServerEndpoint(_, context),
303
+ });
304
+ Object.assign(contents, doc);
305
+ return contents;
306
+ };
191
307
  export const de_DeregisterIdentityProviderCommand = async (output, context) => {
192
308
  if (output.statusCode !== 200 && output.statusCode >= 300) {
193
309
  return de_CommandError(output, context);
@@ -246,6 +362,21 @@ export const de_ListInstancesCommand = async (output, context) => {
246
362
  Object.assign(contents, doc);
247
363
  return contents;
248
364
  };
365
+ export const de_ListLicenseServerEndpointsCommand = async (output, context) => {
366
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
367
+ return de_CommandError(output, context);
368
+ }
369
+ const contents = map({
370
+ $metadata: deserializeMetadata(output),
371
+ });
372
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
373
+ const doc = take(data, {
374
+ LicenseServerEndpoints: (_) => de_LicenseServerEndpointList(_, context),
375
+ NextToken: __expectString,
376
+ });
377
+ Object.assign(contents, doc);
378
+ return contents;
379
+ };
249
380
  export const de_ListProductSubscriptionsCommand = async (output, context) => {
250
381
  if (output.statusCode !== 200 && output.statusCode >= 300) {
251
382
  return de_CommandError(output, context);
@@ -261,6 +392,20 @@ export const de_ListProductSubscriptionsCommand = async (output, context) => {
261
392
  Object.assign(contents, doc);
262
393
  return contents;
263
394
  };
395
+ export const de_ListTagsForResourceCommand = async (output, context) => {
396
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
397
+ return de_CommandError(output, context);
398
+ }
399
+ const contents = map({
400
+ $metadata: deserializeMetadata(output),
401
+ });
402
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
403
+ const doc = take(data, {
404
+ Tags: _json,
405
+ });
406
+ Object.assign(contents, doc);
407
+ return contents;
408
+ };
264
409
  export const de_ListUserAssociationsCommand = async (output, context) => {
265
410
  if (output.statusCode !== 200 && output.statusCode >= 300) {
266
411
  return de_CommandError(output, context);
@@ -318,6 +463,26 @@ export const de_StopProductSubscriptionCommand = async (output, context) => {
318
463
  Object.assign(contents, doc);
319
464
  return contents;
320
465
  };
466
+ export const de_TagResourceCommand = async (output, context) => {
467
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
468
+ return de_CommandError(output, context);
469
+ }
470
+ const contents = map({
471
+ $metadata: deserializeMetadata(output),
472
+ });
473
+ await collectBody(output.body, context);
474
+ return contents;
475
+ };
476
+ export const de_UntagResourceCommand = async (output, context) => {
477
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
478
+ return de_CommandError(output, context);
479
+ }
480
+ const contents = map({
481
+ $metadata: deserializeMetadata(output),
482
+ });
483
+ await collectBody(output.body, context);
484
+ return contents;
485
+ };
321
486
  export const de_UpdateIdentityProviderSettingsCommand = async (output, context) => {
322
487
  if (output.statusCode !== 200 && output.statusCode >= 300) {
323
488
  return de_CommandError(output, context);
@@ -461,6 +626,27 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
461
626
  });
462
627
  return __decorateServiceException(exception, parsedOutput.body);
463
628
  };
629
+ const de_LicenseServerEndpoint = (output, context) => {
630
+ return take(output, {
631
+ CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
632
+ IdentityProviderArn: __expectString,
633
+ LicenseServerEndpointArn: __expectString,
634
+ LicenseServerEndpointId: __expectString,
635
+ LicenseServerEndpointProvisioningStatus: __expectString,
636
+ LicenseServers: _json,
637
+ ServerEndpoint: _json,
638
+ ServerType: __expectString,
639
+ StatusMessage: __expectString,
640
+ });
641
+ };
642
+ const de_LicenseServerEndpointList = (output, context) => {
643
+ const retVal = (output || [])
644
+ .filter((e) => e != null)
645
+ .map((entry) => {
646
+ return de_LicenseServerEndpoint(entry, context);
647
+ });
648
+ return retVal;
649
+ };
464
650
  const deserializeMetadata = (output) => ({
465
651
  httpStatusCode: output.statusCode,
466
652
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -468,3 +654,5 @@ const deserializeMetadata = (output) => ({
468
654
  cfId: output.headers["x-amz-cf-id"],
469
655
  });
470
656
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
657
+ const _TK = "TagKeys";
658
+ const _tK = "tagKeys";