@aws-sdk/client-cognito-sync 3.1019.0 → 3.1021.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.
@@ -1,6 +1,6 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { CognitoSyncClient } from "./CognitoSyncClient";
3
- import { BulkPublishCommand } from "./commands/BulkPublishCommand";
3
+ import { BulkPublishCommand, } from "./commands/BulkPublishCommand";
4
4
  import { DeleteDatasetCommand, } from "./commands/DeleteDatasetCommand";
5
5
  import { DescribeDatasetCommand, } from "./commands/DescribeDatasetCommand";
6
6
  import { DescribeIdentityPoolUsageCommand, } from "./commands/DescribeIdentityPoolUsageCommand";
@@ -10,7 +10,7 @@ import { GetCognitoEventsCommand, } from "./commands/GetCognitoEventsCommand";
10
10
  import { GetIdentityPoolConfigurationCommand, } from "./commands/GetIdentityPoolConfigurationCommand";
11
11
  import { ListDatasetsCommand, } from "./commands/ListDatasetsCommand";
12
12
  import { ListIdentityPoolUsageCommand, } from "./commands/ListIdentityPoolUsageCommand";
13
- import { ListRecordsCommand } from "./commands/ListRecordsCommand";
13
+ import { ListRecordsCommand, } from "./commands/ListRecordsCommand";
14
14
  import { RegisterDeviceCommand, } from "./commands/RegisterDeviceCommand";
15
15
  import { SetCognitoEventsCommand, } from "./commands/SetCognitoEventsCommand";
16
16
  import { SetIdentityPoolConfigurationCommand, } from "./commands/SetIdentityPoolConfigurationCommand";
