@aws-sdk/client-cognito-identity-provider 3.509.0 → 3.513.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 (103) hide show
  1. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +156 -0
  3. package/dist-cjs/index.js +142 -237
  4. package/dist-cjs/runtimeConfig.shared.js +16 -0
  5. package/dist-es/CognitoIdentityProviderClient.js +17 -3
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +150 -0
  8. package/dist-es/commands/AddCustomAttributesCommand.js +0 -2
  9. package/dist-es/commands/AdminAddUserToGroupCommand.js +0 -2
  10. package/dist-es/commands/AdminConfirmSignUpCommand.js +0 -2
  11. package/dist-es/commands/AdminCreateUserCommand.js +0 -2
  12. package/dist-es/commands/AdminDeleteUserAttributesCommand.js +0 -2
  13. package/dist-es/commands/AdminDeleteUserCommand.js +0 -2
  14. package/dist-es/commands/AdminDisableProviderForUserCommand.js +0 -2
  15. package/dist-es/commands/AdminDisableUserCommand.js +0 -2
  16. package/dist-es/commands/AdminEnableUserCommand.js +0 -2
  17. package/dist-es/commands/AdminForgetDeviceCommand.js +0 -2
  18. package/dist-es/commands/AdminGetDeviceCommand.js +0 -2
  19. package/dist-es/commands/AdminGetUserCommand.js +0 -2
  20. package/dist-es/commands/AdminInitiateAuthCommand.js +0 -2
  21. package/dist-es/commands/AdminLinkProviderForUserCommand.js +0 -2
  22. package/dist-es/commands/AdminListDevicesCommand.js +0 -2
  23. package/dist-es/commands/AdminListGroupsForUserCommand.js +0 -2
  24. package/dist-es/commands/AdminListUserAuthEventsCommand.js +0 -2
  25. package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +0 -2
  26. package/dist-es/commands/AdminResetUserPasswordCommand.js +0 -2
  27. package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +0 -2
  28. package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +0 -2
  29. package/dist-es/commands/AdminSetUserPasswordCommand.js +0 -2
  30. package/dist-es/commands/AdminSetUserSettingsCommand.js +0 -2
  31. package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +0 -2
  32. package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +0 -2
  33. package/dist-es/commands/AdminUpdateUserAttributesCommand.js +0 -2
  34. package/dist-es/commands/AdminUserGlobalSignOutCommand.js +0 -2
  35. package/dist-es/commands/CreateGroupCommand.js +0 -2
  36. package/dist-es/commands/CreateIdentityProviderCommand.js +0 -2
  37. package/dist-es/commands/CreateResourceServerCommand.js +0 -2
  38. package/dist-es/commands/CreateUserImportJobCommand.js +0 -2
  39. package/dist-es/commands/CreateUserPoolClientCommand.js +0 -2
  40. package/dist-es/commands/CreateUserPoolCommand.js +0 -2
  41. package/dist-es/commands/CreateUserPoolDomainCommand.js +0 -2
  42. package/dist-es/commands/DeleteGroupCommand.js +0 -2
  43. package/dist-es/commands/DeleteIdentityProviderCommand.js +0 -2
  44. package/dist-es/commands/DeleteResourceServerCommand.js +0 -2
  45. package/dist-es/commands/DeleteUserPoolClientCommand.js +0 -2
  46. package/dist-es/commands/DeleteUserPoolCommand.js +0 -2
  47. package/dist-es/commands/DeleteUserPoolDomainCommand.js +0 -2
  48. package/dist-es/commands/DescribeIdentityProviderCommand.js +0 -2
  49. package/dist-es/commands/DescribeResourceServerCommand.js +0 -2
  50. package/dist-es/commands/DescribeRiskConfigurationCommand.js +0 -2
  51. package/dist-es/commands/DescribeUserImportJobCommand.js +0 -2
  52. package/dist-es/commands/DescribeUserPoolClientCommand.js +0 -2
  53. package/dist-es/commands/DescribeUserPoolCommand.js +0 -2
  54. package/dist-es/commands/DescribeUserPoolDomainCommand.js +0 -2
  55. package/dist-es/commands/GetCSVHeaderCommand.js +0 -2
  56. package/dist-es/commands/GetGroupCommand.js +0 -2
  57. package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +0 -2
  58. package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +0 -2
  59. package/dist-es/commands/GetSigningCertificateCommand.js +0 -2
  60. package/dist-es/commands/GetUICustomizationCommand.js +0 -2
  61. package/dist-es/commands/GetUserPoolMfaConfigCommand.js +0 -2
  62. package/dist-es/commands/ListGroupsCommand.js +0 -2
  63. package/dist-es/commands/ListIdentityProvidersCommand.js +0 -2
  64. package/dist-es/commands/ListResourceServersCommand.js +0 -2
  65. package/dist-es/commands/ListTagsForResourceCommand.js +0 -2
  66. package/dist-es/commands/ListUserImportJobsCommand.js +0 -2
  67. package/dist-es/commands/ListUserPoolClientsCommand.js +0 -2
  68. package/dist-es/commands/ListUserPoolsCommand.js +0 -2
  69. package/dist-es/commands/ListUsersCommand.js +0 -2
  70. package/dist-es/commands/ListUsersInGroupCommand.js +0 -2
  71. package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +0 -2
  72. package/dist-es/commands/SetRiskConfigurationCommand.js +0 -2
  73. package/dist-es/commands/SetUICustomizationCommand.js +0 -2
  74. package/dist-es/commands/SetUserPoolMfaConfigCommand.js +0 -2
  75. package/dist-es/commands/StartUserImportJobCommand.js +0 -2
  76. package/dist-es/commands/StopUserImportJobCommand.js +0 -2
  77. package/dist-es/commands/TagResourceCommand.js +0 -2
  78. package/dist-es/commands/UntagResourceCommand.js +0 -2
  79. package/dist-es/commands/UpdateGroupCommand.js +0 -2
  80. package/dist-es/commands/UpdateIdentityProviderCommand.js +0 -2
  81. package/dist-es/commands/UpdateResourceServerCommand.js +0 -2
  82. package/dist-es/commands/UpdateUserPoolClientCommand.js +0 -2
  83. package/dist-es/commands/UpdateUserPoolCommand.js +0 -2
  84. package/dist-es/commands/UpdateUserPoolDomainCommand.js +0 -2
  85. package/dist-es/runtimeConfig.shared.js +16 -0
  86. package/dist-es/runtimeExtensions.js +3 -0
  87. package/dist-types/CognitoIdentityProviderClient.d.ts +13 -11
  88. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  89. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  90. package/dist-types/extensionConfiguration.d.ts +2 -1
  91. package/dist-types/runtimeConfig.browser.d.ts +13 -3
  92. package/dist-types/runtimeConfig.d.ts +12 -2
  93. package/dist-types/runtimeConfig.native.d.ts +14 -4
  94. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  95. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +11 -9
  96. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  97. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  98. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  99. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +30 -5
  100. package/dist-types/ts3.4/runtimeConfig.d.ts +29 -4
  101. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -8
  102. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  103. package/package.json +16 -16
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const core_2 = require("@smithy/core");
4
6
  const smithy_client_1 = require("@smithy/smithy-client");
