@aws-sdk/client-cognito-sync 3.33.0 → 3.34.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 (59) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/package.json +38 -38
  3. package/dist/es/CognitoSync.js +1 -16
  4. package/dist/es/CognitoSync.js.map +1 -1
  5. package/dist/es/CognitoSyncClient.js +1 -21
  6. package/dist/es/CognitoSyncClient.js.map +1 -1
  7. package/dist/es/commands/BulkPublishCommand.js +2 -27
  8. package/dist/es/commands/BulkPublishCommand.js.map +1 -1
  9. package/dist/es/commands/DeleteDatasetCommand.js +2 -31
  10. package/dist/es/commands/DeleteDatasetCommand.js.map +1 -1
  11. package/dist/es/commands/DescribeDatasetCommand.js +2 -30
  12. package/dist/es/commands/DescribeDatasetCommand.js.map +1 -1
  13. package/dist/es/commands/DescribeIdentityPoolUsageCommand.js +2 -75
  14. package/dist/es/commands/DescribeIdentityPoolUsageCommand.js.map +1 -1
  15. package/dist/es/commands/DescribeIdentityUsageCommand.js +2 -76
  16. package/dist/es/commands/DescribeIdentityUsageCommand.js.map +1 -1
  17. package/dist/es/commands/GetBulkPublishDetailsCommand.js +2 -27
  18. package/dist/es/commands/GetBulkPublishDetailsCommand.js.map +1 -1
  19. package/dist/es/commands/GetCognitoEventsCommand.js +2 -27
  20. package/dist/es/commands/GetCognitoEventsCommand.js.map +1 -1
  21. package/dist/es/commands/GetIdentityPoolConfigurationCommand.js +2 -73
  22. package/dist/es/commands/GetIdentityPoolConfigurationCommand.js.map +1 -1
  23. package/dist/es/commands/ListDatasetsCommand.js +2 -85
  24. package/dist/es/commands/ListDatasetsCommand.js.map +1 -1
  25. package/dist/es/commands/ListIdentityPoolUsageCommand.js +2 -85
  26. package/dist/es/commands/ListIdentityPoolUsageCommand.js.map +1 -1
  27. package/dist/es/commands/ListRecordsCommand.js +2 -82
  28. package/dist/es/commands/ListRecordsCommand.js.map +1 -1
  29. package/dist/es/commands/RegisterDeviceCommand.js +2 -71
  30. package/dist/es/commands/RegisterDeviceCommand.js.map +1 -1
  31. package/dist/es/commands/SetCognitoEventsCommand.js +2 -27
  32. package/dist/es/commands/SetCognitoEventsCommand.js.map +1 -1
  33. package/dist/es/commands/SetIdentityPoolConfigurationCommand.js +2 -77
  34. package/dist/es/commands/SetIdentityPoolConfigurationCommand.js.map +1 -1
  35. package/dist/es/commands/SubscribeToDatasetCommand.js +2 -70
  36. package/dist/es/commands/SubscribeToDatasetCommand.js.map +1 -1
  37. package/dist/es/commands/UnsubscribeFromDatasetCommand.js +2 -71
  38. package/dist/es/commands/UnsubscribeFromDatasetCommand.js.map +1 -1
  39. package/dist/es/commands/UpdateRecordsCommand.js +2 -29
  40. package/dist/es/commands/UpdateRecordsCommand.js.map +1 -1
  41. package/dist/es/endpoints.js +1 -1
  42. package/dist/es/endpoints.js.map +1 -1
  43. package/dist/es/models/models_0.js +0 -159
  44. package/dist/es/models/models_0.js.map +1 -1
  45. package/dist/es/package.json +38 -38
  46. package/dist/es/protocols/Aws_restJson1.js +530 -535
  47. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  48. package/dist/es/runtimeConfig.browser.js +0 -3
  49. package/dist/es/runtimeConfig.browser.js.map +1 -1
  50. package/dist/es/runtimeConfig.js +0 -3
  51. package/dist/es/runtimeConfig.js.map +1 -1
  52. package/dist/es/runtimeConfig.native.js +0 -3
  53. package/dist/es/runtimeConfig.native.js.map +1 -1
  54. package/dist/es/runtimeConfig.shared.js +0 -3
  55. package/dist/es/runtimeConfig.shared.js.map +1 -1
  56. package/package.json +38 -38
  57. package/tsconfig.es.json +0 -2
  58. package/tsconfig.json +4 -5
  59. package/tsconfig.types.json +8 -0
