@aws-sdk/client-verifiedpermissions 3.478.0 → 3.484.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 (105) hide show
  1. package/dist-cjs/commands/BatchIsAuthorizedCommand.js +18 -41
  2. package/dist-cjs/commands/CreateIdentitySourceCommand.js +18 -41
  3. package/dist-cjs/commands/CreatePolicyCommand.js +18 -41
  4. package/dist-cjs/commands/CreatePolicyStoreCommand.js +18 -41
  5. package/dist-cjs/commands/CreatePolicyTemplateCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteIdentitySourceCommand.js +18 -41
  7. package/dist-cjs/commands/DeletePolicyCommand.js +18 -41
  8. package/dist-cjs/commands/DeletePolicyStoreCommand.js +18 -41
  9. package/dist-cjs/commands/DeletePolicyTemplateCommand.js +18 -41
  10. package/dist-cjs/commands/GetIdentitySourceCommand.js +18 -41
  11. package/dist-cjs/commands/GetPolicyCommand.js +18 -41
  12. package/dist-cjs/commands/GetPolicyStoreCommand.js +18 -41
  13. package/dist-cjs/commands/GetPolicyTemplateCommand.js +18 -41
  14. package/dist-cjs/commands/GetSchemaCommand.js +18 -41
  15. package/dist-cjs/commands/IsAuthorizedCommand.js +18 -41
  16. package/dist-cjs/commands/IsAuthorizedWithTokenCommand.js +18 -41
  17. package/dist-cjs/commands/ListIdentitySourcesCommand.js +18 -41
  18. package/dist-cjs/commands/ListPoliciesCommand.js +18 -41
  19. package/dist-cjs/commands/ListPolicyStoresCommand.js +18 -41
  20. package/dist-cjs/commands/ListPolicyTemplatesCommand.js +18 -41
  21. package/dist-cjs/commands/PutSchemaCommand.js +18 -41
  22. package/dist-cjs/commands/UpdateIdentitySourceCommand.js +18 -41
  23. package/dist-cjs/commands/UpdatePolicyCommand.js +18 -41
  24. package/dist-cjs/commands/UpdatePolicyStoreCommand.js +18 -41
  25. package/dist-cjs/commands/UpdatePolicyTemplateCommand.js +18 -41
  26. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  27. package/dist-es/commands/BatchIsAuthorizedCommand.js +18 -41
  28. package/dist-es/commands/CreateIdentitySourceCommand.js +18 -41
  29. package/dist-es/commands/CreatePolicyCommand.js +18 -41
  30. package/dist-es/commands/CreatePolicyStoreCommand.js +18 -41
  31. package/dist-es/commands/CreatePolicyTemplateCommand.js +18 -41
  32. package/dist-es/commands/DeleteIdentitySourceCommand.js +18 -41
  33. package/dist-es/commands/DeletePolicyCommand.js +18 -41
  34. package/dist-es/commands/DeletePolicyStoreCommand.js +18 -41
  35. package/dist-es/commands/DeletePolicyTemplateCommand.js +18 -41
  36. package/dist-es/commands/GetIdentitySourceCommand.js +18 -41
  37. package/dist-es/commands/GetPolicyCommand.js +18 -41
  38. package/dist-es/commands/GetPolicyStoreCommand.js +18 -41
  39. package/dist-es/commands/GetPolicyTemplateCommand.js +18 -41
  40. package/dist-es/commands/GetSchemaCommand.js +18 -41
  41. package/dist-es/commands/IsAuthorizedCommand.js +18 -41
  42. package/dist-es/commands/IsAuthorizedWithTokenCommand.js +18 -41
  43. package/dist-es/commands/ListIdentitySourcesCommand.js +18 -41
  44. package/dist-es/commands/ListPoliciesCommand.js +18 -41
  45. package/dist-es/commands/ListPolicyStoresCommand.js +18 -41
  46. package/dist-es/commands/ListPolicyTemplatesCommand.js +18 -41
  47. package/dist-es/commands/PutSchemaCommand.js +18 -41
  48. package/dist-es/commands/UpdateIdentitySourceCommand.js +18 -41
  49. package/dist-es/commands/UpdatePolicyCommand.js +18 -41
  50. package/dist-es/commands/UpdatePolicyStoreCommand.js +18 -41
  51. package/dist-es/commands/UpdatePolicyTemplateCommand.js +18 -41
  52. package/dist-es/endpoint/EndpointParameters.js +6 -0
  53. package/dist-types/commands/BatchIsAuthorizedCommand.d.ts +6 -21
  54. package/dist-types/commands/CreateIdentitySourceCommand.d.ts +6 -21
  55. package/dist-types/commands/CreatePolicyCommand.d.ts +6 -21
  56. package/dist-types/commands/CreatePolicyStoreCommand.d.ts +6 -21
  57. package/dist-types/commands/CreatePolicyTemplateCommand.d.ts +6 -21
  58. package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +6 -21
  59. package/dist-types/commands/DeletePolicyCommand.d.ts +6 -21
  60. package/dist-types/commands/DeletePolicyStoreCommand.d.ts +6 -21
  61. package/dist-types/commands/DeletePolicyTemplateCommand.d.ts +6 -21
  62. package/dist-types/commands/GetIdentitySourceCommand.d.ts +6 -21
  63. package/dist-types/commands/GetPolicyCommand.d.ts +6 -21
  64. package/dist-types/commands/GetPolicyStoreCommand.d.ts +6 -21
  65. package/dist-types/commands/GetPolicyTemplateCommand.d.ts +6 -21
  66. package/dist-types/commands/GetSchemaCommand.d.ts +6 -21
  67. package/dist-types/commands/IsAuthorizedCommand.d.ts +6 -21
  68. package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +6 -21
  69. package/dist-types/commands/ListIdentitySourcesCommand.d.ts +6 -21
  70. package/dist-types/commands/ListPoliciesCommand.d.ts +6 -21
  71. package/dist-types/commands/ListPolicyStoresCommand.d.ts +6 -21
  72. package/dist-types/commands/ListPolicyTemplatesCommand.d.ts +6 -21
  73. package/dist-types/commands/PutSchemaCommand.d.ts +6 -21
  74. package/dist-types/commands/UpdateIdentitySourceCommand.d.ts +6 -21
  75. package/dist-types/commands/UpdatePolicyCommand.d.ts +6 -21
  76. package/dist-types/commands/UpdatePolicyStoreCommand.d.ts +6 -21
  77. package/dist-types/commands/UpdatePolicyTemplateCommand.d.ts +6 -21
  78. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  79. package/dist-types/ts3.4/commands/BatchIsAuthorizedCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/CreatePolicyStoreCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/CreatePolicyTemplateCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/DeletePolicyStoreCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/DeletePolicyTemplateCommand.d.ts +12 -24
  88. package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/GetPolicyStoreCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/GetPolicyTemplateCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/GetSchemaCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/IsAuthorizedCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/IsAuthorizedWithTokenCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/ListPolicyStoresCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/ListPolicyTemplatesCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/PutSchemaCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/UpdateIdentitySourceCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/UpdatePolicyStoreCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/UpdatePolicyTemplateCommand.d.ts +12 -24
  104. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  105. package/package.json +11 -11