5
7
  const url_parser_1 = require("@smithy/url-parser");
6
8
  const util_base64_1 = require("@smithy/util-base64");
7
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
8
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
9
12
  const getRuntimeConfig = (config) => {
10
13
  return {
@@ -14,6 +17,19 @@ const getRuntimeConfig = (config) => {
14
17
  disableHostPrefix: config?.disableHostPrefix ?? false,
15
18
  endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
16
19
  extensions: config?.extensions ?? [],
20
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultCognitoIdentityProviderHttpAuthSchemeProvider,
21
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
22
+ {
23
+ schemeId: "aws.auth#sigv4",
24
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
25
+ signer: new core_1.AwsSdkSigV4Signer(),
26
+ },
27
+ {
28
+ schemeId: "smithy.api#noAuth",
29
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
30
+ signer: new core_2.NoAuthSigner(),
31
+ },
32
+ ],
17
33
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
18
34
  serviceId: config?.serviceId ?? "Cognito Identity Provider",
19
35
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
@@ -1,13 +1,14 @@
1
1
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
- import { resolveAwsAuthConfig } from "@aws-sdk/middleware-signing";
5
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
6
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
8
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
9
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
10
  import { Client as __Client, } from "@smithy/smithy-client";
11
+ import { defaultCognitoIdentityProviderHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
11
12
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
13
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
@@ -20,8 +21,8 @@ export class CognitoIdentityProviderClient extends __Client {
20
21
  const _config_3 = resolveEndpointConfig(_config_2);
21
22
  const _config_4 = resolveRetryConfig(_config_3);
22
23
  const _config_5 = resolveHostHeaderConfig(_config_4);
23
- const _config_6 = resolveAwsAuthConfig(_config_5);
24
- const _config_7 = resolveUserAgentConfig(_config_6);
24
+ const _config_6 = resolveUserAgentConfig(_config_5);
25
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
25
26
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
26
27
  super(_config_8);
27
28
  this.config = _config_8;
@@ -31,8 +32,21 @@ export class CognitoIdentityProviderClient extends __Client {
31
32
  this.middlewareStack.use(getLoggerPlugin(this.config));
32
33
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
33
34
  this.middlewareStack.use(getUserAgentPlugin(this.config));
35
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
36
+ httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
37
+ identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
38
+ }));
39
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
34
40
  }
35
41
  destroy() {
36
42
  super.destroy();
37
43
  }
44
+ getDefaultHttpAuthSchemeParametersProvider() {
45
+ return defaultCognitoIdentityProviderHttpAuthSchemeParametersProvider;
46
+ }
47
+ getIdentityProviderConfigProvider() {
48
+ return async (config) => new DefaultIdentityProviderConfig({
49
+ "aws.auth#sigv4": config.credentials,
50
+ });
51
+ }
38
52
  }
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _credentials = runtimeConfig.credentials;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setCredentials(credentials) {
25
+ _credentials = credentials;
26
+ },
27
+ credentials() {
28
+ return _credentials;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ credentials: config.credentials(),
37
+ };
38
+ };
@@ -0,0 +1,150 @@
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ export const defaultCognitoIdentityProviderHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ region: (await normalizeProvider(config.region)()) ||
7
+ (() => {
8
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
+ })(),
10
+ };
11
+ };
12
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "aws.auth#sigv4",
15
+ signingProperties: {
16
+ name: "cognito-idp",
17
+ region: authParameters.region,
18
+ },
19
+ propertiesExtractor: (config, context) => ({
20
+ signingProperties: {
21
+ config,
22
+ context,
23
+ },
24
+ }),
25
+ };
26
+ }
27
+ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
28
+ return {
29
+ schemeId: "smithy.api#noAuth",
30
+ };
31
+ }
32
+ export const defaultCognitoIdentityProviderHttpAuthSchemeProvider = (authParameters) => {
33
+ const options = [];
34
+ switch (authParameters.operation) {
35
+ case "AssociateSoftwareToken": {
36
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
37
+ break;
38
+ }
39
+ case "ChangePassword": {
40
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
41
+ break;
42
+ }
43
+ case "ConfirmDevice": {
44
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
45
+ break;
46
+ }
47
+ case "ConfirmForgotPassword": {
48
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
49
+ break;
50
+ }
51
+ case "ConfirmSignUp": {
52
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
53
+ break;
54
+ }
55
+ case "DeleteUser": {
56
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
57
+ break;
58
+ }
59
+ case "DeleteUserAttributes": {
60
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
61
+ break;
62
+ }
63
+ case "ForgetDevice": {
64
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
65
+ break;
66
+ }
67
+ case "ForgotPassword": {
68
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
69
+ break;
70
+ }
71
+ case "GetDevice": {
72
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
73
+ break;
74
+ }
75
+ case "GetUser": {
76
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
77
+ break;
78
+ }
79
+ case "GetUserAttributeVerificationCode": {
80
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
81
+ break;
82
+ }
83
+ case "GlobalSignOut": {
84
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
85
+ break;
86
+ }
87
+ case "InitiateAuth": {
88
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
89
+ break;
90
+ }
91
+ case "ListDevices": {
92
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
93
+ break;
94
+ }
95
+ case "ResendConfirmationCode": {
96
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
97
+ break;
98
+ }
99
+ case "RespondToAuthChallenge": {
100
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
101
+ break;
102
+ }
103
+ case "RevokeToken": {
104
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
105
+ break;
106
+ }
107
+ case "SetUserMFAPreference": {
108
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
109
+ break;
110
+ }
111
+ case "SetUserSettings": {
112
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
113
+ break;
114
+ }
115
+ case "SignUp": {
116
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
117
+ break;
118
+ }
119
+ case "UpdateAuthEventFeedback": {
120
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
121
+ break;
122
+ }
123
+ case "UpdateDeviceStatus": {
124
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
125
+ break;
126
+ }
127
+ case "UpdateUserAttributes": {
128
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
129
+ break;
130
+ }
131
+ case "VerifySoftwareToken": {
132
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
133
+ break;
134
+ }
135
+ case "VerifyUserAttribute": {
136
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
137
+ break;
138
+ }
139
+ default: {
140
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
141
+ }
142
+ }
143
+ return options;
144
+ };
145
+ export const resolveHttpAuthSchemeConfig = (config) => {
146
+ const config_0 = resolveAwsSdkSigV4Config(config);
147
+ return {
148
+ ...config_0,
149
+ };
150
+ };
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,7 +13,6 @@ export class AddCustomAttributesCommand extends $Command
14
13
  return [
15
14
  getSerdePlugin(config, this.serialize, this.deserialize),
16
15
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- getAwsAuthPlugin(config),
18
16
  ];