@@ -1,22 +1,22 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CognitoSyncClient } from "./CognitoSyncClient";
3
- import { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
4
- import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
5
- import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
6
- import { DescribeIdentityPoolUsageCommandInput, DescribeIdentityPoolUsageCommandOutput } from "./commands/DescribeIdentityPoolUsageCommand";
7
- import { DescribeIdentityUsageCommandInput, DescribeIdentityUsageCommandOutput } from "./commands/DescribeIdentityUsageCommand";
8
- import { GetBulkPublishDetailsCommandInput, GetBulkPublishDetailsCommandOutput } from "./commands/GetBulkPublishDetailsCommand";
9
- import { GetCognitoEventsCommandInput, GetCognitoEventsCommandOutput } from "./commands/GetCognitoEventsCommand";
10
- import { GetIdentityPoolConfigurationCommandInput, GetIdentityPoolConfigurationCommandOutput } from "./commands/GetIdentityPoolConfigurationCommand";
11
- import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
12
- import { ListIdentityPoolUsageCommandInput, ListIdentityPoolUsageCommandOutput } from "./commands/ListIdentityPoolUsageCommand";
13
- import { ListRecordsCommandInput, ListRecordsCommandOutput } from "./commands/ListRecordsCommand";
14
- import { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "./commands/RegisterDeviceCommand";
15
- import { SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput } from "./commands/SetCognitoEventsCommand";
16
- import { SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput } from "./commands/SetIdentityPoolConfigurationCommand";
17
- import { SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput } from "./commands/SubscribeToDatasetCommand";
18
- import { UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput } from "./commands/UnsubscribeFromDatasetCommand";
19
- import { UpdateRecordsCommandInput, UpdateRecordsCommandOutput } from "./commands/UpdateRecordsCommand";
3
+ import { type BulkPublishCommandInput, type BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
4
+ import { type DeleteDatasetCommandInput, type DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
5
+ import { type DescribeDatasetCommandInput, type DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
6
+ import { type DescribeIdentityPoolUsageCommandInput, type DescribeIdentityPoolUsageCommandOutput } from "./commands/DescribeIdentityPoolUsageCommand";
7
+ import { type DescribeIdentityUsageCommandInput, type DescribeIdentityUsageCommandOutput } from "./commands/DescribeIdentityUsageCommand";
8
+ import { type GetBulkPublishDetailsCommandInput, type GetBulkPublishDetailsCommandOutput } from "./commands/GetBulkPublishDetailsCommand";
9
+ import { type GetCognitoEventsCommandInput, type GetCognitoEventsCommandOutput } from "./commands/GetCognitoEventsCommand";
10
+ import { type GetIdentityPoolConfigurationCommandInput, type GetIdentityPoolConfigurationCommandOutput } from "./commands/GetIdentityPoolConfigurationCommand";
11
+ import { type ListDatasetsCommandInput, type ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
12
+ import { type ListIdentityPoolUsageCommandInput, type ListIdentityPoolUsageCommandOutput } from "./commands/ListIdentityPoolUsageCommand";
13
+ import { type ListRecordsCommandInput, type ListRecordsCommandOutput } from "./commands/ListRecordsCommand";
14
+ import { type RegisterDeviceCommandInput, type RegisterDeviceCommandOutput } from "./commands/RegisterDeviceCommand";
15
+ import { type SetCognitoEventsCommandInput, type SetCognitoEventsCommandOutput } from "./commands/SetCognitoEventsCommand";
16
+ import { type SetIdentityPoolConfigurationCommandInput, type SetIdentityPoolConfigurationCommandOutput } from "./commands/SetIdentityPoolConfigurationCommand";
17
+ import { type SubscribeToDatasetCommandInput, type SubscribeToDatasetCommandOutput } from "./commands/SubscribeToDatasetCommand";
18
+ import { type UnsubscribeFromDatasetCommandInput, type UnsubscribeFromDatasetCommandOutput } from "./commands/UnsubscribeFromDatasetCommand";
19
+ import { type UpdateRecordsCommandInput, type UpdateRecordsCommandOutput } from "./commands/UpdateRecordsCommand";
20
20
  export interface CognitoSync {
21
21
  /**
22
22
  * @see {@link BulkPublishCommand}
@@ -5,26 +5,26 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
- import { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
11
- import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
12
- import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
13
- import { DescribeIdentityPoolUsageCommandInput, DescribeIdentityPoolUsageCommandOutput } from "./commands/DescribeIdentityPoolUsageCommand";
14
- import { DescribeIdentityUsageCommandInput, DescribeIdentityUsageCommandOutput } from "./commands/DescribeIdentityUsageCommand";
15
- import { GetBulkPublishDetailsCommandInput, GetBulkPublishDetailsCommandOutput } from "./commands/GetBulkPublishDetailsCommand";
16
- import { GetCognitoEventsCommandInput, GetCognitoEventsCommandOutput } from "./commands/GetCognitoEventsCommand";
17
- import { GetIdentityPoolConfigurationCommandInput, GetIdentityPoolConfigurationCommandOutput } from "./commands/GetIdentityPoolConfigurationCommand";
18
- import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
19
- import { ListIdentityPoolUsageCommandInput, ListIdentityPoolUsageCommandOutput } from "./commands/ListIdentityPoolUsageCommand";
20
- import { ListRecordsCommandInput, ListRecordsCommandOutput } from "./commands/ListRecordsCommand";
21
- import { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "./commands/RegisterDeviceCommand";
22
- import { SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput } from "./commands/SetCognitoEventsCommand";
23
- import { SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput } from "./commands/SetIdentityPoolConfigurationCommand";
24
- import { SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput } from "./commands/SubscribeToDatasetCommand";
25
- import { UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput } from "./commands/UnsubscribeFromDatasetCommand";
26
- import { UpdateRecordsCommandInput, UpdateRecordsCommandOutput } from "./commands/UpdateRecordsCommand";
27
- import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
10
+ import type { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
11
+ import type { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
12
+ import type { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
13
+ import type { DescribeIdentityPoolUsageCommandInput, DescribeIdentityPoolUsageCommandOutput } from "./commands/DescribeIdentityPoolUsageCommand";
14
+ import type { DescribeIdentityUsageCommandInput, DescribeIdentityUsageCommandOutput } from "./commands/DescribeIdentityUsageCommand";
15
+ import type { GetBulkPublishDetailsCommandInput, GetBulkPublishDetailsCommandOutput } from "./commands/GetBulkPublishDetailsCommand";
16
+ import type { GetCognitoEventsCommandInput, GetCognitoEventsCommandOutput } from "./commands/GetCognitoEventsCommand";
17
+ import type { GetIdentityPoolConfigurationCommandInput, GetIdentityPoolConfigurationCommandOutput } from "./commands/GetIdentityPoolConfigurationCommand";
18
+ import type { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
19
+ import type { ListIdentityPoolUsageCommandInput, ListIdentityPoolUsageCommandOutput } from "./commands/ListIdentityPoolUsageCommand";
20
+ import type { ListRecordsCommandInput, ListRecordsCommandOutput } from "./commands/ListRecordsCommand";
21
+ import type { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "./commands/RegisterDeviceCommand";
22
+ import type { SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput } from "./commands/SetCognitoEventsCommand";
23
+ import type { SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput } from "./commands/SetIdentityPoolConfigurationCommand";
24
+ import type { SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput } from "./commands/SubscribeToDatasetCommand";
25
+ import type { UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput } from "./commands/UnsubscribeFromDatasetCommand";
26
+ import type { UpdateRecordsCommandInput, UpdateRecordsCommandOutput } from "./commands/UpdateRecordsCommand";
27
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
28
28
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
29
29
  export { __Client };
30
30
  /**
@@ -133,7 +133,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
133
133
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
134
134
  * @internal
135
135
  */
136
- defaultUserAgentProvider?: Provider<__UserAgent>;
136
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
137
137
  /**
138
138
  * Default credentials provider; Not available in browser runtime.
139
139
  * @deprecated
@@ -1,4 +1,4 @@
1
- import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
2
  import type { CognitoSyncHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
@@ -17,7 +17,7 @@
17
17
  */
18
18
  export * from "./CognitoSyncClient";
19
19
  export * from "./CognitoSync";
20
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
20
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
21
21
  export type { RuntimeExtension } from "./runtimeExtensions";
22
22
  export type { CognitoSyncExtensionConfiguration } from "./extensionConfiguration";
23
23
  export * from "./commands";
@@ -1,4 +1,4 @@
1
- import { BulkPublishStatus, Operation, Platform, StreamingStatus } from "./enums";
1
+ import type { BulkPublishStatus, Operation, Platform, StreamingStatus } from "./enums";
2
2
  /**
3
3
  * The input for the BulkPublish operation.
4
4
  * @public
@@ -26,6 +26,7 @@ import {
26
26
  Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
+ AwsCredentialIdentityProvider,
29
30
  BodyLengthCalculator as __BodyLengthCalculator,
30
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
32
  ChecksumConstructor as __ChecksumConstructor,
@@ -37,8 +38,6 @@ import {
37
38
  Provider as __Provider,
38
39
  StreamCollector as __StreamCollector,
39
40
  UrlParser as __UrlParser,
40
- AwsCredentialIdentityProvider,
41
- Provider,
42
41
  UserAgent as __UserAgent,
43
42
  } from "@smithy/types";
44
43
  import {
@@ -174,7 +173,7 @@ export interface ClientDefaults
174
173
  useFipsEndpoint?: boolean | __Provider<boolean>;
175
174
  region?: string | __Provider<string>;
176
175
  profile?: string;
177
- defaultUserAgentProvider?: Provider<__UserAgent>;
176
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
178
177
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
179
178
  maxAttempts?: number | __Provider<number>;
180
179
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { CognitoSyncHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-sync",
3
3
  "description": "AWS SDK for JavaScript Cognito Sync Client for Node.js, Browser and React Native",
4
- "version": "3.1019.0",
4
+ "version": "3.1021.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cognito-sync",
@@ -25,41 +25,41 @@
25
25
  "dependencies": {
26
26
  "@aws-crypto/sha256-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.973.25",
29
- "@aws-sdk/credential-provider-node": "^3.972.27",
28
+ "@aws-sdk/core": "^3.973.26",
29
+ "@aws-sdk/credential-provider-node": "^3.972.29",
30
30
  "@aws-sdk/middleware-host-header": "^3.972.8",
31
31
  "@aws-sdk/middleware-logger": "^3.972.8",
32
32
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
33
- "@aws-sdk/middleware-user-agent": "^3.972.26",
33
+ "@aws-sdk/middleware-user-agent": "^3.972.28",
34
34
  "@aws-sdk/region-config-resolver": "^3.972.10",
35
35
  "@aws-sdk/types": "^3.973.6",
36
36
  "@aws-sdk/util-endpoints": "^3.996.5",
37
37
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
38
- "@aws-sdk/util-user-agent-node": "^3.973.12",
38
+ "@aws-sdk/util-user-agent-node": "^3.973.14",
39
39
  "@smithy/config-resolver": "^4.4.13",
40
- "@smithy/core": "^3.23.12",
40
+ "@smithy/core": "^3.23.13",
41
41
  "@smithy/fetch-http-handler": "^5.3.15",
42
42
  "@smithy/hash-node": "^4.2.12",
43
43
  "@smithy/invalid-dependency": "^4.2.12",
44
44
  "@smithy/middleware-content-length": "^4.2.12",
45
- "@smithy/middleware-endpoint": "^4.4.27",
46
- "@smithy/middleware-retry": "^4.4.44",
47
- "@smithy/middleware-serde": "^4.2.15",
45
+ "@smithy/middleware-endpoint": "^4.4.28",
46
+ "@smithy/middleware-retry": "^4.4.46",
47
+ "@smithy/middleware-serde": "^4.2.16",
48
48
  "@smithy/middleware-stack": "^4.2.12",
49
49
  "@smithy/node-config-provider": "^4.3.12",
50
- "@smithy/node-http-handler": "^4.5.0",
50
+ "@smithy/node-http-handler": "^4.5.1",
51
51
  "@smithy/protocol-http": "^5.3.12",
52
- "@smithy/smithy-client": "^4.12.7",
52
+ "@smithy/smithy-client": "^4.12.8",
53
53
  "@smithy/types": "^4.13.1",
54
54
  "@smithy/url-parser": "^4.2.12",
55
55
  "@smithy/util-base64": "^4.3.2",
56
56
  "@smithy/util-body-length-browser": "^4.2.2",
57
57
  "@smithy/util-body-length-node": "^4.2.3",
58
- "@smithy/util-defaults-mode-browser": "^4.3.43",
59
- "@smithy/util-defaults-mode-node": "^4.2.47",
58
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
59
+ "@smithy/util-defaults-mode-node": "^4.2.48",
60
60
  "@smithy/util-endpoints": "^3.3.3",
61
61
  "@smithy/util-middleware": "^4.2.12",
62
- "@smithy/util-retry": "^4.2.12",
62
+ "@smithy/util-retry": "^4.2.13",
63
63
  "@smithy/util-utf8": "^4.2.2",
64
64
  "tslib": "^2.6.2"
65
65
  },