@aws-sdk/client-cognito-identity 3.1087.0 → 3.1089.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 (42) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/CognitoIdentity.d.ts +72 -89
  3. package/dist-types/ts3.4/CognitoIdentityClient.d.ts +7 -20
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +4 -7
  8. package/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +4 -9
  9. package/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +3 -4
  10. package/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +3 -5
  11. package/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +4 -7
  12. package/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +4 -6
  13. package/dist-types/ts3.4/commands/GetIdCommand.d.ts +6 -2
  14. package/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +5 -10
  15. package/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +4 -9
  16. package/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +4 -6
  17. package/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +4 -6
  18. package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +4 -9
  19. package/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +4 -8
  20. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  21. package/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +5 -10
  22. package/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +4 -6
  23. package/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +3 -4
  24. package/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +4 -6
  25. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  26. package/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +4 -6
  27. package/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +2 -2
  28. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -5
  29. package/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +3 -5
  30. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  31. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  32. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  33. package/dist-types/ts3.4/models/enums.d.ts +2 -4
  34. package/dist-types/ts3.4/models/errors.d.ts +11 -38
  35. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -33
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +13 -27
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -33
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -12
  40. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  42. package/package.json +40 -40
@@ -3,86 +3,59 @@ import { CognitoIdentityServiceException as __BaseException } from "./CognitoIde
3
3
  export declare class InternalErrorException extends __BaseException {
4
4
  readonly name: "InternalErrorException";
5
5
  readonly $fault: "server";
6
- constructor(
7
- opts: __ExceptionOptionType<InternalErrorException, __BaseException>
8
- );
6
+ constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
9
7
  }
10
8
  export declare class InvalidParameterException extends __BaseException {
11
9
  readonly name: "InvalidParameterException";
12
10
  readonly $fault: "client";
13
- constructor(
14
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
15
- );
11
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
16
12
  }
17
13
  export declare class LimitExceededException extends __BaseException {
18
14
  readonly name: "LimitExceededException";
19
15
  readonly $fault: "client";
20
- constructor(
21
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
22
- );
16
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
23
17
  }
24
18
  export declare class NotAuthorizedException extends __BaseException {
25
19
  readonly name: "NotAuthorizedException";
26
20
  readonly $fault: "client";
27
- constructor(
28
- opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
29
- );
21
+ constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
30
22
  }
31
23
  export declare class ResourceConflictException extends __BaseException {
32
24
  readonly name: "ResourceConflictException";
33
25
  readonly $fault: "client";
34
- constructor(
35
- opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
36
- );
26
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
37
27
  }
38
28
  export declare class TooManyRequestsException extends __BaseException {
39
29
  readonly name: "TooManyRequestsException";
40
30
  readonly $fault: "client";
41
- constructor(
42
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
43
- );
31
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
44
32
  }
45
33
  export declare class ResourceNotFoundException extends __BaseException {
46
34
  readonly name: "ResourceNotFoundException";
47
35
  readonly $fault: "client";
48
- constructor(
49
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
50
- );
36
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
51
37
  }
52
38
  export declare class ExternalServiceException extends __BaseException {
53
39
  readonly name: "ExternalServiceException";
54
40
  readonly $fault: "client";
55
- constructor(
56
- opts: __ExceptionOptionType<ExternalServiceException, __BaseException>
57
- );
41
+ constructor(opts: __ExceptionOptionType<ExternalServiceException, __BaseException>);
58
42
  }
59
43
  export declare class InvalidIdentityPoolConfigurationException extends __BaseException {
60
44
  readonly name: "InvalidIdentityPoolConfigurationException";
61
45
  readonly $fault: "client";
62
46
  constructor(
63
- opts: __ExceptionOptionType<
64
- InvalidIdentityPoolConfigurationException,
65
- __BaseException
66
- >
47
+ opts: __ExceptionOptionType<InvalidIdentityPoolConfigurationException, __BaseException>,
67
48
  );
68
49
  }
69
50
  export declare class DeveloperUserAlreadyRegisteredException extends __BaseException {
70
51
  readonly name: "DeveloperUserAlreadyRegisteredException";
71
52
  readonly $fault: "client";
72
53
  constructor(
73
- opts: __ExceptionOptionType<
74
- DeveloperUserAlreadyRegisteredException,
75
- __BaseException
76
- >
54
+ opts: __ExceptionOptionType<DeveloperUserAlreadyRegisteredException, __BaseException>,
77
55
  );
78
56
  }
