@aws-sdk/client-mpa 3.948.0 → 3.953.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 (41) hide show
  1. package/dist-cjs/index.js +313 -225
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CancelSessionCommand.js +2 -2
  4. package/dist-es/commands/CreateApprovalTeamCommand.js +2 -2
  5. package/dist-es/commands/CreateIdentitySourceCommand.js +2 -2
  6. package/dist-es/commands/DeleteIdentitySourceCommand.js +2 -2
  7. package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +2 -2
  8. package/dist-es/commands/GetApprovalTeamCommand.js +2 -2
  9. package/dist-es/commands/GetIdentitySourceCommand.js +2 -2
  10. package/dist-es/commands/GetPolicyVersionCommand.js +2 -2
  11. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  12. package/dist-es/commands/GetSessionCommand.js +2 -2
  13. package/dist-es/commands/ListApprovalTeamsCommand.js +2 -2
  14. package/dist-es/commands/ListIdentitySourcesCommand.js +2 -2
  15. package/dist-es/commands/ListPoliciesCommand.js +2 -2
  16. package/dist-es/commands/ListPolicyVersionsCommand.js +2 -2
  17. package/dist-es/commands/ListResourcePoliciesCommand.js +2 -2
  18. package/dist-es/commands/ListSessionsCommand.js +2 -2
  19. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  20. package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +2 -2
  21. package/dist-es/commands/TagResourceCommand.js +2 -2
  22. package/dist-es/commands/UntagResourceCommand.js +2 -2
  23. package/dist-es/commands/UpdateApprovalTeamCommand.js +2 -2
  24. package/dist-es/index.js +1 -0
  25. package/dist-es/runtimeConfig.shared.js +6 -1
  26. package/dist-es/schemas/schemas_0.js +185 -191
  27. package/dist-types/MPAClient.d.ts +1 -10
  28. package/dist-types/index.d.ts +1 -0
  29. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  30. package/dist-types/runtimeConfig.d.ts +6 -2
  31. package/dist-types/runtimeConfig.native.d.ts +6 -2
  32. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  33. package/dist-types/schemas/schemas_0.d.ts +95 -117
  34. package/dist-types/ts3.4/MPAClient.d.ts +0 -4
  35. package/dist-types/ts3.4/index.d.ts +1 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +94 -119
  41. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.mpa" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.mpa",
32
+ version: "2022-07-26",
33
+ serviceTarget: "AWSFluffyCoreService",
34
+ },
30
35
  serviceId: config?.serviceId ?? "MPA",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
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 { CancelSession } from "../schemas/schemas_0";
4
+ import { CancelSession$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CancelSessionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CancelSessionCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "CancelSession", {})
13
13
  .n("MPAClient", "CancelSessionCommand")
14
- .sc(CancelSession)
14
+ .sc(CancelSession$)
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 { CreateApprovalTeam } from "../schemas/schemas_0";
4
+ import { CreateApprovalTeam$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateApprovalTeamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateApprovalTeamCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "CreateApprovalTeam", {})
13
13
  .n("MPAClient", "CreateApprovalTeamCommand")