@@ -3,38 +3,13 @@ import { SetCognitoEventsRequest } from "../models/models_0";
3
3
  import { deserializeAws_restJson1SetCognitoEventsCommand, serializeAws_restJson1SetCognitoEventsCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { CognitoSyncClient, SetCognitoEventsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
12
- * // const { CognitoSyncClient, SetCognitoEventsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
13
- * const client = new CognitoSyncClient(config);
14
- * const command = new SetCognitoEventsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link SetCognitoEventsCommandInput} for command's `input` shape.
19
- * @see {@link SetCognitoEventsCommandOutput} for command's `response` shape.
20
- * @see {@link CognitoSyncClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var SetCognitoEventsCommand = /** @class */ (function (_super) {
6
+ var SetCognitoEventsCommand = (function (_super) {
24
7
  __extends(SetCognitoEventsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function SetCognitoEventsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  SetCognitoEventsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"SetCognitoEventsCommand.js","sourceRoot":"","sources":["../../../commands/SetCognitoEventsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AA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AkB;YACnE,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
@@ -3,88 +3,13 @@ import { SetIdentityPoolConfigurationRequest, SetIdentityPoolConfigurationRespon
3
3
  import { deserializeAws_restJson1SetIdentityPoolConfigurationCommand, serializeAws_restJson1SetIdentityPoolConfigurationCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Sets the necessary configuration for push sync.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
8
- * <examples>
9
- * <example>
10
- * <name>SetIdentityPoolConfiguration</name>
11
- * <description>The following examples have been edited for readability.</description>
12
- * <request>
13
- * POST / HTTP/1.1
14
- * CONTENT-TYPE: application/json
15
- * X-AMZN-REQUESTID: a46db021-f5dd-45d6-af5b-7069fa4a211b
16
- * X-AMZ-TARGET: com.amazonaws.cognito.sync.model.AWSCognitoSyncService.SetIdentityPoolConfiguration
17
- * HOST: cognito-sync.us-east-1.amazonaws.com
18
- * X-AMZ-DATE: 20141004T200006Z
19
- * AUTHORIZATION: AWS4-HMAC-SHA256 Credential=<credential>, SignedHeaders=content-type;content-length;host;x-amz-date;x-amz-target, Signature=<signature>
20
- *
21
- * {
22
- * "Operation": "com.amazonaws.cognito.sync.model#SetIdentityPoolConfiguration",
23
- * "Service": "com.amazonaws.cognito.sync.model#AWSCognitoSyncService",
24
- * "Input":
25
- * {
26
- * "IdentityPoolId": "ID_POOL_ID",
27
- * "PushSync":
28
- * {
29
- * "ApplicationArns": ["PLATFORMARN1", "PLATFORMARN2"],
30
- * "RoleArn": "ROLEARN"
31
- * }
32
- * }
33
- * }
34
- * </request>
35
- * <response>
36
- * 1.1 200 OK
37
- * x-amzn-requestid: a46db021-f5dd-45d6-af5b-7069fa4a211b
38
- * date: Sat, 04 Oct 2014 20:00:06 GMT
39
- * content-type: application/json
40
- * content-length: 332
41
- *
42
- * {
43
- * "Output":
44
- * {
45
- * "__type": "com.amazonaws.cognito.sync.model#SetIdentityPoolConfigurationResponse",
46
- * "IdentityPoolId": "ID_POOL_ID",
47
- * "PushSync":
48
- * {
49
- * "ApplicationArns": ["PLATFORMARN1", "PLATFORMARN2"],
50
- * "RoleArn": "ROLEARN"
51
- * }
52
- * },
53
- * "Version": "1.0"
54
- * }
55
- * </response>
56
- * </example>
57
- * </examples>
58
- * @example
59
- * Use a bare-bones client and the command you need to make an API call.
60
- * ```javascript
61
- * import { CognitoSyncClient, SetIdentityPoolConfigurationCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
62
- * // const { CognitoSyncClient, SetIdentityPoolConfigurationCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
63
- * const client = new CognitoSyncClient(config);
64
- * const command = new SetIdentityPoolConfigurationCommand(input);
65
- * const response = await client.send(command);
66
- * ```
67
- *
68
- * @see {@link SetIdentityPoolConfigurationCommandInput} for command's `input` shape.
69
- * @see {@link SetIdentityPoolConfigurationCommandOutput} for command's `response` shape.
70
- * @see {@link CognitoSyncClientResolvedConfig | config} for command's `input` shape.
71
- *
72
- */
73
- var SetIdentityPoolConfigurationCommand = /** @class */ (function (_super) {
6
+ var SetIdentityPoolConfigurationCommand = (function (_super) {
74
7
  __extends(SetIdentityPoolConfigurationCommand, _super);
75
- // Start section: command_properties
76
- // End section: command_properties
77
8
  function SetIdentityPoolConfigurationCommand(input) {
78
- var _this =
79
- // Start section: command_constructor
80
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
81
10
  _this.input = input;
82
11
  return _this;
83
- // End section: command_constructor
84
12
  }
85
- /**
86
- * @internal
87
- */
88
13
  SetIdentityPoolConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
89
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
90
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"SetIdentityPoolConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/SetIdentityPoolConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgB7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH;IAAyD,uDAIxD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,6CAAqB,KAA+C;QAApE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0C;;QAGlE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,+DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA8C,EAC9C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,qCAAqC,CAAC;QAC1D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mCAAmC,CAAC,kBAAkB;YAC/E,wBAAwB,EAAE,oCAAoC,CAAC,kBAAkB;SAClF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uDAAS,GAAjB,UAAkB,KAA+C,EAAE,OAAuB;QACxF,OAAO,yDAAyD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAEO,yDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,2DAA2D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAIH,0CAAC;AAAD,CAAC,AAzDD,CAAyD,QAAQ,GAyDhE"}
1
+ {"version":3,"file":"SetIdentityPoolConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/SetIdentityPoolConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,MAAM,4B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AC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAIH,0CAAC;AAAD,CAAC,AAzDD,CAAyD,QAAQ,GAyDhE"}
@@ -3,81 +3,13 @@ import { SubscribeToDatasetRequest, SubscribeToDatasetResponse } from "../models
3
3
  import { deserializeAws_restJson1SubscribeToDatasetCommand, serializeAws_restJson1SubscribeToDatasetCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Subscribes to receive notifications when a dataset is modified by another device.</p><p>This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.</p>
8
- * <examples>
9
- * <example>
10
- * <name>SubscribeToDataset</name>
11
- * <description>The following examples have been edited for readability.</description>
12
- * <request>
13
- * POST / HTTP/1.1
14
- * CONTENT-TYPE: application/json
15
- * X-AMZN-REQUESTID: 8b9932b7-201d-4418-a960-0a470e11de9f
16
- * X-AMZ-TARGET: com.amazonaws.cognito.sync.model.AWSCognitoSyncService.SubscribeToDataset
17
- * HOST: cognito-sync.us-east-1.amazonaws.com
18
- * X-AMZ-DATE: 20141004T195350Z
19
- * X-AMZ-SECURITY-TOKEN: <securitytoken>
20
- * AUTHORIZATION: AWS4-HMAC-SHA256 Credential=<credential>, SignedHeaders=content-type;content-length;host;x-amz-date;x-amz-target, Signature=<signature>
21
- *
22
- * {
23
- * "Operation": "com.amazonaws.cognito.sync.model#SubscribeToDataset",
24
- * "Service": "com.amazonaws.cognito.sync.model#AWSCognitoSyncService",
25
- * "Input":
26
- * {
27
- * "IdentityPoolId": "ID_POOL_ID",
28
- * "IdentityId": "IDENTITY_ID",
29
- * "DatasetName": "Rufus",
30
- * "DeviceId": "5cd28fbe-dd83-47ab-9f83-19093a5fb014"
31
- * }
32
- * }
33
- * </request>
34
- * <response>
35
- * 1.1 200 OK
36
- * x-amzn-requestid: 8b9932b7-201d-4418-a960-0a470e11de9f
37
- * date: Sat, 04 Oct 2014 19:53:50 GMT
38
- * content-type: application/json
39
- * content-length: 99
40
- *
41
- * {
42
- * "Output":
43
- * {
44
- * "__type": "com.amazonaws.cognito.sync.model#SubscribeToDatasetResponse"
45
- * },
46
- * "Version": "1.0"
47
- * }
48
- * </response>
49
- * </example>
50
- * </examples>
51
- * @example
52
- * Use a bare-bones client and the command you need to make an API call.
53
- * ```javascript
54
- * import { CognitoSyncClient, SubscribeToDatasetCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
55
- * // const { CognitoSyncClient, SubscribeToDatasetCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
56
- * const client = new CognitoSyncClient(config);
57
- * const command = new SubscribeToDatasetCommand(input);
58
- * const response = await client.send(command);
59
- * ```
60
- *
61
- * @see {@link SubscribeToDatasetCommandInput} for command's `input` shape.
62
- * @see {@link SubscribeToDatasetCommandOutput} for command's `response` shape.
63
- * @see {@link CognitoSyncClientResolvedConfig | config} for command's `input` shape.
64
- *
65
- */
66
- var SubscribeToDatasetCommand = /** @class */ (function (_super) {
6
+ var SubscribeToDatasetCommand = (function (_super) {
67
7
  __extends(SubscribeToDatasetCommand, _super);
68
- // Start section: command_properties
69
- // End section: command_properties
70
8
  function SubscribeToDatasetCommand(input) {
71
- var _this =
72
- // Start section: command_constructor
73
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
74
10
  _this.input = input;
75
11
  return _this;
76
- // End section: command_constructor
77
12
  }
78
- /**
79
- * @internal
80
- */
81
13
  SubscribeToDatasetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
82
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
83
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"SubscribeToDatasetCommand.js","sourceRoot":"","sources":["../../../commands/SubscribeToDatasetCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB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V,WAAW,aAAA;YACX,uBAAuB,EAAE,yBAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,0BAA0B,CAAC,kBAAkB;SACxE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,+CAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
@@ -3,82 +3,13 @@ import { UnsubscribeFromDatasetRequest, UnsubscribeFromDatasetResponse } from ".
3
3
  import { deserializeAws_restJson1UnsubscribeFromDatasetCommand, serializeAws_restJson1UnsubscribeFromDatasetCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Unsubscribes from receiving notifications when a dataset is modified by another device.</p><p>This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.</p>
8
- * <examples>
9
- * <example>
10
- * <name>UnsubscribeFromDataset</name>
11
- * <description>The following examples have been edited for readability.</description>
12
- * <request>
13
- * POST / HTTP/1.1
14
- * CONTENT-TYPE: application/json
15
- * X-AMZ-REQUESTSUPERTRACE: true
16
- * X-AMZN-REQUESTID: 676896d6-14ca-45b1-8029-6d36b10a077e
17
- * X-AMZ-TARGET: com.amazonaws.cognito.sync.model.AWSCognitoSyncService.UnsubscribeFromDataset
18
- * HOST: cognito-sync.us-east-1.amazonaws.com
19
- * X-AMZ-DATE: 20141004T195446Z
20
- * X-AMZ-SECURITY-TOKEN: <securitytoken>
21
- * AUTHORIZATION: AWS4-HMAC-SHA256 Credential=<credential>, SignedHeaders=content-type;content-length;host;x-amz-date;x-amz-target, Signature=<signature>
22
- *
23
- * {
24
- * "Operation": "com.amazonaws.cognito.sync.model#UnsubscribeFromDataset",
25
- * "Service": "com.amazonaws.cognito.sync.model#AWSCognitoSyncService",
26
- * "Input":
27
- * {
28
- * "IdentityPoolId": "ID_POOL_ID",
29
- * "IdentityId": "IDENTITY_ID",
30
- * "DatasetName": "Rufus",
31
- * "DeviceId": "5cd28fbe-dd83-47ab-9f83-19093a5fb014"
32
- * }
33
- * }
34
- * </request>
35
- * <response>
36
- * 1.1 200 OK
37
- * x-amzn-requestid: 676896d6-14ca-45b1-8029-6d36b10a077e
38
- * date: Sat, 04 Oct 2014 19:54:46 GMT
39
- * content-type: application/json
40
- * content-length: 103
41
- *
42
- * {
43
- * "Output":
44
- * {
45
- * "__type": "com.amazonaws.cognito.sync.model#UnsubscribeFromDatasetResponse"
46
- * },
47
- * "Version": "1.0"
48
- * }
49
- * </response>
50
- * </example>
51
- * </examples>
52
- * @example
53
- * Use a bare-bones client and the command you need to make an API call.
54
- * ```javascript
55
- * import { CognitoSyncClient, UnsubscribeFromDatasetCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
56
- * // const { CognitoSyncClient, UnsubscribeFromDatasetCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
57
- * const client = new CognitoSyncClient(config);
58
- * const command = new UnsubscribeFromDatasetCommand(input);
59
- * const response = await client.send(command);
60
- * ```
61
- *
62
- * @see {@link UnsubscribeFromDatasetCommandInput} for command's `input` shape.
63
- * @see {@link UnsubscribeFromDatasetCommandOutput} for command's `response` shape.
64
- * @see {@link CognitoSyncClientResolvedConfig | config} for command's `input` shape.
65
- *
66
- */
67
- var UnsubscribeFromDatasetCommand = /** @class */ (function (_super) {
6
+ var UnsubscribeFromDatasetCommand = (function (_super) {
68
7
  __extends(UnsubscribeFromDatasetCommand, _super);
69
- // Start section: command_properties
70
- // End section: command_properties
71
8
  function UnsubscribeFromDatasetCommand(input) {
72
- var _this =
73
- // Start section: command_constructor
74
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
75
10
  _this.input = input;
76
11
  return _this;
77
- // End section: command_constructor
78
12
  }
79
- /**
80
- * @internal
81
- */
82
13
  UnsubscribeFromDatasetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
83
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
84
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"UnsubscribeFromDatasetCommand.js","sourceRoot":"","sources":["../../../commands/UnsubscribeFromDatasetCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH;IAAmD,iDAIlD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,uCAAqB,KAAyC;QAA9D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;QAG5D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,yDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA8C,EAC9C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CA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CAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
@@ -3,40 +3,13 @@ import { UpdateRecordsRequest, UpdateRecordsResponse } from "../models/models_0"
3
3
  import { deserializeAws_restJson1UpdateRecordsCommand, serializeAws_restJson1UpdateRecordsCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Posts updates to records and adds and deletes records for a dataset and user.</p>
8
- * <p>The sync count in the record patch is your last known sync count for that record. The server will reject an UpdateRecords request with a ResourceConflictException if you try to patch a record with a new value but a stale sync count.</p><p>For example, if the sync count on the server is 5 for a key called highScore and you try and submit a new highScore with sync count of 4, the request will be rejected. To obtain the current sync count for a record, call ListRecords. On a successful update of the record, the response returns the new sync count for that record. You should present that sync count the next time you try to update that same record. When the record does not exist, specify the sync count as 0.</p>
9
- * <p>This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CognitoSyncClient, UpdateRecordsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
14
- * // const { CognitoSyncClient, UpdateRecordsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
15
- * const client = new CognitoSyncClient(config);
16
- * const command = new UpdateRecordsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateRecordsCommandInput} for command's `input` shape.
21
- * @see {@link UpdateRecordsCommandOutput} for command's `response` shape.
22
- * @see {@link CognitoSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
- var UpdateRecordsCommand = /** @class */ (function (_super) {
6
+ var UpdateRecordsCommand = (function (_super) {
26
7
  __extends(UpdateRecordsCommand, _super);
27
- // Start section: command_properties
28
- // End section: command_properties
29
8
  function UpdateRecordsCommand(input) {
30
- var _this =
31
- // Start section: command_constructor
32
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
33
10
  _this.input = input;
34
11
  return _this;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  UpdateRecordsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
41
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateRecordsCommand.js","sourceRoot":"","sources":["../../../commands/UpdateRecordsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;GAkBG;AACH;IAA0C,wCAIzC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,8BAAqB,KAAgC;QAArD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2B;;QAGnD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,gDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA8C,EAC9C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,IAAM,uBAAuB,GAA4B;YACvD,MAAM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,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oBAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,qBAAqB,CAAC,kBAAkB;SACnE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,OAAO,0CAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
@@ -47,7 +47,7 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cognito-sync", regionHash: regionHash, partitionHash: partitionHash }))];
50
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cognito-sync", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
53
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,qCAAqC;KAChD;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,wCAAwC;KACnD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,kCAAkC;KAC7C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,qCAAqC;KAChD;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,qCAAqC;KAChD;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,cAAc,EAC9B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../end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