@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
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
- class GetIdentitySourceCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetIdentitySourceCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "VerifiedPermissionsClient";
30
- const commandName = "GetIdentitySourceCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.GetIdentitySourceOutputFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "VerifiedPermissions",
39
- operation: "GetIdentitySource",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_0_1.se_GetIdentitySourceCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_0_1.de_GetIdentitySourceCommand)(output, context);
50
- }
11
+ class GetIdentitySourceCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("VerifiedPermissions", "GetIdentitySource", {})
23
+ .n("VerifiedPermissionsClient", "GetIdentitySourceCommand")
24
+ .f(void 0, models_0_1.GetIdentitySourceOutputFilterSensitiveLog)
25
+ .ser(Aws_json1_0_1.se_GetIdentitySourceCommand)
26
+ .de(Aws_json1_0_1.de_GetIdentitySourceCommand)
27
+ .build() {
51
28
  }
52
29
  exports.GetIdentitySourceCommand = GetIdentitySourceCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
- class GetPolicyCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetPolicyCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "VerifiedPermissionsClient";
30
- const commandName = "GetPolicyCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.GetPolicyOutputFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "VerifiedPermissions",
39
- operation: "GetPolicy",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_0_1.se_GetPolicyCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_0_1.de_GetPolicyCommand)(output, context);
50
- }
11
+ class GetPolicyCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("VerifiedPermissions", "GetPolicy", {})
23
+ .n("VerifiedPermissionsClient", "GetPolicyCommand")
24
+ .f(void 0, models_0_1.GetPolicyOutputFilterSensitiveLog)
25
+ .ser(Aws_json1_0_1.se_GetPolicyCommand)
26
+ .de(Aws_json1_0_1.de_GetPolicyCommand)
27
+ .build() {
51
28
  }
52
29
  exports.GetPolicyCommand = GetPolicyCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
- class GetPolicyStoreCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetPolicyStoreCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "VerifiedPermissionsClient";
30
- const commandName = "GetPolicyStoreCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.GetPolicyStoreOutputFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "VerifiedPermissions",
39
- operation: "GetPolicyStore",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_0_1.se_GetPolicyStoreCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_0_1.de_GetPolicyStoreCommand)(output, context);
50
- }
11
+ class GetPolicyStoreCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("VerifiedPermissions", "GetPolicyStore", {})
23
+ .n("VerifiedPermissionsClient", "GetPolicyStoreCommand")
24
+ .f(void 0, models_0_1.GetPolicyStoreOutputFilterSensitiveLog)
25
+ .ser(Aws_json1_0_1.se_GetPolicyStoreCommand)
26
+ .de(Aws_json1_0_1.de_GetPolicyStoreCommand)
27
+ .build() {
51
28
  }
52
29
  exports.GetPolicyStoreCommand = GetPolicyStoreCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
- class GetPolicyTemplateCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetPolicyTemplateCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "VerifiedPermissionsClient";
30
- const commandName = "GetPolicyTemplateCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.GetPolicyTemplateOutputFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "VerifiedPermissions",
39
- operation: "GetPolicyTemplate",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_0_1.se_GetPolicyTemplateCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_0_1.de_GetPolicyTemplateCommand)(output, context);
50
- }
11
+ class GetPolicyTemplateCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("VerifiedPermissions", "GetPolicyTemplate", {})
23
+ .n("VerifiedPermissionsClient", "GetPolicyTemplateCommand")
24
+ .f(void 0, models_0_1.GetPolicyTemplateOutputFilterSensitiveLog)
25
+ .ser(Aws_json1_0_1.se_GetPolicyTemplateCommand)
26
+ .de(Aws_json1_0_1.de_GetPolicyTemplateCommand)
27
+ .build() {
51
28
  }
52
29
  exports.GetPolicyTemplateCommand = GetPolicyTemplateCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
- class GetSchemaCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSchemaCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "VerifiedPermissionsClient";
30
- const commandName = "GetSchemaCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.GetSchemaOutputFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "VerifiedPermissions",
39
- operation: "GetSchema",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_0_1.se_GetSchemaCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_0_1.de_GetSchemaCommand)(output, context);
50
- }
11
+ class GetSchemaCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("VerifiedPermissions", "GetSchema", {})
23
+ .n("VerifiedPermissionsClient", "GetSchemaCommand")
24
+ .f(void 0, models_0_1.GetSchemaOutputFilterSensitiveLog)
25
+ .ser(Aws_json1_0_1.se_GetSchemaCommand)
26
+ .de(Aws_json1_0_1.de_GetSchemaCommand)
27
+ .build() {
51
28
  }