19
17
  })
20
18
  .s("AWSCognitoIdentityProviderService", "AddCustomAttributes", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminAddUserToGroupCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminAddUserToGroup", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminConfirmSignUpCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminConfirmSignUp", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminCreateUserCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminCreateUser", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminDeleteUserAttributesCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminDeleteUserAttributes", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminDeleteUserCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminDeleteUser", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,7 +13,6 @@ export class AdminDisableProviderForUserCommand extends $Command
14
13
  return [
15
14
  getSerdePlugin(config, this.serialize, this.deserialize),
16
15
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- getAwsAuthPlugin(config),
18
16
  ];
19
17
  })
20
18
  .s("AWSCognitoIdentityProviderService", "AdminDisableProviderForUser", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminDisableUserCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminDisableUser", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminEnableUserCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminEnableUser", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminForgetDeviceCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminForgetDevice", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminGetDeviceCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminGetDevice", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminGetUserCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminGetUser", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminInitiateAuthCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminInitiateAuth", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,7 +13,6 @@ export class AdminLinkProviderForUserCommand extends $Command
14
13
  return [
15
14
  getSerdePlugin(config, this.serialize, this.deserialize),
16
15
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- getAwsAuthPlugin(config),
18
16
  ];
19
17
  })
20
18
  .s("AWSCognitoIdentityProviderService", "AdminLinkProviderForUser", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminListDevicesCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminListDevices", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminListGroupsForUserCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminListGroupsForUser", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminListUserAuthEventsCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminListUserAuthEvents", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminRemoveUserFromGroupCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminRemoveUserFromGroup", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminResetUserPasswordCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminResetUserPassword", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminRespondToAuthChallengeCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminRespondToAuthChallenge", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminSetUserMFAPreferenceCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminSetUserMFAPreference", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminSetUserPasswordCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminSetUserPassword", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminSetUserSettingsCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminSetUserSettings", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminUpdateAuthEventFeedbackCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminUpdateAuthEventFeedback", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminUpdateDeviceStatusCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminUpdateDeviceStatus", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminUpdateUserAttributesCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminUpdateUserAttributes", {})
@@ -1,4 +1,3 @@
1
- import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,7 +14,6 @@ export class AdminUserGlobalSignOutCommand extends $Command
15
14
  return [
16
15
  getSerdePlugin(config, this.serialize, this.deserialize),
17
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- getAwsAuthPlugin(config),
19
17
  ];
20
18
  })
21
19
  .s("AWSCognitoIdentityProviderService", "AdminUserGlobalSignOut", {})