@aws-sdk/client-verifiedpermissions 3.477.0 → 3.481.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.
- package/dist-cjs/commands/BatchIsAuthorizedCommand.js +18 -41
- package/dist-cjs/commands/CreateIdentitySourceCommand.js +18 -41
- package/dist-cjs/commands/CreatePolicyCommand.js +18 -41
- package/dist-cjs/commands/CreatePolicyStoreCommand.js +18 -41
- package/dist-cjs/commands/CreatePolicyTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteIdentitySourceCommand.js +18 -41
- package/dist-cjs/commands/DeletePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeletePolicyStoreCommand.js +18 -41
- package/dist-cjs/commands/DeletePolicyTemplateCommand.js +18 -41
- package/dist-cjs/commands/GetIdentitySourceCommand.js +18 -41
- package/dist-cjs/commands/GetPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetPolicyStoreCommand.js +18 -41
- package/dist-cjs/commands/GetPolicyTemplateCommand.js +18 -41
- package/dist-cjs/commands/GetSchemaCommand.js +18 -41
- package/dist-cjs/commands/IsAuthorizedCommand.js +18 -41
- package/dist-cjs/commands/IsAuthorizedWithTokenCommand.js +18 -41
- package/dist-cjs/commands/ListIdentitySourcesCommand.js +18 -41
- package/dist-cjs/commands/ListPoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListPolicyStoresCommand.js +18 -41
- package/dist-cjs/commands/ListPolicyTemplatesCommand.js +18 -41
- package/dist-cjs/commands/PutSchemaCommand.js +18 -41
- package/dist-cjs/commands/UpdateIdentitySourceCommand.js +18 -41
- package/dist-cjs/commands/UpdatePolicyCommand.js +18 -41
- package/dist-cjs/commands/UpdatePolicyStoreCommand.js +18 -41
- package/dist-cjs/commands/UpdatePolicyTemplateCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListIdentitySourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListPolicyStoresPaginator.js +2 -24
- package/dist-cjs/pagination/ListPolicyTemplatesPaginator.js +2 -24
- package/dist-es/commands/BatchIsAuthorizedCommand.js +18 -41
- package/dist-es/commands/CreateIdentitySourceCommand.js +18 -41
- package/dist-es/commands/CreatePolicyCommand.js +18 -41
- package/dist-es/commands/CreatePolicyStoreCommand.js +18 -41
- package/dist-es/commands/CreatePolicyTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteIdentitySourceCommand.js +18 -41
- package/dist-es/commands/DeletePolicyCommand.js +18 -41
- package/dist-es/commands/DeletePolicyStoreCommand.js +18 -41
- package/dist-es/commands/DeletePolicyTemplateCommand.js +18 -41
- package/dist-es/commands/GetIdentitySourceCommand.js +18 -41
- package/dist-es/commands/GetPolicyCommand.js +18 -41
- package/dist-es/commands/GetPolicyStoreCommand.js +18 -41
- package/dist-es/commands/GetPolicyTemplateCommand.js +18 -41
- package/dist-es/commands/GetSchemaCommand.js +18 -41
- package/dist-es/commands/IsAuthorizedCommand.js +18 -41
- package/dist-es/commands/IsAuthorizedWithTokenCommand.js +18 -41
- package/dist-es/commands/ListIdentitySourcesCommand.js +18 -41
- package/dist-es/commands/ListPoliciesCommand.js +18 -41
- package/dist-es/commands/ListPolicyStoresCommand.js +18 -41
- package/dist-es/commands/ListPolicyTemplatesCommand.js +18 -41
- package/dist-es/commands/PutSchemaCommand.js +18 -41
- package/dist-es/commands/UpdateIdentitySourceCommand.js +18 -41
- package/dist-es/commands/UpdatePolicyCommand.js +18 -41
- package/dist-es/commands/UpdatePolicyStoreCommand.js +18 -41
- package/dist-es/commands/UpdatePolicyTemplateCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListIdentitySourcesPaginator.js +2 -23
- package/dist-es/pagination/ListPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListPolicyStoresPaginator.js +2 -23
- package/dist-es/pagination/ListPolicyTemplatesPaginator.js +2 -23
- package/dist-types/commands/BatchIsAuthorizedCommand.d.ts +6 -21
- package/dist-types/commands/CreateIdentitySourceCommand.d.ts +6 -21
- package/dist-types/commands/CreatePolicyCommand.d.ts +6 -21
- package/dist-types/commands/CreatePolicyStoreCommand.d.ts +6 -21
- package/dist-types/commands/CreatePolicyTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +6 -21
- package/dist-types/commands/DeletePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeletePolicyStoreCommand.d.ts +6 -21
- package/dist-types/commands/DeletePolicyTemplateCommand.d.ts +6 -21
- package/dist-types/commands/GetIdentitySourceCommand.d.ts +6 -21
- package/dist-types/commands/GetPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetPolicyStoreCommand.d.ts +6 -21
- package/dist-types/commands/GetPolicyTemplateCommand.d.ts +6 -21
- package/dist-types/commands/GetSchemaCommand.d.ts +6 -21
- package/dist-types/commands/IsAuthorizedCommand.d.ts +6 -21
- package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +6 -21
- package/dist-types/commands/ListIdentitySourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListPolicyStoresCommand.d.ts +6 -21
- package/dist-types/commands/ListPolicyTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/PutSchemaCommand.d.ts +6 -21
- package/dist-types/commands/UpdateIdentitySourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePolicyCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePolicyStoreCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePolicyTemplateCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListIdentitySourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPolicyStoresPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPolicyTemplatesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchIsAuthorizedCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePolicyStoreCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePolicyTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePolicyStoreCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePolicyTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPolicyStoreCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPolicyTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSchemaCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/IsAuthorizedCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/IsAuthorizedWithTokenCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPolicyStoresCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPolicyTemplatesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutSchemaCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateIdentitySourceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdatePolicyStoreCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdatePolicyTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListIdentitySourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPolicyStoresPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPolicyTemplatesPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -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
|
|
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 ListPolicyStoresCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "VerifiedPermissionsClient";
|
|
30
|
-
const commandName = "ListPolicyStoresCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.ListPolicyStoresOutputFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "VerifiedPermissions",
|
|
39
|
-
operation: "ListPolicyStores",
|
|
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_ListPolicyStoresCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_0_1.de_ListPolicyStoresCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class ListPolicyStoresCommand 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", "ListPolicyStores", {})
|
|
23
|
+
.n("VerifiedPermissionsClient", "ListPolicyStoresCommand")
|
|
24
|
+
.f(void 0, models_0_1.ListPolicyStoresOutputFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_0_1.se_ListPolicyStoresCommand)
|
|
26
|
+
.de(Aws_json1_0_1.de_ListPolicyStoresCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.ListPolicyStoresCommand = ListPolicyStoresCommand;
|
|
@@ -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
|
|
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 ListPolicyTemplatesCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "VerifiedPermissionsClient";
|
|
30
|
-
const commandName = "ListPolicyTemplatesCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.ListPolicyTemplatesOutputFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "VerifiedPermissions",
|
|
39
|
-
operation: "ListPolicyTemplates",
|
|
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_ListPolicyTemplatesCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_0_1.de_ListPolicyTemplatesCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class ListPolicyTemplatesCommand 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", "ListPolicyTemplates", {})
|
|
23
|
+
.n("VerifiedPermissionsClient", "ListPolicyTemplatesCommand")
|
|
24
|
+
.f(void 0, models_0_1.ListPolicyTemplatesOutputFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_0_1.se_ListPolicyTemplatesCommand)
|
|
26
|
+
.de(Aws_json1_0_1.de_ListPolicyTemplatesCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.ListPolicyTemplatesCommand = ListPolicyTemplatesCommand;
|
|
@@ -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
|
|
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 PutSchemaCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "VerifiedPermissionsClient";
|
|
30
|
-
const commandName = "PutSchemaCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.PutSchemaInputFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.PutSchemaOutputFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "VerifiedPermissions",
|
|
39
|
-
operation: "PutSchema",
|
|
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_PutSchemaCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_0_1.de_PutSchemaCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class PutSchemaCommand 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", "PutSchema", {})
|
|
23
|
+
.n("VerifiedPermissionsClient", "PutSchemaCommand")
|
|
24
|
+
.f(models_0_1.PutSchemaInputFilterSensitiveLog, models_0_1.PutSchemaOutputFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_0_1.se_PutSchemaCommand)
|
|
26
|
+
.de(Aws_json1_0_1.de_PutSchemaCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.PutSchemaCommand = PutSchemaCommand;
|
|
@@ -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
|
|
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 UpdateIdentitySourceCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "VerifiedPermissionsClient";
|
|
30
|
-
const commandName = "UpdateIdentitySourceCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdateIdentitySourceInputFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "VerifiedPermissions",
|
|
39
|
-
operation: "UpdateIdentitySource",
|
|
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_UpdateIdentitySourceCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_0_1.de_UpdateIdentitySourceCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdateIdentitySourceCommand 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", "UpdateIdentitySource", {})
|
|
23
|
+
.n("VerifiedPermissionsClient", "UpdateIdentitySourceCommand")
|
|
24
|
+
.f(models_0_1.UpdateIdentitySourceInputFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_json1_0_1.se_UpdateIdentitySourceCommand)
|
|
26
|
+
.de(Aws_json1_0_1.de_UpdateIdentitySourceCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdateIdentitySourceCommand = UpdateIdentitySourceCommand;
|
|
@@ -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
|
|
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 UpdatePolicyCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "VerifiedPermissionsClient";
|
|
30
|
-
const commandName = "UpdatePolicyCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdatePolicyInputFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.UpdatePolicyOutputFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "VerifiedPermissions",
|
|
39
|
-
operation: "UpdatePolicy",
|
|
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_UpdatePolicyCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_0_1.de_UpdatePolicyCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdatePolicyCommand 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", "UpdatePolicy", {})
|
|
23
|
+
.n("VerifiedPermissionsClient", "UpdatePolicyCommand")
|
|
24
|
+
.f(models_0_1.UpdatePolicyInputFilterSensitiveLog, models_0_1.UpdatePolicyOutputFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_0_1.se_UpdatePolicyCommand)
|
|
26
|
+
.de(Aws_json1_0_1.de_UpdatePolicyCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdatePolicyCommand = UpdatePolicyCommand;
|
|
@@ -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
|
|
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 UpdatePolicyStoreCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "VerifiedPermissionsClient";
|
|
30
|
-
const commandName = "UpdatePolicyStoreCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdatePolicyStoreInputFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "VerifiedPermissions",
|
|
39
|
-
operation: "UpdatePolicyStore",
|
|
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_UpdatePolicyStoreCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_0_1.de_UpdatePolicyStoreCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdatePolicyStoreCommand 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", "UpdatePolicyStore", {})
|
|
23
|
+
.n("VerifiedPermissionsClient", "UpdatePolicyStoreCommand")
|
|
24
|
+
.f(models_0_1.UpdatePolicyStoreInputFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_json1_0_1.se_UpdatePolicyStoreCommand)
|
|
26
|
+
.de(Aws_json1_0_1.de_UpdatePolicyStoreCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdatePolicyStoreCommand = UpdatePolicyStoreCommand;
|
|
@@ -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
|
|
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 UpdatePolicyTemplateCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "VerifiedPermissionsClient";
|
|
30
|
-
const commandName = "UpdatePolicyTemplateCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdatePolicyTemplateInputFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "VerifiedPermissions",
|
|
39
|
-
operation: "UpdatePolicyTemplate",
|
|
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_UpdatePolicyTemplateCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_0_1.de_UpdatePolicyTemplateCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdatePolicyTemplateCommand 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", "UpdatePolicyTemplate", {})
|
|
23
|
+
.n("VerifiedPermissionsClient", "UpdatePolicyTemplateCommand")
|
|
24
|
+
.f(models_0_1.UpdatePolicyTemplateInputFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_json1_0_1.se_UpdatePolicyTemplateCommand)
|
|
26
|
+
.de(Aws_json1_0_1.de_UpdatePolicyTemplateCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdatePolicyTemplateCommand = UpdatePolicyTemplateCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
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
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListIdentitySources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListIdentitySourcesCommand_1 = require("../commands/ListIdentitySourcesCommand");
|
|
5
6
|
const VerifiedPermissionsClient_1 = require("../VerifiedPermissionsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListIdentitySourcesCommand_1.ListIdentitySourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListIdentitySources(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof VerifiedPermissionsClient_1.VerifiedPermissionsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected VerifiedPermissions | VerifiedPermissionsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListIdentitySources = paginateListIdentitySources;
|
|
7
|
+
exports.paginateListIdentitySources = (0, core_1.createPaginator)(VerifiedPermissionsClient_1.VerifiedPermissionsClient, ListIdentitySourcesCommand_1.ListIdentitySourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPolicies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListPoliciesCommand_1 = require("../commands/ListPoliciesCommand");
|
|
5
6
|
const VerifiedPermissionsClient_1 = require("../VerifiedPermissionsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPoliciesCommand_1.ListPoliciesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPolicies(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof VerifiedPermissionsClient_1.VerifiedPermissionsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected VerifiedPermissions | VerifiedPermissionsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListPolicies = paginateListPolicies;
|
|
7
|
+
exports.paginateListPolicies = (0, core_1.createPaginator)(VerifiedPermissionsClient_1.VerifiedPermissionsClient, ListPoliciesCommand_1.ListPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPolicyStores = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListPolicyStoresCommand_1 = require("../commands/ListPolicyStoresCommand");
|
|
5
6
|
const VerifiedPermissionsClient_1 = require("../VerifiedPermissionsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPolicyStoresCommand_1.ListPolicyStoresCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPolicyStores(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof VerifiedPermissionsClient_1.VerifiedPermissionsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected VerifiedPermissions | VerifiedPermissionsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListPolicyStores = paginateListPolicyStores;
|
|
7
|
+
exports.paginateListPolicyStores = (0, core_1.createPaginator)(VerifiedPermissionsClient_1.VerifiedPermissionsClient, ListPolicyStoresCommand_1.ListPolicyStoresCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPolicyTemplates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListPolicyTemplatesCommand_1 = require("../commands/ListPolicyTemplatesCommand");
|
|
5
6
|
const VerifiedPermissionsClient_1 = require("../VerifiedPermissionsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPolicyTemplatesCommand_1.ListPolicyTemplatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPolicyTemplates(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof VerifiedPermissionsClient_1.VerifiedPermissionsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected VerifiedPermissions | VerifiedPermissionsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListPolicyTemplates = paginateListPolicyTemplates;
|
|
7
|
+
exports.paginateListPolicyTemplates = (0, core_1.createPaginator)(VerifiedPermissionsClient_1.VerifiedPermissionsClient, ListPolicyTemplatesCommand_1.ListPolicyTemplatesCommand, "nextToken", "nextToken", "maxResults");
|