79
57
  export declare class ConcurrentModificationException extends __BaseException {
80
58
  readonly name: "ConcurrentModificationException";
81
59
  readonly $fault: "client";
82
- constructor(
83
- opts: __ExceptionOptionType<
84
- ConcurrentModificationException,
85
- __BaseException
86
- >
87
- );
60
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
88
61
  }
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { CognitoIdentityClient } from "../CognitoIdentityClient";
3
- export interface CognitoIdentityPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface CognitoIdentityPaginationConfiguration extends PaginationConfiguration {
5
4
  client: CognitoIdentityClient;
6
5
  }
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
3
- export declare const getRuntimeConfig: (
4
- config: CognitoIdentityClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
10
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider:
12
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
- | ((
14
- _: unknown
15
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
12
  defaultUserAgentProvider: (
17
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
18
14
  ) => Promise<import("@smithy/types").UserAgent>;
19
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
16
  region: string | import("@smithy/types").Provider<any>;
21
- requestHandler:
22
- | import("@smithy/core/protocols").HttpHandler<any>
23
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
24
18
  retryMode: string | import("@smithy/types").Provider<string>;
25
19
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
21
  ) => Promise<Uint8Array>;
32
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
55
45
  logger: import("@smithy/types").Logger;
56
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- userAgentAppId?:
59
- | string
60
- | undefined
61
- | import("@smithy/types").Provider<string | undefined>;
62
- retryStrategy?:
63
- | import("@smithy/types").RetryStrategy
64
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
65
50
  endpoint?:
66
51
  | ((
67
52
  | string
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
83
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
84
69
  context?: {
85
70
  logger?: import("@smithy/types").Logger;
86
- }
71
+ },
87
72
  ) => import("@smithy/types").EndpointV2;
88
73
  tls?: boolean;
89
74
  serviceConfiguredEndpoint?: never;
@@ -94,22 +79,18 @@ export declare const getRuntimeConfig: (
94
79
  | {
95
80
  schemeId: string;
96
81
  identityProvider: (
97
- ipc: import("@smithy/types").IdentityProviderConfig
82
+ ipc: import("@smithy/types").IdentityProviderConfig,
98
83
  ) =>
99
- | import("@smithy/types").IdentityProvider<
100
- import("@smithy/types").Identity
101
- >
84
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
102
85
  | undefined;
103
86
  signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
104
87
  }
105
88
  | {
106
89
  schemeId: string;
107
90
  identityProvider: (
108
- ipc: import("@smithy/types").IdentityProviderConfig
91
+ ipc: import("@smithy/types").IdentityProviderConfig,
109
92
  ) =>
110
- | import("@smithy/types").IdentityProvider<
111
- import("@smithy/types").Identity
112
- >
93
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
113
94
  | (() => Promise<{}>);
114
95
  signer: import("@smithy/core").NoAuthSigner;
115
96
  }
@@ -121,13 +102,13 @@ export declare const getRuntimeConfig: (
121
102
  signer?:
122
103
  | import("@smithy/types").RequestSigner
123
104
  | ((
124
- authScheme?: import("@smithy/types").AuthScheme
105
+ authScheme?: import("@smithy/types").AuthScheme,
125
106
  ) => Promise<import("@smithy/types").RequestSigner>);
126
107
  signingEscapePath?: boolean;
127
108
  systemClockOffset?: number;
128
109
  signingRegion?: string;
129
110
  signerConstructor?: new (
130
111
  options: import("@smithy/signature-v4").SignatureV4Init &
131
- import("@smithy/signature-v4").SignatureV4CryptoInit
112
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
132
113
  ) => import("@smithy/types").RequestSigner;
133
114
  };
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
3
- export declare const getRuntimeConfig: (
4
- config: CognitoIdentityClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
12
10
  credentialDefaultProvider:
13
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
12
  | ((
15
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
16
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
15
  defaultUserAgentProvider: (
18
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
19
17
  ) => Promise<import("@smithy/types").UserAgent>;
20
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
19
  region: string | import("@smithy/types").Provider<string>;
22
- requestHandler:
23
- | RequestHandler
24
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
25
21
  retryMode: string | import("@smithy/types").Provider<string>;
26
22
  streamCollector: (
27
- stream:
28
- | import("stream").Readable
29
- | import("stream/web").ReadableStream
30
- | ReadableStream
31
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
32
24
  ) => Promise<Uint8Array>;
33
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
34
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
55
47
  logger: import("@smithy/types").Logger;
56
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- retryStrategy?:
59
- | import("@smithy/types").RetryStrategy
60
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
61
51
  endpoint?:
62
52
  | ((
63
53
  | string
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
79
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
80
70
  context?: {
81
71
  logger?: import("@smithy/types").Logger;
82
- }
72
+ },
83
73
  ) => import("@smithy/types").EndpointV2;
84
74
  tls?: boolean;
85
75
  serviceConfiguredEndpoint?: never;
@@ -89,22 +79,18 @@ export declare const getRuntimeConfig: (
89
79
  | {
90
80
  schemeId: string;
91
81
  identityProvider: (
92
- ipc: import("@smithy/types").IdentityProviderConfig
82
+ ipc: import("@smithy/types").IdentityProviderConfig,
93
83
  ) =>
94
- | import("@smithy/types").IdentityProvider<
95
- import("@smithy/types").Identity
96
- >
84
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
97
85
  | undefined;
98
86
  signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
99
87
  }
100
88
  | {
101
89
  schemeId: string;
102
90
  identityProvider: (
103
- ipc: import("@smithy/types").IdentityProviderConfig
91
+ ipc: import("@smithy/types").IdentityProviderConfig,
104
92
  ) =>
105
- | import("@smithy/types").IdentityProvider<
106
- import("@smithy/types").Identity
107
- >
93
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
108
94
  | (() => Promise<{}>);
109
95
  signer: import("@smithy/core").NoAuthSigner;
110
96
  }
@@ -116,13 +102,13 @@ export declare const getRuntimeConfig: (
116
102
  signer?:
117
103
  | import("@smithy/types").RequestSigner
118
104
  | ((
119
- authScheme?: import("@smithy/types").AuthScheme
105
+ authScheme?: import("@smithy/types").AuthScheme,
120
106
  ) => Promise<import("@smithy/types").RequestSigner>);
121
107
  signingEscapePath?: boolean;
122
108
  systemClockOffset?: number;
123
109
  signingRegion?: string;
124
110
  signerConstructor?: new (
125
111
  options: import("@smithy/signature-v4").SignatureV4Init &
126
- import("@smithy/signature-v4").SignatureV4CryptoInit
112
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
127
113
  ) => import("@smithy/types").RequestSigner;
128
114
  };
@@ -1,7 +1,5 @@
1
1
  import { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
2
- export declare const getRuntimeConfig: (
3
- config: CognitoIdentityClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
55
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
56
48
  defaultsMode:
57
49
  | import("@smithy/core/client").DefaultsMode
58
- | import("@smithy/types").Provider<
59
- import("@smithy/core/client").DefaultsMode
60
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
61
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
62
- userAgentAppId?:
63
- | string
64
- | undefined
65
- | import("@smithy/types").Provider<string | undefined>;
66
- retryStrategy?:
67
- | import("@smithy/types").RetryStrategy
68
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
69
54
  endpoint?:
70
55
  | ((
71
56
  | string
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
87
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
88
73
  context?: {
89
74
  logger?: import("@smithy/types").Logger;
90
- }
75
+ },
91
76
  ) => import("@smithy/types").EndpointV2;
92
77
  tls?: boolean;
93
78
  serviceConfiguredEndpoint?: never;
@@ -98,22 +83,18 @@ export declare const getRuntimeConfig: (
98
83
  | {
99
84
  schemeId: string;
100
85
  identityProvider: (
101
- ipc: import("@smithy/types").IdentityProviderConfig
86
+ ipc: import("@smithy/types").IdentityProviderConfig,
102
87
  ) =>
103
- | import("@smithy/types").IdentityProvider<
104
- import("@smithy/types").Identity
105
- >
88
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
106
89
  | undefined;
107
90
  signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
108
91
  }
109
92
  | {
110
93
  schemeId: string;
111
94
  identityProvider: (
112
- ipc: import("@smithy/types").IdentityProviderConfig
95
+ ipc: import("@smithy/types").IdentityProviderConfig,
113
96
  ) =>
114
- | import("@smithy/types").IdentityProvider<
115
- import("@smithy/types").Identity
116
- >
97
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
117
98
  | (() => Promise<{}>);
118
99
  signer: import("@smithy/core").NoAuthSigner;
119
100
  }
@@ -125,13 +106,13 @@ export declare const getRuntimeConfig: (
125
106
  signer?:
126
107
  | import("@smithy/types").RequestSigner
127
108
  | ((
128
- authScheme?: import("@smithy/types").AuthScheme
109
+ authScheme?: import("@smithy/types").AuthScheme,
129
110
  ) => Promise<import("@smithy/types").RequestSigner>);
130
111
  signingEscapePath?: boolean;
131
112
  systemClockOffset?: number;
132
113
  signingRegion?: string;
133
114
  signerConstructor?: new (
134
115
  options: import("@smithy/signature-v4").SignatureV4Init &
135
- import("@smithy/signature-v4").SignatureV4CryptoInit
116
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
136
117
  ) => import("@smithy/types").RequestSigner;
137
118
  };
@@ -3,9 +3,7 @@ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
3
3
  import { NoAuthSigner } from "@smithy/core";
4
4
  import { IdentityProviderConfig } from "@smithy/types";
5
5
  import { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
6
- export declare const getRuntimeConfig: (
7
- config: CognitoIdentityClientConfig
8
- ) => {
6
+ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
9
7
  apiVersion: string;
10
8
  base64Decoder: import("@smithy/types").Decoder;
11
9
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -14,7 +12,7 @@ export declare const getRuntimeConfig: (
14
12
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
15
13
  context?: {
16
14
  logger?: import("@smithy/types").Logger;
17
- }
15
+ },
18
16
  ) => import("@smithy/types").EndpointV2;
19
17
  extensions: import("./runtimeExtensions").RuntimeExtension[];
20
18
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider;
@@ -24,22 +22,18 @@ export declare const getRuntimeConfig: (
24
22
  | {
25
23
  schemeId: string;
26
24
  identityProvider: (
27
- ipc: IdentityProviderConfig
25
+ ipc: IdentityProviderConfig,
28
26
  ) =>
29
- | import("@smithy/types").IdentityProvider<
30
- import("@smithy/types").Identity
31
- >
27
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
32
28
  | undefined;
33
29
  signer: AwsSdkSigV4Signer;
34
30
  }
35
31
  | {
36
32
  schemeId: string;
37
33
  identityProvider: (
38
- ipc: IdentityProviderConfig
34
+ ipc: IdentityProviderConfig,
39
35
  ) =>
40
- | import("@smithy/types").IdentityProvider<
41
- import("@smithy/types").Identity
42
- >
36
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
43
37
  | (() => Promise<{}>);
44
38
  signer: NoAuthSigner;
45
39
  }
@@ -1,13 +1,11 @@
1
1
  import { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: CognitoIdentityExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: CognitoIdentityExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var CognitoIdentityServiceException$: StaticErrorSchema;
8
4
  export declare var ConcurrentModificationException$: StaticErrorSchema;
9
5
  export declare var DeveloperUserAlreadyRegisteredException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity",
3
+ "version": "3.1089.0",
3
4
  "description": "AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-cognito-identity"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -20,23 +51,19 @@
20
51
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
21
52
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
22
53
  },
23
- "main": "./dist-cjs/index.js",
24
- "types": "./dist-types/index.d.ts",
25
- "module": "./dist-es/index.js",
26
- "sideEffects": false,
27
54
  "dependencies": {
28
- "@aws-sdk/core": "^3.975.2",
29
- "@aws-sdk/credential-provider-node": "^3.972.68",
30
- "@aws-sdk/types": "^3.974.1",
31
- "@smithy/core": "^3.29.3",
32
- "@smithy/fetch-http-handler": "^5.6.5",
33
- "@smithy/node-http-handler": "^4.9.5",
55
+ "@aws-sdk/core": "^3.975.3",
56
+ "@aws-sdk/credential-provider-node": "^3.972.70",
57
+ "@aws-sdk/types": "^3.974.2",
58
+ "@smithy/core": "^3.29.4",
59
+ "@smithy/fetch-http-handler": "^5.6.6",
60
+ "@smithy/node-http-handler": "^4.9.6",
34
61
  "@smithy/types": "^4.16.1",
35
62
  "tslib": "^2.6.2"
36
63
  },
37
64
  "devDependencies": {
38
- "@aws-sdk/client-iam": "3.1087.0",
39
- "@smithy/snapshot-testing": "^2.2.8",
65
+ "@aws-sdk/client-iam": "3.1089.0",
66
+ "@smithy/snapshot-testing": "^2.2.9",
40
67
  "@tsconfig/node20": "20.1.8",
41
68
  "@types/chai": "^4.2.11",
42
69
  "@types/node": "^20.14.8",
@@ -48,32 +75,5 @@
48
75
  },
49
76
  "engines": {
50
77
  "node": ">=20.0.0"
51
- },
52
- "typesVersions": {
53
- "<4.5": {
54
- "dist-types/*": [
55
- "dist-types/ts3.4/*"
56
- ]
57
- }
58
- },
59
- "files": [
60
- "dist-*/**"
61
- ],
62
- "author": {
63
- "name": "AWS SDK for JavaScript Team",
64
- "url": "https://aws.amazon.com/sdk-for-javascript/"
65
- },
66
- "license": "Apache-2.0",
67
- "browser": {
68
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
69
- },
70
- "react-native": {
71
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
72
- },
73
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity",
74
- "repository": {
75
- "type": "git",
76
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
77
- "directory": "clients/client-cognito-identity"
78
78
  }
79
79
  }