@aws-sdk/client-verifiedpermissions 3.952.0 → 3.954.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 (50) hide show
  1. package/dist-cjs/index.js +597 -390
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/BatchGetPolicyCommand.js +2 -2
  4. package/dist-es/commands/BatchIsAuthorizedCommand.js +2 -2
  5. package/dist-es/commands/BatchIsAuthorizedWithTokenCommand.js +2 -2
  6. package/dist-es/commands/CreateIdentitySourceCommand.js +2 -2
  7. package/dist-es/commands/CreatePolicyCommand.js +2 -2
  8. package/dist-es/commands/CreatePolicyStoreCommand.js +2 -2
  9. package/dist-es/commands/CreatePolicyTemplateCommand.js +2 -2
  10. package/dist-es/commands/DeleteIdentitySourceCommand.js +2 -2
  11. package/dist-es/commands/DeletePolicyCommand.js +2 -2
  12. package/dist-es/commands/DeletePolicyStoreCommand.js +2 -2
  13. package/dist-es/commands/DeletePolicyTemplateCommand.js +2 -2
  14. package/dist-es/commands/GetIdentitySourceCommand.js +2 -2
  15. package/dist-es/commands/GetPolicyCommand.js +2 -2
  16. package/dist-es/commands/GetPolicyStoreCommand.js +2 -2
  17. package/dist-es/commands/GetPolicyTemplateCommand.js +2 -2
  18. package/dist-es/commands/GetSchemaCommand.js +2 -2
  19. package/dist-es/commands/IsAuthorizedCommand.js +2 -2
  20. package/dist-es/commands/IsAuthorizedWithTokenCommand.js +2 -2
  21. package/dist-es/commands/ListIdentitySourcesCommand.js +2 -2
  22. package/dist-es/commands/ListPoliciesCommand.js +2 -2
  23. package/dist-es/commands/ListPolicyStoresCommand.js +2 -2
  24. package/dist-es/commands/ListPolicyTemplatesCommand.js +2 -2
  25. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  26. package/dist-es/commands/PutSchemaCommand.js +2 -2
  27. package/dist-es/commands/TagResourceCommand.js +2 -2
  28. package/dist-es/commands/UntagResourceCommand.js +2 -2
  29. package/dist-es/commands/UpdateIdentitySourceCommand.js +2 -2
  30. package/dist-es/commands/UpdatePolicyCommand.js +2 -2
  31. package/dist-es/commands/UpdatePolicyStoreCommand.js +2 -2
  32. package/dist-es/commands/UpdatePolicyTemplateCommand.js +2 -2
  33. package/dist-es/index.js +1 -0
  34. package/dist-es/runtimeConfig.shared.js +6 -6
  35. package/dist-es/schemas/schemas_0.js +399 -364
  36. package/dist-types/VerifiedPermissionsClient.d.ts +1 -10
  37. package/dist-types/index.d.ts +1 -0
  38. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  39. package/dist-types/runtimeConfig.d.ts +6 -2
  40. package/dist-types/runtimeConfig.native.d.ts +6 -2
  41. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  42. package/dist-types/schemas/schemas_0.d.ts +173 -228
  43. package/dist-types/ts3.4/VerifiedPermissionsClient.d.ts +0 -4
  44. package/dist-types/ts3.4/index.d.ts +1 -0
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  48. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +172 -230
  50. package/package.json +34 -34
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.verifiedpermissions",
32
- serviceTarget: "VerifiedPermissions",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.verifiedpermissions",
32
+ version: "2021-12-01",
33
+ serviceTarget: "VerifiedPermissions",
34
+ },
35
35
  serviceId: config?.serviceId ?? "VerifiedPermissions",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchGetPolicy } from "../schemas/schemas_0";
4
+ import { BatchGetPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchGetPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchGetPolicyCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "BatchGetPolicy", {})
13
13
  .n("VerifiedPermissionsClient", "BatchGetPolicyCommand")
14
- .sc(BatchGetPolicy)
14
+ .sc(BatchGetPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchIsAuthorized } from "../schemas/schemas_0";
4
+ import { BatchIsAuthorized$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchIsAuthorizedCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchIsAuthorizedCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "BatchIsAuthorized", {})
13
13
  .n("VerifiedPermissionsClient", "BatchIsAuthorizedCommand")
14
- .sc(BatchIsAuthorized)
14
+ .sc(BatchIsAuthorized$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchIsAuthorizedWithToken } from "../schemas/schemas_0";
4
+ import { BatchIsAuthorizedWithToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchIsAuthorizedWithTokenCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchIsAuthorizedWithTokenCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "BatchIsAuthorizedWithToken", {})
13
13
  .n("VerifiedPermissionsClient", "BatchIsAuthorizedWithTokenCommand")