14
- .sc(CreateApprovalTeam)
14
+ .sc(CreateApprovalTeam$)
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("AWSFluffyCoreService", "CreateIdentitySource", {})
13
13
  .n("MPAClient", "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 { 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("AWSFluffyCoreService", "DeleteIdentitySource", {})
13
13
  .n("MPAClient", "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 { DeleteInactiveApprovalTeamVersion } from "../schemas/schemas_0";
4
+ import { DeleteInactiveApprovalTeamVersion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteInactiveApprovalTeamVersionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteInactiveApprovalTeamVersionCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "DeleteInactiveApprovalTeamVersion", {})
13
13
  .n("MPAClient", "DeleteInactiveApprovalTeamVersionCommand")
14
- .sc(DeleteInactiveApprovalTeamVersion)
14
+ .sc(DeleteInactiveApprovalTeamVersion$)
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 { GetApprovalTeam } from "../schemas/schemas_0";
4
+ import { GetApprovalTeam$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetApprovalTeamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetApprovalTeamCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "GetApprovalTeam", {})
13
13
  .n("MPAClient", "GetApprovalTeamCommand")
14
- .sc(GetApprovalTeam)
14
+ .sc(GetApprovalTeam$)
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("AWSFluffyCoreService", "GetIdentitySource", {})
13
13
  .n("MPAClient", "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 { GetPolicyVersion } from "../schemas/schemas_0";
4
+ import { GetPolicyVersion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPolicyVersionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPolicyVersionCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "GetPolicyVersion", {})
13
13
  .n("MPAClient", "GetPolicyVersionCommand")
14
- .sc(GetPolicyVersion)
14
+ .sc(GetPolicyVersion$)
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 { GetResourcePolicy } from "../schemas/schemas_0";
4
+ import { GetResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "GetResourcePolicy", {})
13
13
  .n("MPAClient", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy)
14
+ .sc(GetResourcePolicy$)
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 { GetSession } from "../schemas/schemas_0";
4
+ import { GetSession$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSessionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSessionCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "GetSession", {})
13
13
  .n("MPAClient", "GetSessionCommand")
14
- .sc(GetSession)
14
+ .sc(GetSession$)
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 { ListApprovalTeams } from "../schemas/schemas_0";
4
+ import { ListApprovalTeams$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListApprovalTeamsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListApprovalTeamsCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "ListApprovalTeams", {})
13
13
  .n("MPAClient", "ListApprovalTeamsCommand")
14
- .sc(ListApprovalTeams)
14
+ .sc(ListApprovalTeams$)
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("AWSFluffyCoreService", "ListIdentitySources", {})
13
13
  .n("MPAClient", "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("AWSFluffyCoreService", "ListPolicies", {})
13
13
  .n("MPAClient", "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 { ListPolicyVersions } from "../schemas/schemas_0";
4
+ import { ListPolicyVersions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPolicyVersionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPolicyVersionsCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "ListPolicyVersions", {})
13
13
  .n("MPAClient", "ListPolicyVersionsCommand")
14
- .sc(ListPolicyVersions)
14
+ .sc(ListPolicyVersions$)
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 { ListResourcePolicies } from "../schemas/schemas_0";
4
+ import { ListResourcePolicies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListResourcePoliciesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListResourcePoliciesCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "ListResourcePolicies", {})
13
13
  .n("MPAClient", "ListResourcePoliciesCommand")
14
- .sc(ListResourcePolicies)
14
+ .sc(ListResourcePolicies$)
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 { ListSessions } from "../schemas/schemas_0";
4
+ import { ListSessions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSessionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSessionsCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "ListSessions", {})
13
13
  .n("MPAClient", "ListSessionsCommand")
14
- .sc(ListSessions)
14
+ .sc(ListSessions$)
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("AWSFluffyCoreService", "ListTagsForResource", {})
13
13
  .n("MPAClient", "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 { StartActiveApprovalTeamDeletion } from "../schemas/schemas_0";
4
+ import { StartActiveApprovalTeamDeletion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartActiveApprovalTeamDeletionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartActiveApprovalTeamDeletionCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "StartActiveApprovalTeamDeletion", {})
13
13
  .n("MPAClient", "StartActiveApprovalTeamDeletionCommand")
14
- .sc(StartActiveApprovalTeamDeletion)
14
+ .sc(StartActiveApprovalTeamDeletion$)
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("AWSFluffyCoreService", "TagResource", {})
13
13
  .n("MPAClient", "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("AWSFluffyCoreService", "UntagResource", {})
13
13
  .n("MPAClient", "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 { UpdateApprovalTeam } from "../schemas/schemas_0";
4
+ import { UpdateApprovalTeam$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateApprovalTeamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateApprovalTeamCommand extends $Command
11
11
  })
12
12
  .s("AWSFluffyCoreService", "UpdateApprovalTeam", {})
13
13
  .n("MPAClient", "UpdateApprovalTeamCommand")
14
- .sc(UpdateApprovalTeam)
14
+ .sc(UpdateApprovalTeam$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MPAClient";
2
2
  export * from "./MPA";
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,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.mpa" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.mpa",
29
+ version: "2022-07-26",
30
+ serviceTarget: "AWSFluffyCoreService",
31
+ },
27
32
  serviceId: config?.serviceId ?? "MPA",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,