@aws-sdk/client-customer-profiles 3.347.0 → 3.348.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.
- package/README.md +32 -0
- package/dist-cjs/CustomerProfiles.js +8 -0
- package/dist-cjs/commands/CreateEventStreamCommand.js +46 -0
- package/dist-cjs/commands/DeleteEventStreamCommand.js +46 -0
- package/dist-cjs/commands/GetEventStreamCommand.js +46 -0
- package/dist-cjs/commands/ListEventStreamsCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/models_0.js +9 -1
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListEventStreamsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +309 -2
- package/dist-es/CustomerProfiles.js +8 -0
- package/dist-es/commands/CreateEventStreamCommand.js +42 -0
- package/dist-es/commands/DeleteEventStreamCommand.js +42 -0
- package/dist-es/commands/GetEventStreamCommand.js +42 -0
- package/dist-es/commands/ListEventStreamsCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEventStreamsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +299 -0
- package/dist-types/CustomerProfiles.d.ts +28 -0
- package/dist-types/CustomerProfilesClient.d.ts +6 -2
- package/dist-types/commands/CreateEventStreamCommand.d.ts +99 -0
- package/dist-types/commands/DeleteEventStreamCommand.d.ts +87 -0
- package/dist-types/commands/GetEventStreamCommand.d.ts +102 -0
- package/dist-types/commands/ListEventStreamsCommand.d.ts +107 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +229 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListEventStreamsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +68 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateEventStreamCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEventStreamsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +69 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListEventStreamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -232,6 +232,14 @@ CreateDomain
|
|
|
232
232
|
|
|
233
233
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/createdomaincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createdomaincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createdomaincommandoutput.html)
|
|
234
234
|
|
|
235
|
+
</details>
|
|
236
|
+
<details>
|
|
237
|
+
<summary>
|
|
238
|
+
CreateEventStream
|
|
239
|
+
</summary>
|
|
240
|
+
|
|
241
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/createeventstreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createeventstreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createeventstreamcommandoutput.html)
|
|
242
|
+
|
|
235
243
|
</details>
|
|
236
244
|
<details>
|
|
237
245
|
<summary>
|
|
@@ -264,6 +272,14 @@ DeleteDomain
|
|
|
264
272
|
|
|
265
273
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/deletedomaincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/deletedomaincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/deletedomaincommandoutput.html)
|
|
266
274
|
|
|
275
|
+
</details>
|
|
276
|
+
<details>
|
|
277
|
+
<summary>
|
|
278
|
+
DeleteEventStream
|
|
279
|
+
</summary>
|
|
280
|
+
|
|
281
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/deleteeventstreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/deleteeventstreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/deleteeventstreamcommandoutput.html)
|
|
282
|
+
|
|
267
283
|
</details>
|
|
268
284
|
<details>
|
|
269
285
|
<summary>
|
|
@@ -344,6 +360,14 @@ GetDomain
|
|
|
344
360
|
|
|
345
361
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/getdomaincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getdomaincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getdomaincommandoutput.html)
|
|
346
362
|
|
|
363
|
+
</details>
|
|
364
|
+
<details>
|
|
365
|
+
<summary>
|
|
366
|
+
GetEventStream
|
|
367
|
+
</summary>
|
|
368
|
+
|
|
369
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/geteventstreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/geteventstreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/geteventstreamcommandoutput.html)
|
|
370
|
+
|
|
347
371
|
</details>
|
|
348
372
|
<details>
|
|
349
373
|
<summary>
|
|
@@ -432,6 +456,14 @@ ListDomains
|
|
|
432
456
|
|
|
433
457
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/listdomainscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listdomainscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listdomainscommandoutput.html)
|
|
434
458
|
|
|
459
|
+
</details>
|
|
460
|
+
<details>
|
|
461
|
+
<summary>
|
|
462
|
+
ListEventStreams
|
|
463
|
+
</summary>
|
|
464
|
+
|
|
465
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/listeventstreamscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listeventstreamscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listeventstreamscommandoutput.html)
|
|
466
|
+
|
|
435
467
|
</details>
|
|
436
468
|
<details>
|
|
437
469
|
<summary>
|
|
@@ -5,10 +5,12 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
5
5
|
const AddProfileKeyCommand_1 = require("./commands/AddProfileKeyCommand");
|
|
6
6
|
const CreateCalculatedAttributeDefinitionCommand_1 = require("./commands/CreateCalculatedAttributeDefinitionCommand");
|
|
7
7
|
const CreateDomainCommand_1 = require("./commands/CreateDomainCommand");
|
|
8
|
+
const CreateEventStreamCommand_1 = require("./commands/CreateEventStreamCommand");
|
|
8
9
|
const CreateIntegrationWorkflowCommand_1 = require("./commands/CreateIntegrationWorkflowCommand");
|
|
9
10
|
const CreateProfileCommand_1 = require("./commands/CreateProfileCommand");
|
|
10
11
|
const DeleteCalculatedAttributeDefinitionCommand_1 = require("./commands/DeleteCalculatedAttributeDefinitionCommand");
|
|
11
12
|
const DeleteDomainCommand_1 = require("./commands/DeleteDomainCommand");
|
|
13
|
+
const DeleteEventStreamCommand_1 = require("./commands/DeleteEventStreamCommand");
|
|
12
14
|
const DeleteIntegrationCommand_1 = require("./commands/DeleteIntegrationCommand");
|
|
13
15
|
const DeleteProfileCommand_1 = require("./commands/DeleteProfileCommand");
|
|
14
16
|
const DeleteProfileKeyCommand_1 = require("./commands/DeleteProfileKeyCommand");
|
|
@@ -19,6 +21,7 @@ const GetAutoMergingPreviewCommand_1 = require("./commands/GetAutoMergingPreview
|
|
|
19
21
|
const GetCalculatedAttributeDefinitionCommand_1 = require("./commands/GetCalculatedAttributeDefinitionCommand");
|
|
20
22
|
const GetCalculatedAttributeForProfileCommand_1 = require("./commands/GetCalculatedAttributeForProfileCommand");
|
|
21
23
|
const GetDomainCommand_1 = require("./commands/GetDomainCommand");
|
|
24
|
+
const GetEventStreamCommand_1 = require("./commands/GetEventStreamCommand");
|
|
22
25
|
const GetIdentityResolutionJobCommand_1 = require("./commands/GetIdentityResolutionJobCommand");
|
|
23
26
|
const GetIntegrationCommand_1 = require("./commands/GetIntegrationCommand");
|
|
24
27
|
const GetMatchesCommand_1 = require("./commands/GetMatchesCommand");
|
|
@@ -30,6 +33,7 @@ const ListAccountIntegrationsCommand_1 = require("./commands/ListAccountIntegrat
|
|
|
30
33
|
const ListCalculatedAttributeDefinitionsCommand_1 = require("./commands/ListCalculatedAttributeDefinitionsCommand");
|
|
31
34
|
const ListCalculatedAttributesForProfileCommand_1 = require("./commands/ListCalculatedAttributesForProfileCommand");
|
|
32
35
|
const ListDomainsCommand_1 = require("./commands/ListDomainsCommand");
|
|
36
|
+
const ListEventStreamsCommand_1 = require("./commands/ListEventStreamsCommand");
|
|
33
37
|
const ListIdentityResolutionJobsCommand_1 = require("./commands/ListIdentityResolutionJobsCommand");
|
|
34
38
|
const ListIntegrationsCommand_1 = require("./commands/ListIntegrationsCommand");
|
|
35
39
|
const ListProfileObjectsCommand_1 = require("./commands/ListProfileObjectsCommand");
|
|
@@ -52,10 +56,12 @@ const commands = {
|
|
|
52
56
|
AddProfileKeyCommand: AddProfileKeyCommand_1.AddProfileKeyCommand,
|
|
53
57
|
CreateCalculatedAttributeDefinitionCommand: CreateCalculatedAttributeDefinitionCommand_1.CreateCalculatedAttributeDefinitionCommand,
|
|
54
58
|
CreateDomainCommand: CreateDomainCommand_1.CreateDomainCommand,
|
|
59
|
+
CreateEventStreamCommand: CreateEventStreamCommand_1.CreateEventStreamCommand,
|
|
55
60
|
CreateIntegrationWorkflowCommand: CreateIntegrationWorkflowCommand_1.CreateIntegrationWorkflowCommand,
|
|
56
61
|
CreateProfileCommand: CreateProfileCommand_1.CreateProfileCommand,
|
|
57
62
|
DeleteCalculatedAttributeDefinitionCommand: DeleteCalculatedAttributeDefinitionCommand_1.DeleteCalculatedAttributeDefinitionCommand,
|
|
58
63
|
DeleteDomainCommand: DeleteDomainCommand_1.DeleteDomainCommand,
|
|
64
|
+
DeleteEventStreamCommand: DeleteEventStreamCommand_1.DeleteEventStreamCommand,
|
|
59
65
|
DeleteIntegrationCommand: DeleteIntegrationCommand_1.DeleteIntegrationCommand,
|
|
60
66
|
DeleteProfileCommand: DeleteProfileCommand_1.DeleteProfileCommand,
|
|
61
67
|
DeleteProfileKeyCommand: DeleteProfileKeyCommand_1.DeleteProfileKeyCommand,
|
|
@@ -66,6 +72,7 @@ const commands = {
|
|
|
66
72
|
GetCalculatedAttributeDefinitionCommand: GetCalculatedAttributeDefinitionCommand_1.GetCalculatedAttributeDefinitionCommand,
|
|
67
73
|
GetCalculatedAttributeForProfileCommand: GetCalculatedAttributeForProfileCommand_1.GetCalculatedAttributeForProfileCommand,
|
|
68
74
|
GetDomainCommand: GetDomainCommand_1.GetDomainCommand,
|
|
75
|
+
GetEventStreamCommand: GetEventStreamCommand_1.GetEventStreamCommand,
|
|
69
76
|
GetIdentityResolutionJobCommand: GetIdentityResolutionJobCommand_1.GetIdentityResolutionJobCommand,
|
|
70
77
|
GetIntegrationCommand: GetIntegrationCommand_1.GetIntegrationCommand,
|
|
71
78
|
GetMatchesCommand: GetMatchesCommand_1.GetMatchesCommand,
|
|
@@ -77,6 +84,7 @@ const commands = {
|
|
|
77
84
|
ListCalculatedAttributeDefinitionsCommand: ListCalculatedAttributeDefinitionsCommand_1.ListCalculatedAttributeDefinitionsCommand,
|
|
78
85
|
ListCalculatedAttributesForProfileCommand: ListCalculatedAttributesForProfileCommand_1.ListCalculatedAttributesForProfileCommand,
|
|
79
86
|
ListDomainsCommand: ListDomainsCommand_1.ListDomainsCommand,
|
|
87
|
+
ListEventStreamsCommand: ListEventStreamsCommand_1.ListEventStreamsCommand,
|
|
80
88
|
ListIdentityResolutionJobsCommand: ListIdentityResolutionJobsCommand_1.ListIdentityResolutionJobsCommand,
|
|
81
89
|
ListIntegrationsCommand: ListIntegrationsCommand_1.ListIntegrationsCommand,
|
|
82
90
|
ListProfileObjectsCommand: ListProfileObjectsCommand_1.ListProfileObjectsCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateEventStreamCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class CreateEventStreamCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateEventStreamCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CustomerProfilesClient";
|
|
28
|
+
const commandName = "CreateEventStreamCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_CreateEventStreamCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_CreateEventStreamCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateEventStreamCommand = CreateEventStreamCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteEventStreamCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DeleteEventStreamCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteEventStreamCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CustomerProfilesClient";
|
|
28
|
+
const commandName = "DeleteEventStreamCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_DeleteEventStreamCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_DeleteEventStreamCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteEventStreamCommand = DeleteEventStreamCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetEventStreamCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class GetEventStreamCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetEventStreamCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CustomerProfilesClient";
|
|
28
|
+
const commandName = "GetEventStreamCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_GetEventStreamCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_GetEventStreamCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetEventStreamCommand = GetEventStreamCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListEventStreamsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListEventStreamsCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListEventStreamsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CustomerProfilesClient";
|
|
28
|
+
const commandName = "ListEventStreamsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_ListEventStreamsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_ListEventStreamsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListEventStreamsCommand = ListEventStreamsCommand;
|
|
@@ -4,10 +4,12 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./AddProfileKeyCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./CreateCalculatedAttributeDefinitionCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CreateDomainCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateEventStreamCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CreateIntegrationWorkflowCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./CreateProfileCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./DeleteCalculatedAttributeDefinitionCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./DeleteDomainCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeleteEventStreamCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./DeleteIntegrationCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./DeleteProfileCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./DeleteProfileKeyCommand"), exports);
|
|
@@ -18,6 +20,7 @@ tslib_1.__exportStar(require("./GetAutoMergingPreviewCommand"), exports);
|
|
|
18
20
|
tslib_1.__exportStar(require("./GetCalculatedAttributeDefinitionCommand"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./GetCalculatedAttributeForProfileCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./GetDomainCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./GetEventStreamCommand"), exports);
|
|
21
24
|
tslib_1.__exportStar(require("./GetIdentityResolutionJobCommand"), exports);
|
|
22
25
|
tslib_1.__exportStar(require("./GetIntegrationCommand"), exports);
|
|
23
26
|
tslib_1.__exportStar(require("./GetMatchesCommand"), exports);
|
|
@@ -29,6 +32,7 @@ tslib_1.__exportStar(require("./ListAccountIntegrationsCommand"), exports);
|
|
|
29
32
|
tslib_1.__exportStar(require("./ListCalculatedAttributeDefinitionsCommand"), exports);
|
|
30
33
|
tslib_1.__exportStar(require("./ListCalculatedAttributesForProfileCommand"), exports);
|
|
31
34
|
tslib_1.__exportStar(require("./ListDomainsCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./ListEventStreamsCommand"), exports);
|
|
32
36
|
tslib_1.__exportStar(require("./ListIdentityResolutionJobsCommand"), exports);
|
|
33
37
|
tslib_1.__exportStar(require("./ListIntegrationsCommand"), exports);
|
|
34
38
|
tslib_1.__exportStar(require("./ListProfileObjectTypeTemplatesCommand"), exports);
|
package/dist-cjs/index.js
CHANGED
|
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
tslib_1.__exportStar(require("./CustomerProfilesClient"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CustomerProfiles"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
10
|
var CustomerProfilesServiceException_1 = require("./models/CustomerProfilesServiceException");
|
|
10
11
|
Object.defineProperty(exports, "CustomerProfilesServiceException", { enumerable: true, get: function () { return CustomerProfilesServiceException_1.CustomerProfilesServiceException; } });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LogicalOperator = exports.StandardIdentifier = exports.FieldContentType = exports.IdentityResolutionJobStatus = exports.PartyType = exports.Gender = exports.WorkflowType = exports.JobScheduleDayOfTheWeek = exports.Statistic = exports.Operator = exports.Unit = exports.ConflictResolvingModel = exports.Status = exports.TriggerType = exports.DataPullMode = exports.TaskType = exports.OperatorPropertiesKeys = exports.ZendeskConnectorOperator = exports.ServiceNowConnectorOperator = exports.SalesforceConnectorOperator = exports.S3ConnectorOperator = exports.MarketoConnectorOperator = exports.SourceConnectorType = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.LogicalOperator = exports.StandardIdentifier = exports.FieldContentType = exports.IdentityResolutionJobStatus = exports.EventStreamState = exports.EventStreamDestinationStatus = exports.PartyType = exports.Gender = exports.WorkflowType = exports.JobScheduleDayOfTheWeek = exports.Statistic = exports.Operator = exports.Unit = exports.ConflictResolvingModel = exports.Status = exports.TriggerType = exports.DataPullMode = exports.TaskType = exports.OperatorPropertiesKeys = exports.ZendeskConnectorOperator = exports.ServiceNowConnectorOperator = exports.SalesforceConnectorOperator = exports.S3ConnectorOperator = exports.MarketoConnectorOperator = exports.SourceConnectorType = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const CustomerProfilesServiceException_1 = require("./CustomerProfilesServiceException");
|
|
5
5
|
class AccessDeniedException extends CustomerProfilesServiceException_1.CustomerProfilesServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -269,6 +269,14 @@ exports.PartyType = {
|
|
|
269
269
|
INDIVIDUAL: "INDIVIDUAL",
|
|
270
270
|
OTHER: "OTHER",
|
|
271
271
|
};
|
|
272
|
+
exports.EventStreamDestinationStatus = {
|
|
273
|
+
HEALTHY: "HEALTHY",
|
|
274
|
+
UNHEALTHY: "UNHEALTHY",
|
|
275
|
+
};
|
|
276
|
+
exports.EventStreamState = {
|
|
277
|
+
RUNNING: "RUNNING",
|
|
278
|
+
STOPPED: "STOPPED",
|
|
279
|
+
};
|
|
272
280
|
exports.IdentityResolutionJobStatus = {
|
|
273
281
|
COMPLETED: "COMPLETED",
|
|
274
282
|
FAILED: "FAILED",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEventStreams = void 0;
|
|
4
|
+
const ListEventStreamsCommand_1 = require("../commands/ListEventStreamsCommand");
|
|
5
|
+
const CustomerProfilesClient_1 = require("../CustomerProfilesClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListEventStreamsCommand_1.ListEventStreamsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListEventStreams(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof CustomerProfilesClient_1.CustomerProfilesClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected CustomerProfiles | CustomerProfilesClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListEventStreams = paginateListEventStreams;
|