14
- .sc(BatchIsAuthorizedWithToken)
14
+ .sc(BatchIsAuthorizedWithToken$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateIdentitySource } from "../schemas/schemas_0";
4
+ import { CreateIdentitySource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateIdentitySourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateIdentitySourceCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "CreateIdentitySource", {})
13
13
  .n("VerifiedPermissionsClient", "CreateIdentitySourceCommand")
14
- .sc(CreateIdentitySource)
14
+ .sc(CreateIdentitySource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreatePolicy } from "../schemas/schemas_0";
4
+ import { CreatePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreatePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreatePolicyCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "CreatePolicy", {})
13
13
  .n("VerifiedPermissionsClient", "CreatePolicyCommand")
14
- .sc(CreatePolicy)
14
+ .sc(CreatePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreatePolicyStore } from "../schemas/schemas_0";
4
+ import { CreatePolicyStore$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreatePolicyStoreCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreatePolicyStoreCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "CreatePolicyStore", {})
13
13
  .n("VerifiedPermissionsClient", "CreatePolicyStoreCommand")
14
- .sc(CreatePolicyStore)
14
+ .sc(CreatePolicyStore$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreatePolicyTemplate } from "../schemas/schemas_0";
4
+ import { CreatePolicyTemplate$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreatePolicyTemplateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreatePolicyTemplateCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "CreatePolicyTemplate", {})
13
13
  .n("VerifiedPermissionsClient", "CreatePolicyTemplateCommand")
14
- .sc(CreatePolicyTemplate)
14
+ .sc(CreatePolicyTemplate$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteIdentitySource } from "../schemas/schemas_0";
4
+ import { DeleteIdentitySource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteIdentitySourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteIdentitySourceCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "DeleteIdentitySource", {})
13
13
  .n("VerifiedPermissionsClient", "DeleteIdentitySourceCommand")
14
- .sc(DeleteIdentitySource)
14
+ .sc(DeleteIdentitySource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeletePolicy } from "../schemas/schemas_0";
4
+ import { DeletePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeletePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeletePolicyCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "DeletePolicy", {})
13
13
  .n("VerifiedPermissionsClient", "DeletePolicyCommand")
14
- .sc(DeletePolicy)
14
+ .sc(DeletePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeletePolicyStore } from "../schemas/schemas_0";
4
+ import { DeletePolicyStore$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeletePolicyStoreCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeletePolicyStoreCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "DeletePolicyStore", {})
13
13
  .n("VerifiedPermissionsClient", "DeletePolicyStoreCommand")
14
- .sc(DeletePolicyStore)
14
+ .sc(DeletePolicyStore$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeletePolicyTemplate } from "../schemas/schemas_0";
4
+ import { DeletePolicyTemplate$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeletePolicyTemplateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeletePolicyTemplateCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "DeletePolicyTemplate", {})
13
13
  .n("VerifiedPermissionsClient", "DeletePolicyTemplateCommand")
14
- .sc(DeletePolicyTemplate)
14
+ .sc(DeletePolicyTemplate$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetIdentitySource } from "../schemas/schemas_0";
4
+ import { GetIdentitySource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetIdentitySourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetIdentitySourceCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "GetIdentitySource", {})
13
13
  .n("VerifiedPermissionsClient", "GetIdentitySourceCommand")
14
- .sc(GetIdentitySource)
14
+ .sc(GetIdentitySource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPolicy } from "../schemas/schemas_0";
4
+ import { GetPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPolicyCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "GetPolicy", {})
13
13
  .n("VerifiedPermissionsClient", "GetPolicyCommand")
14
- .sc(GetPolicy)
14
+ .sc(GetPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPolicyStore } from "../schemas/schemas_0";
4
+ import { GetPolicyStore$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPolicyStoreCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPolicyStoreCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "GetPolicyStore", {})
13
13
  .n("VerifiedPermissionsClient", "GetPolicyStoreCommand")
14
- .sc(GetPolicyStore)
14
+ .sc(GetPolicyStore$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPolicyTemplate } from "../schemas/schemas_0";
4
+ import { GetPolicyTemplate$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPolicyTemplateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPolicyTemplateCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "GetPolicyTemplate", {})
13
13
  .n("VerifiedPermissionsClient", "GetPolicyTemplateCommand")
14
- .sc(GetPolicyTemplate)
14
+ .sc(GetPolicyTemplate$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSchema } from "../schemas/schemas_0";
4
+ import { GetSchema$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSchemaCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSchemaCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "GetSchema", {})
13
13
  .n("VerifiedPermissionsClient", "GetSchemaCommand")