52
29
  exports.GetSchemaCommand = GetSchemaCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
- class IsAuthorizedCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, IsAuthorizedCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "VerifiedPermissionsClient";
30
- const commandName = "IsAuthorizedCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.IsAuthorizedInputFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.IsAuthorizedOutputFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "VerifiedPermissions",
39
- operation: "IsAuthorized",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_0_1.se_IsAuthorizedCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_0_1.de_IsAuthorizedCommand)(output, context);
50
- }
11
+ class IsAuthorizedCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("VerifiedPermissions", "IsAuthorized", {})
23
+ .n("VerifiedPermissionsClient", "IsAuthorizedCommand")
24
+ .f(models_0_1.IsAuthorizedInputFilterSensitiveLog, models_0_1.IsAuthorizedOutputFilterSensitiveLog)
25
+ .ser(Aws_json1_0_1.se_IsAuthorizedCommand)
26
+ .de(Aws_json1_0_1.de_IsAuthorizedCommand)
27
+ .build() {
51
28
  }
52
29
  exports.IsAuthorizedCommand = IsAuthorizedCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
- class IsAuthorizedWithTokenCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, IsAuthorizedWithTokenCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "VerifiedPermissionsClient";
30
- const commandName = "IsAuthorizedWithTokenCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.IsAuthorizedWithTokenInputFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.IsAuthorizedWithTokenOutputFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "VerifiedPermissions",
39
- operation: "IsAuthorizedWithToken",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_0_1.se_IsAuthorizedWithTokenCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_0_1.de_IsAuthorizedWithTokenCommand)(output, context);
50
- }
11
+ class IsAuthorizedWithTokenCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("VerifiedPermissions", "IsAuthorizedWithToken", {})
23
+ .n("VerifiedPermissionsClient", "IsAuthorizedWithTokenCommand")
24
+ .f(models_0_1.IsAuthorizedWithTokenInputFilterSensitiveLog, models_0_1.IsAuthorizedWithTokenOutputFilterSensitiveLog)
25
+ .ser(Aws_json1_0_1.se_IsAuthorizedWithTokenCommand)
26
+ .de(Aws_json1_0_1.de_IsAuthorizedWithTokenCommand)
27
+ .build() {
51
28
  }
52
29
  exports.IsAuthorizedWithTokenCommand = IsAuthorizedWithTokenCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
- class ListIdentitySourcesCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListIdentitySourcesCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "VerifiedPermissionsClient";
30
- const commandName = "ListIdentitySourcesCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ListIdentitySourcesInputFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ListIdentitySourcesOutputFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "VerifiedPermissions",
39
- operation: "ListIdentitySources",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_0_1.se_ListIdentitySourcesCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_0_1.de_ListIdentitySourcesCommand)(output, context);
50
- }
11
+ class ListIdentitySourcesCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("VerifiedPermissions", "ListIdentitySources", {})
23
+ .n("VerifiedPermissionsClient", "ListIdentitySourcesCommand")
24
+ .f(models_0_1.ListIdentitySourcesInputFilterSensitiveLog, models_0_1.ListIdentitySourcesOutputFilterSensitiveLog)
25
+ .ser(Aws_json1_0_1.se_ListIdentitySourcesCommand)
26
+ .de(Aws_json1_0_1.de_ListIdentitySourcesCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListIdentitySourcesCommand = ListIdentitySourcesCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
- class ListPoliciesCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListPoliciesCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "VerifiedPermissionsClient";
30
- const commandName = "ListPoliciesCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ListPoliciesInputFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ListPoliciesOutputFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "VerifiedPermissions",
39
- operation: "ListPolicies",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_0_1.se_ListPoliciesCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_0_1.de_ListPoliciesCommand)(output, context);
50
- }
11
+ class ListPoliciesCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("VerifiedPermissions", "ListPolicies", {})
23
+ .n("VerifiedPermissionsClient", "ListPoliciesCommand")
24
+ .f(models_0_1.ListPoliciesInputFilterSensitiveLog, models_0_1.ListPoliciesOutputFilterSensitiveLog)
25
+ .ser(Aws_json1_0_1.se_ListPoliciesCommand)
26
+ .de(Aws_json1_0_1.de_ListPoliciesCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListPoliciesCommand = ListPoliciesCommand;