@@ -1,48 +1,25 @@
1
1
  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
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetPolicyStoreOutputFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_GetPolicyStoreCommand, se_GetPolicyStoreCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class GetPolicyStoreCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetPolicyStoreCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "VerifiedPermissionsClient";
27
- const commandName = "GetPolicyStoreCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: GetPolicyStoreOutputFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "VerifiedPermissions",
36
- operation: "GetPolicyStore",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetPolicyStoreCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetPolicyStoreCommand(output, context);
47
- }
8
+ export class GetPolicyStoreCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("VerifiedPermissions", "GetPolicyStore", {})
20
+ .n("VerifiedPermissionsClient", "GetPolicyStoreCommand")
21
+ .f(void 0, GetPolicyStoreOutputFilterSensitiveLog)
22
+ .ser(se_GetPolicyStoreCommand)
23
+ .de(de_GetPolicyStoreCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  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
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetPolicyTemplateOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_GetPolicyTemplateCommand, se_GetPolicyTemplateCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class GetPolicyTemplateCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetPolicyTemplateCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "VerifiedPermissionsClient";
27
- const commandName = "GetPolicyTemplateCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: GetPolicyTemplateOutputFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "VerifiedPermissions",
36
- operation: "GetPolicyTemplate",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetPolicyTemplateCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetPolicyTemplateCommand(output, context);
47
- }
8
+ export class GetPolicyTemplateCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("VerifiedPermissions", "GetPolicyTemplate", {})
20
+ .n("VerifiedPermissionsClient", "GetPolicyTemplateCommand")
21
+ .f(void 0, GetPolicyTemplateOutputFilterSensitiveLog)
22
+ .ser(se_GetPolicyTemplateCommand)
23
+ .de(de_GetPolicyTemplateCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  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
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetSchemaOutputFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_GetSchemaCommand, se_GetSchemaCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class GetSchemaCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetSchemaCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "VerifiedPermissionsClient";
27
- const commandName = "GetSchemaCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: GetSchemaOutputFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "VerifiedPermissions",
36
- operation: "GetSchema",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetSchemaCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetSchemaCommand(output, context);
47
- }
8
+ export class GetSchemaCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("VerifiedPermissions", "GetSchema", {})
20
+ .n("VerifiedPermissionsClient", "GetSchemaCommand")
21
+ .f(void 0, GetSchemaOutputFilterSensitiveLog)
22
+ .ser(se_GetSchemaCommand)
23
+ .de(de_GetSchemaCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  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
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { IsAuthorizedInputFilterSensitiveLog, IsAuthorizedOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_IsAuthorizedCommand, se_IsAuthorizedCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class IsAuthorizedCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, IsAuthorizedCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "VerifiedPermissionsClient";
27
- const commandName = "IsAuthorizedCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: IsAuthorizedInputFilterSensitiveLog,
33
- outputFilterSensitiveLog: IsAuthorizedOutputFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "VerifiedPermissions",
36
- operation: "IsAuthorized",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_IsAuthorizedCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_IsAuthorizedCommand(output, context);
47
- }
8
+ export class IsAuthorizedCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("VerifiedPermissions", "IsAuthorized", {})
20
+ .n("VerifiedPermissionsClient", "IsAuthorizedCommand")
21
+ .f(IsAuthorizedInputFilterSensitiveLog, IsAuthorizedOutputFilterSensitiveLog)
22
+ .ser(se_IsAuthorizedCommand)
23
+ .de(de_IsAuthorizedCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  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
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { IsAuthorizedWithTokenInputFilterSensitiveLog, IsAuthorizedWithTokenOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_IsAuthorizedWithTokenCommand, se_IsAuthorizedWithTokenCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class IsAuthorizedWithTokenCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, IsAuthorizedWithTokenCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "VerifiedPermissionsClient";
27
- const commandName = "IsAuthorizedWithTokenCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: IsAuthorizedWithTokenInputFilterSensitiveLog,
33
- outputFilterSensitiveLog: IsAuthorizedWithTokenOutputFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "VerifiedPermissions",
36
- operation: "IsAuthorizedWithToken",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_IsAuthorizedWithTokenCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_IsAuthorizedWithTokenCommand(output, context);
47
- }
8
+ export class IsAuthorizedWithTokenCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("VerifiedPermissions", "IsAuthorizedWithToken", {})
20
+ .n("VerifiedPermissionsClient", "IsAuthorizedWithTokenCommand")
21
+ .f(IsAuthorizedWithTokenInputFilterSensitiveLog, IsAuthorizedWithTokenOutputFilterSensitiveLog)
22
+ .ser(se_IsAuthorizedWithTokenCommand)
23
+ .de(de_IsAuthorizedWithTokenCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  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
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { ListIdentitySourcesInputFilterSensitiveLog, ListIdentitySourcesOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListIdentitySourcesCommand, se_ListIdentitySourcesCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class ListIdentitySourcesCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListIdentitySourcesCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "VerifiedPermissionsClient";
27
- const commandName = "ListIdentitySourcesCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListIdentitySourcesInputFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListIdentitySourcesOutputFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "VerifiedPermissions",
36
- operation: "ListIdentitySources",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListIdentitySourcesCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListIdentitySourcesCommand(output, context);
47
- }
8
+ export class ListIdentitySourcesCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("VerifiedPermissions", "ListIdentitySources", {})
20
+ .n("VerifiedPermissionsClient", "ListIdentitySourcesCommand")
21
+ .f(ListIdentitySourcesInputFilterSensitiveLog, ListIdentitySourcesOutputFilterSensitiveLog)
22
+ .ser(se_ListIdentitySourcesCommand)
23
+ .de(de_ListIdentitySourcesCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  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
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { ListPoliciesInputFilterSensitiveLog, ListPoliciesOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListPoliciesCommand, se_ListPoliciesCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class ListPoliciesCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListPoliciesCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "VerifiedPermissionsClient";
27
- const commandName = "ListPoliciesCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListPoliciesInputFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListPoliciesOutputFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "VerifiedPermissions",
36
- operation: "ListPolicies",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListPoliciesCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListPoliciesCommand(output, context);
47
- }
8
+ export class ListPoliciesCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("VerifiedPermissions", "ListPolicies", {})
20
+ .n("VerifiedPermissionsClient", "ListPoliciesCommand")
21
+ .f(ListPoliciesInputFilterSensitiveLog, ListPoliciesOutputFilterSensitiveLog)
22
+ .ser(se_ListPoliciesCommand)
23
+ .de(de_ListPoliciesCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  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
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { ListPolicyStoresOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListPolicyStoresCommand, se_ListPolicyStoresCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class ListPolicyStoresCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListPolicyStoresCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "VerifiedPermissionsClient";
27
- const commandName = "ListPolicyStoresCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: ListPolicyStoresOutputFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "VerifiedPermissions",
36
- operation: "ListPolicyStores",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListPolicyStoresCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListPolicyStoresCommand(output, context);
47
- }
8
+ export class ListPolicyStoresCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("VerifiedPermissions", "ListPolicyStores", {})
20
+ .n("VerifiedPermissionsClient", "ListPolicyStoresCommand")
21
+ .f(void 0, ListPolicyStoresOutputFilterSensitiveLog)
22
+ .ser(se_ListPolicyStoresCommand)
23
+ .de(de_ListPolicyStoresCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  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
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { ListPolicyTemplatesOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListPolicyTemplatesCommand, se_ListPolicyTemplatesCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class ListPolicyTemplatesCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListPolicyTemplatesCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "VerifiedPermissionsClient";
27
- const commandName = "ListPolicyTemplatesCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: ListPolicyTemplatesOutputFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "VerifiedPermissions",
36
- operation: "ListPolicyTemplates",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListPolicyTemplatesCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListPolicyTemplatesCommand(output, context);
47
- }
8
+ export class ListPolicyTemplatesCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("VerifiedPermissions", "ListPolicyTemplates", {})
20
+ .n("VerifiedPermissionsClient", "ListPolicyTemplatesCommand")
21
+ .f(void 0, ListPolicyTemplatesOutputFilterSensitiveLog)
22
+ .ser(se_ListPolicyTemplatesCommand)
23
+ .de(de_ListPolicyTemplatesCommand)
24
+ .build() {
48
25
  }