14
- .sc(GetSchema)
14
+ .sc(GetSchema$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { IsAuthorized } from "../schemas/schemas_0";
4
+ import { IsAuthorized$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class IsAuthorizedCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class IsAuthorizedCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "IsAuthorized", {})
13
13
  .n("VerifiedPermissionsClient", "IsAuthorizedCommand")
14
- .sc(IsAuthorized)
14
+ .sc(IsAuthorized$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { IsAuthorizedWithToken } from "../schemas/schemas_0";
4
+ import { IsAuthorizedWithToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class IsAuthorizedWithTokenCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class IsAuthorizedWithTokenCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "IsAuthorizedWithToken", {})
13
13
  .n("VerifiedPermissionsClient", "IsAuthorizedWithTokenCommand")
14
- .sc(IsAuthorizedWithToken)
14
+ .sc(IsAuthorizedWithToken$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListIdentitySources } from "../schemas/schemas_0";
4
+ import { ListIdentitySources$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListIdentitySourcesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListIdentitySourcesCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "ListIdentitySources", {})
13
13
  .n("VerifiedPermissionsClient", "ListIdentitySourcesCommand")
14
- .sc(ListIdentitySources)
14
+ .sc(ListIdentitySources$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPolicies } from "../schemas/schemas_0";
4
+ import { ListPolicies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPoliciesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPoliciesCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "ListPolicies", {})
13
13
  .n("VerifiedPermissionsClient", "ListPoliciesCommand")
14
- .sc(ListPolicies)
14
+ .sc(ListPolicies$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPolicyStores } from "../schemas/schemas_0";
4
+ import { ListPolicyStores$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPolicyStoresCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPolicyStoresCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "ListPolicyStores", {})
13
13
  .n("VerifiedPermissionsClient", "ListPolicyStoresCommand")
14
- .sc(ListPolicyStores)
14
+ .sc(ListPolicyStores$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPolicyTemplates } from "../schemas/schemas_0";
4
+ import { ListPolicyTemplates$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPolicyTemplatesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPolicyTemplatesCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "ListPolicyTemplates", {})
13
13
  .n("VerifiedPermissionsClient", "ListPolicyTemplatesCommand")
14
- .sc(ListPolicyTemplates)
14
+ .sc(ListPolicyTemplates$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "ListTagsForResource", {})
13
13
  .n("VerifiedPermissionsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutSchema } from "../schemas/schemas_0";
4
+ import { PutSchema$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutSchemaCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutSchemaCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "PutSchema", {})
13
13
  .n("VerifiedPermissionsClient", "PutSchemaCommand")
14
- .sc(PutSchema)
14
+ .sc(PutSchema$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "TagResource", {})
13
13
  .n("VerifiedPermissionsClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "UntagResource", {})
13
13
  .n("VerifiedPermissionsClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateIdentitySource } from "../schemas/schemas_0";
4
+ import { UpdateIdentitySource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateIdentitySourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateIdentitySourceCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "UpdateIdentitySource", {})
13
13
  .n("VerifiedPermissionsClient", "UpdateIdentitySourceCommand")
14
- .sc(UpdateIdentitySource)
14
+ .sc(UpdateIdentitySource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePolicy } from "../schemas/schemas_0";
4
+ import { UpdatePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePolicyCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "UpdatePolicy", {})
13
13
  .n("VerifiedPermissionsClient", "UpdatePolicyCommand")
14
- .sc(UpdatePolicy)
14
+ .sc(UpdatePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePolicyStore } from "../schemas/schemas_0";
4
+ import { UpdatePolicyStore$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePolicyStoreCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePolicyStoreCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "UpdatePolicyStore", {})
13
13
  .n("VerifiedPermissionsClient", "UpdatePolicyStoreCommand")
14
- .sc(UpdatePolicyStore)
14
+ .sc(UpdatePolicyStore$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePolicyTemplate } from "../schemas/schemas_0";
4
+ import { UpdatePolicyTemplate$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePolicyTemplateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePolicyTemplateCommand extends $Command
11
11
  })
12
12
  .s("VerifiedPermissions", "UpdatePolicyTemplate", {})
13
13
  .n("VerifiedPermissionsClient", "UpdatePolicyTemplateCommand")
14
- .sc(UpdatePolicyTemplate)
14
+ .sc(UpdatePolicyTemplate$)
15
15
  .build() {
16
16
  }
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 * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.verifiedpermissions",
29
- serviceTarget: "VerifiedPermissions",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.verifiedpermissions",
29
+ version: "2021-12-01",
30
+ serviceTarget: "VerifiedPermissions",
31
+ },
32
32
  serviceId: config?.serviceId ?? "VerifiedPermissions",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,