@aws-sdk/client-verifiedpermissions 3.1077.0 → 3.1078.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/index.js +42 -343
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/BatchGetPolicyCommand.js +2 -14
- package/dist-es/commands/BatchIsAuthorizedCommand.js +2 -14
- package/dist-es/commands/BatchIsAuthorizedWithTokenCommand.js +2 -14
- package/dist-es/commands/CreateIdentitySourceCommand.js +2 -14
- package/dist-es/commands/CreatePolicyCommand.js +2 -14
- package/dist-es/commands/CreatePolicyStoreAliasCommand.js +2 -14
- package/dist-es/commands/CreatePolicyStoreCommand.js +2 -14
- package/dist-es/commands/CreatePolicyTemplateCommand.js +2 -14
- package/dist-es/commands/DeleteIdentitySourceCommand.js +2 -14
- package/dist-es/commands/DeletePolicyCommand.js +2 -14
- package/dist-es/commands/DeletePolicyStoreAliasCommand.js +2 -14
- package/dist-es/commands/DeletePolicyStoreCommand.js +2 -14
- package/dist-es/commands/DeletePolicyTemplateCommand.js +2 -14
- package/dist-es/commands/GetIdentitySourceCommand.js +2 -14
- package/dist-es/commands/GetPolicyCommand.js +2 -14
- package/dist-es/commands/GetPolicyStoreAliasCommand.js +2 -14
- package/dist-es/commands/GetPolicyStoreCommand.js +2 -14
- package/dist-es/commands/GetPolicyTemplateCommand.js +2 -14
- package/dist-es/commands/GetSchemaCommand.js +2 -14
- package/dist-es/commands/IsAuthorizedCommand.js +2 -14
- package/dist-es/commands/IsAuthorizedWithTokenCommand.js +2 -14
- package/dist-es/commands/ListIdentitySourcesCommand.js +2 -14
- package/dist-es/commands/ListPoliciesCommand.js +2 -14
- package/dist-es/commands/ListPolicyStoreAliasesCommand.js +2 -14
- package/dist-es/commands/ListPolicyStoresCommand.js +2 -14
- package/dist-es/commands/ListPolicyTemplatesCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/PutSchemaCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateIdentitySourceCommand.js +2 -14
- package/dist-es/commands/UpdatePolicyCommand.js +2 -14
- package/dist-es/commands/UpdatePolicyStoreCommand.js +2 -14
- package/dist-es/commands/UpdatePolicyTemplateCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/BatchGetPolicyCommand.d.ts +3 -8
- package/dist-types/commands/BatchIsAuthorizedCommand.d.ts +3 -8
- package/dist-types/commands/BatchIsAuthorizedWithTokenCommand.d.ts +3 -8
- package/dist-types/commands/CreateIdentitySourceCommand.d.ts +3 -8
- package/dist-types/commands/CreatePolicyCommand.d.ts +3 -8
- package/dist-types/commands/CreatePolicyStoreAliasCommand.d.ts +3 -8
- package/dist-types/commands/CreatePolicyStoreCommand.d.ts +3 -8
- package/dist-types/commands/CreatePolicyTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +3 -8
- package/dist-types/commands/DeletePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeletePolicyStoreAliasCommand.d.ts +3 -8
- package/dist-types/commands/DeletePolicyStoreCommand.d.ts +3 -8
- package/dist-types/commands/DeletePolicyTemplateCommand.d.ts +3 -8
- package/dist-types/commands/GetIdentitySourceCommand.d.ts +3 -8
- package/dist-types/commands/GetPolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetPolicyStoreAliasCommand.d.ts +3 -8
- package/dist-types/commands/GetPolicyStoreCommand.d.ts +3 -8
- package/dist-types/commands/GetPolicyTemplateCommand.d.ts +3 -8
- package/dist-types/commands/GetSchemaCommand.d.ts +3 -8
- package/dist-types/commands/IsAuthorizedCommand.d.ts +3 -8
- package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +3 -8
- package/dist-types/commands/ListIdentitySourcesCommand.d.ts +3 -8
- package/dist-types/commands/ListPoliciesCommand.d.ts +3 -8
- package/dist-types/commands/ListPolicyStoreAliasesCommand.d.ts +3 -8
- package/dist-types/commands/ListPolicyStoresCommand.d.ts +3 -8
- package/dist-types/commands/ListPolicyTemplatesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/PutSchemaCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateIdentitySourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePolicyCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePolicyStoreCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePolicyTemplateCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/BatchGetPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchIsAuthorizedCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchIsAuthorizedWithTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePolicyStoreAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePolicyStoreCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePolicyTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePolicyStoreAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePolicyStoreCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePolicyTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPolicyStoreAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPolicyStoreCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPolicyTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSchemaCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/IsAuthorizedCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/IsAuthorizedWithTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPolicyStoreAliasesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPolicyStoresCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPolicyTemplatesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutSchemaCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateIdentitySourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePolicyStoreCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePolicyTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeletePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeletePolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "DeletePolicy", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "DeletePolicyCommand")
|
|
14
|
-
.sc(DeletePolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeletePolicyCommand extends command(_ep0, _mw0, "DeletePolicy", DeletePolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeletePolicyStoreAlias$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeletePolicyStoreAliasCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "DeletePolicyStoreAlias", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "DeletePolicyStoreAliasCommand")
|
|
14
|
-
.sc(DeletePolicyStoreAlias$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeletePolicyStoreAliasCommand extends command(_ep0, _mw0, "DeletePolicyStoreAlias", DeletePolicyStoreAlias$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeletePolicyStore$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeletePolicyStoreCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "DeletePolicyStore", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "DeletePolicyStoreCommand")
|
|
14
|
-
.sc(DeletePolicyStore$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeletePolicyStoreCommand extends command(_ep0, _mw0, "DeletePolicyStore", DeletePolicyStore$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeletePolicyTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeletePolicyTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "DeletePolicyTemplate", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "DeletePolicyTemplateCommand")
|
|
14
|
-
.sc(DeletePolicyTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeletePolicyTemplateCommand extends command(_ep0, _mw0, "DeletePolicyTemplate", DeletePolicyTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetIdentitySource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetIdentitySourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "GetIdentitySource", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "GetIdentitySourceCommand")
|
|
14
|
-
.sc(GetIdentitySource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetIdentitySourceCommand extends command(_ep0, _mw0, "GetIdentitySource", GetIdentitySource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "GetPolicy", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "GetPolicyCommand")
|
|
14
|
-
.sc(GetPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetPolicyCommand extends command(_ep0, _mw0, "GetPolicy", GetPolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetPolicyStoreAlias$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetPolicyStoreAliasCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "GetPolicyStoreAlias", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "GetPolicyStoreAliasCommand")
|
|
14
|
-
.sc(GetPolicyStoreAlias$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetPolicyStoreAliasCommand extends command(_ep0, _mw0, "GetPolicyStoreAlias", GetPolicyStoreAlias$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetPolicyStore$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetPolicyStoreCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "GetPolicyStore", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "GetPolicyStoreCommand")
|
|
14
|
-
.sc(GetPolicyStore$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetPolicyStoreCommand extends command(_ep0, _mw0, "GetPolicyStore", GetPolicyStore$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetPolicyTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetPolicyTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "GetPolicyTemplate", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "GetPolicyTemplateCommand")
|
|
14
|
-
.sc(GetPolicyTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetPolicyTemplateCommand extends command(_ep0, _mw0, "GetPolicyTemplate", GetPolicyTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetSchema$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetSchemaCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "GetSchema", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "GetSchemaCommand")
|
|
14
|
-
.sc(GetSchema$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetSchemaCommand extends command(_ep0, _mw0, "GetSchema", GetSchema$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { IsAuthorized$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class IsAuthorizedCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "IsAuthorized", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "IsAuthorizedCommand")
|
|
14
|
-
.sc(IsAuthorized$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class IsAuthorizedCommand extends command(_ep0, _mw0, "IsAuthorized", IsAuthorized$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { IsAuthorizedWithToken$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class IsAuthorizedWithTokenCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "IsAuthorizedWithToken", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "IsAuthorizedWithTokenCommand")
|
|
14
|
-
.sc(IsAuthorizedWithToken$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class IsAuthorizedWithTokenCommand extends command(_ep0, _mw0, "IsAuthorizedWithToken", IsAuthorizedWithToken$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListIdentitySources$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListIdentitySourcesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "ListIdentitySources", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "ListIdentitySourcesCommand")
|
|
14
|
-
.sc(ListIdentitySources$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListIdentitySourcesCommand extends command(_ep0, _mw0, "ListIdentitySources", ListIdentitySources$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPolicies$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPoliciesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "ListPolicies", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "ListPoliciesCommand")
|
|
14
|
-
.sc(ListPolicies$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPoliciesCommand extends command(_ep0, _mw0, "ListPolicies", ListPolicies$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPolicyStoreAliases$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPolicyStoreAliasesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "ListPolicyStoreAliases", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "ListPolicyStoreAliasesCommand")
|
|
14
|
-
.sc(ListPolicyStoreAliases$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPolicyStoreAliasesCommand extends command(_ep0, _mw0, "ListPolicyStoreAliases", ListPolicyStoreAliases$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPolicyStores$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPolicyStoresCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "ListPolicyStores", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "ListPolicyStoresCommand")
|
|
14
|
-
.sc(ListPolicyStores$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPolicyStoresCommand extends command(_ep0, _mw0, "ListPolicyStores", ListPolicyStores$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPolicyTemplates$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPolicyTemplatesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "ListPolicyTemplates", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "ListPolicyTemplatesCommand")
|
|
14
|
-
.sc(ListPolicyTemplates$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPolicyTemplatesCommand extends command(_ep0, _mw0, "ListPolicyTemplates", ListPolicyTemplates$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "ListTagsForResource", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutSchema$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutSchemaCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "PutSchema", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "PutSchemaCommand")
|
|
14
|
-
.sc(PutSchema$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutSchemaCommand extends command(_ep0, _mw0, "PutSchema", PutSchema$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "TagResource", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "UntagResource", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateIdentitySource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateIdentitySourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "UpdateIdentitySource", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "UpdateIdentitySourceCommand")
|
|
14
|
-
.sc(UpdateIdentitySource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateIdentitySourceCommand extends command(_ep0, _mw0, "UpdateIdentitySource", UpdateIdentitySource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "UpdatePolicy", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "UpdatePolicyCommand")
|
|
14
|
-
.sc(UpdatePolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePolicyCommand extends command(_ep0, _mw0, "UpdatePolicy", UpdatePolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePolicyStore$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePolicyStoreCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "UpdatePolicyStore", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "UpdatePolicyStoreCommand")
|
|
14
|
-
.sc(UpdatePolicyStore$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePolicyStoreCommand extends command(_ep0, _mw0, "UpdatePolicyStore", UpdatePolicyStore$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePolicyTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePolicyTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("VerifiedPermissions", "UpdatePolicyTemplate", {})
|
|
13
|
-
.n("VerifiedPermissionsClient", "UpdatePolicyTemplateCommand")
|
|
14
|
-
.sc(UpdatePolicyTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePolicyTemplateCommand extends command(_ep0, _mw0, "UpdatePolicyTemplate", UpdatePolicyTemplate$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./VerifiedPermissionsClient";
|
|
2
2
|
export * from "./VerifiedPermissions";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, VerifiedPermissionsClientResolvedConfig } from "./VerifiedPermissionsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, VerifiedPermissionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, VerifiedPermissionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { BatchGetPolicyInput, BatchGetPolicyOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, VerifiedPermissionsClientResolvedConfig } from "../VerifiedPermissionsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchGetPolicyCommandInput extends BatchGetPolicyInput {
|
|
|
22
19
|
export interface BatchGetPolicyCommandOutput extends BatchGetPolicyOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchGetPolicyCommand_base: {
|
|
25
|
-
new (input: BatchGetPolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetPolicyCommandInput, BatchGetPolicyCommandOutput, VerifiedPermissionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchGetPolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetPolicyCommandInput, BatchGetPolicyCommandOutput, VerifiedPermissionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchGetPolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetPolicyCommandInput, BatchGetPolicyCommandOutput, import("..").VerifiedPermissionsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchGetPolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetPolicyCommandInput, BatchGetPolicyCommandOutput, import("..").VerifiedPermissionsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Retrieves information about a group (batch) of policies.</p> <note> <p>The <code>BatchGetPolicy</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission <code>verifiedpermissions:GetPolicy</code> in their IAM policies.</p> </note>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { BatchIsAuthorizedInput, BatchIsAuthorizedOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, VerifiedPermissionsClientResolvedConfig } from "../VerifiedPermissionsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchIsAuthorizedCommandInput extends BatchIsAuthorizedInput {
|
|
|
22
19
|
export interface BatchIsAuthorizedCommandOutput extends BatchIsAuthorizedOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchIsAuthorizedCommand_base: {
|
|
25
|
-
new (input: BatchIsAuthorizedCommandInput): import("@smithy/core/client").CommandImpl<BatchIsAuthorizedCommandInput, BatchIsAuthorizedCommandOutput, VerifiedPermissionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchIsAuthorizedCommandInput): import("@smithy/core/client").CommandImpl<BatchIsAuthorizedCommandInput, BatchIsAuthorizedCommandOutput, VerifiedPermissionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchIsAuthorizedCommandInput): import("@smithy/core/client").CommandImpl<BatchIsAuthorizedCommandInput, BatchIsAuthorizedCommandOutput, import("..").VerifiedPermissionsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchIsAuthorizedCommandInput): import("@smithy/core/client").CommandImpl<BatchIsAuthorizedCommandInput, BatchIsAuthorizedCommandOutput, import("..").VerifiedPermissionsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Makes a series of decisions about multiple authorization requests for one principal or resource. Each request contains the equivalent content of an <code>IsAuthorized</code> request: principal, action, resource, and context. Either the <code>principal</code> or the <code>resource</code> parameter must be identical across all requests. For example, Verified Permissions won't evaluate a pair of requests where <code>bob</code> views <code>photo1</code> and <code>alice</code> views <code>photo2</code>. Authorization of <code>bob</code> to view <code>photo1</code> and <code>photo2</code>, or <code>bob</code> and <code>alice</code> to view <code>photo1</code>, are valid batches. </p> <p>The request is evaluated against all policies in the specified policy store that match the entities that you declare. The result of the decisions is a series of <code>Allow</code> or <code>Deny</code> responses, along with the IDs of the policies that produced each decision.</p> <p>The <code>entities</code> of a <code>BatchIsAuthorized</code> API request can contain up to 100 principals and up to 100 resources. The <code>requests</code> of a <code>BatchIsAuthorized</code> API request can contain up to 30 requests.</p> <note> <p>The <code>BatchIsAuthorized</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission <code>verifiedpermissions:IsAuthorized</code> in their IAM policies.</p> </note>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { BatchIsAuthorizedWithTokenInput, BatchIsAuthorizedWithTokenOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, VerifiedPermissionsClientResolvedConfig } from "../VerifiedPermissionsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchIsAuthorizedWithTokenCommandInput extends BatchIsAuthorize
|
|
|
22
19
|
export interface BatchIsAuthorizedWithTokenCommandOutput extends BatchIsAuthorizedWithTokenOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchIsAuthorizedWithTokenCommand_base: {
|
|
25
|
-
new (input: BatchIsAuthorizedWithTokenCommandInput): import("@smithy/core/client").CommandImpl<BatchIsAuthorizedWithTokenCommandInput, BatchIsAuthorizedWithTokenCommandOutput, VerifiedPermissionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchIsAuthorizedWithTokenCommandInput): import("@smithy/core/client").CommandImpl<BatchIsAuthorizedWithTokenCommandInput, BatchIsAuthorizedWithTokenCommandOutput, VerifiedPermissionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchIsAuthorizedWithTokenCommandInput): import("@smithy/core/client").CommandImpl<BatchIsAuthorizedWithTokenCommandInput, BatchIsAuthorizedWithTokenCommandOutput, import("..").VerifiedPermissionsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchIsAuthorizedWithTokenCommandInput): import("@smithy/core/client").CommandImpl<BatchIsAuthorizedWithTokenCommandInput, BatchIsAuthorizedWithTokenCommandOutput, import("..").VerifiedPermissionsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Makes a series of decisions about multiple authorization requests for one token. The principal in this request comes from an external identity source in the form of an identity or access token, formatted as a <a href="https://wikipedia.org/wiki/JSON_Web_Token">JSON web token (JWT)</a>. The information in the parameters can also define additional context that Verified Permissions can include in the evaluations.</p> <p>The request is evaluated against all policies in the specified policy store that match the entities that you provide in the entities declaration and in the token. The result of the decisions is a series of <code>Allow</code> or <code>Deny</code> responses, along with the IDs of the policies that produced each decision.</p> <p>The <code>entities</code> of a <code>BatchIsAuthorizedWithToken</code> API request can contain up to 100 resources and up to 99 user groups. The <code>requests</code> of a <code>BatchIsAuthorizedWithToken</code> API request can contain up to 30 requests.</p> <note> <p>The <code>BatchIsAuthorizedWithToken</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission <code>verifiedpermissions:IsAuthorizedWithToken</code> in their IAM policies.</p> </note>
|