@aws-sdk/client-customer-profiles 3.347.1 → 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.
Files changed (52) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/CustomerProfiles.js +8 -0
  3. package/dist-cjs/commands/CreateEventStreamCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteEventStreamCommand.js +46 -0
  5. package/dist-cjs/commands/GetEventStreamCommand.js +46 -0
  6. package/dist-cjs/commands/ListEventStreamsCommand.js +46 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/index.js +1 -0
  9. package/dist-cjs/models/models_0.js +9 -1
  10. package/dist-cjs/pagination/Interfaces.js +2 -0
  11. package/dist-cjs/pagination/ListEventStreamsPaginator.js +29 -0
  12. package/dist-cjs/pagination/index.js +5 -0
  13. package/dist-cjs/protocols/Aws_restJson1.js +309 -2
  14. package/dist-es/CustomerProfiles.js +8 -0
  15. package/dist-es/commands/CreateEventStreamCommand.js +42 -0
  16. package/dist-es/commands/DeleteEventStreamCommand.js +42 -0
  17. package/dist-es/commands/GetEventStreamCommand.js +42 -0
  18. package/dist-es/commands/ListEventStreamsCommand.js +42 -0
  19. package/dist-es/commands/index.js +4 -0
  20. package/dist-es/index.js +1 -0
  21. package/dist-es/models/models_0.js +8 -0
  22. package/dist-es/pagination/Interfaces.js +1 -0
  23. package/dist-es/pagination/ListEventStreamsPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +2 -0
  25. package/dist-es/protocols/Aws_restJson1.js +299 -0
  26. package/dist-types/CustomerProfiles.d.ts +28 -0
  27. package/dist-types/CustomerProfilesClient.d.ts +6 -2
  28. package/dist-types/commands/CreateEventStreamCommand.d.ts +99 -0
  29. package/dist-types/commands/DeleteEventStreamCommand.d.ts +87 -0
  30. package/dist-types/commands/GetEventStreamCommand.d.ts +102 -0
  31. package/dist-types/commands/ListEventStreamsCommand.d.ts +107 -0
  32. package/dist-types/commands/index.d.ts +4 -0
  33. package/dist-types/index.d.ts +1 -0
  34. package/dist-types/models/models_0.d.ts +229 -0
  35. package/dist-types/pagination/Interfaces.d.ts +8 -0
  36. package/dist-types/pagination/ListEventStreamsPaginator.d.ts +7 -0
  37. package/dist-types/pagination/index.d.ts +2 -0
  38. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  39. package/dist-types/ts3.4/CustomerProfiles.d.ts +68 -0
  40. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +24 -0
  41. package/dist-types/ts3.4/commands/CreateEventStreamCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +39 -0
  43. package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +38 -0
  44. package/dist-types/ts3.4/commands/ListEventStreamsCommand.d.ts +38 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  46. package/dist-types/ts3.4/index.d.ts +1 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +69 -0
  48. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  49. package/dist-types/ts3.4/pagination/ListEventStreamsPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  52. package/package.json +4 -4
@@ -0,0 +1,87 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
5
+ import { DeleteEventStreamRequest, DeleteEventStreamResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteEventStreamCommand}.
14
+ */
15
+ export interface DeleteEventStreamCommandInput extends DeleteEventStreamRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteEventStreamCommand}.
21
+ */
22
+ export interface DeleteEventStreamCommandOutput extends DeleteEventStreamResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Disables and deletes the specified event stream.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CustomerProfilesClient, DeleteEventStreamCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
31
+ * // const { CustomerProfilesClient, DeleteEventStreamCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
32
+ * const client = new CustomerProfilesClient(config);
33
+ * const input = { // DeleteEventStreamRequest
34
+ * DomainName: "STRING_VALUE", // required
35
+ * EventStreamName: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DeleteEventStreamCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param DeleteEventStreamCommandInput - {@link DeleteEventStreamCommandInput}
44
+ * @returns {@link DeleteEventStreamCommandOutput}
45
+ * @see {@link DeleteEventStreamCommandInput} for command's `input` shape.
46
+ * @see {@link DeleteEventStreamCommandOutput} for command's `response` shape.
47
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
48
+ *
49
+ * @throws {@link AccessDeniedException} (client fault)
50
+ * <p>You do not have sufficient access to perform this action.</p>
51
+ *
52
+ * @throws {@link BadRequestException} (client fault)
53
+ * <p>The input you provided is invalid.</p>
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>An internal service error occurred.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The requested resource does not exist, or access was denied.</p>
60
+ *
61
+ * @throws {@link ThrottlingException} (client fault)
62
+ * <p>You exceeded the maximum number of requests.</p>
63
+ *
64
+ * @throws {@link CustomerProfilesServiceException}
65
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
66
+ *
67
+ */
68
+ export declare class DeleteEventStreamCommand extends $Command<DeleteEventStreamCommandInput, DeleteEventStreamCommandOutput, CustomerProfilesClientResolvedConfig> {
69
+ readonly input: DeleteEventStreamCommandInput;
70
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
+ /**
72
+ * @public
73
+ */
74
+ constructor(input: DeleteEventStreamCommandInput);
75
+ /**
76
+ * @internal
77
+ */
78
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEventStreamCommandInput, DeleteEventStreamCommandOutput>;
79
+ /**
80
+ * @internal
81
+ */
82
+ private serialize;
83
+ /**
84
+ * @internal
85
+ */
86
+ private deserialize;
87
+ }
@@ -0,0 +1,102 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
5
+ import { GetEventStreamRequest, GetEventStreamResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetEventStreamCommand}.
14
+ */
15
+ export interface GetEventStreamCommandInput extends GetEventStreamRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetEventStreamCommand}.
21
+ */
22
+ export interface GetEventStreamCommandOutput extends GetEventStreamResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns information about the specified event stream in a specific domain.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CustomerProfilesClient, GetEventStreamCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
31
+ * // const { CustomerProfilesClient, GetEventStreamCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
32
+ * const client = new CustomerProfilesClient(config);
33
+ * const input = { // GetEventStreamRequest
34
+ * DomainName: "STRING_VALUE", // required
35
+ * EventStreamName: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetEventStreamCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetEventStreamResponse
40
+ * // DomainName: "STRING_VALUE", // required
41
+ * // EventStreamArn: "STRING_VALUE", // required
42
+ * // CreatedAt: new Date("TIMESTAMP"), // required
43
+ * // State: "RUNNING" || "STOPPED", // required
44
+ * // StoppedSince: new Date("TIMESTAMP"),
45
+ * // DestinationDetails: { // EventStreamDestinationDetails
46
+ * // Uri: "STRING_VALUE", // required
47
+ * // Status: "HEALTHY" || "UNHEALTHY", // required
48
+ * // UnhealthySince: new Date("TIMESTAMP"),
49
+ * // Message: "STRING_VALUE",
50
+ * // },
51
+ * // Tags: { // TagMap
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetEventStreamCommandInput - {@link GetEventStreamCommandInput}
59
+ * @returns {@link GetEventStreamCommandOutput}
60
+ * @see {@link GetEventStreamCommandInput} for command's `input` shape.
61
+ * @see {@link GetEventStreamCommandOutput} for command's `response` shape.
62
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You do not have sufficient access to perform this action.</p>
66
+ *
67
+ * @throws {@link BadRequestException} (client fault)
68
+ * <p>The input you provided is invalid.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>An internal service error occurred.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>The requested resource does not exist, or access was denied.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>You exceeded the maximum number of requests.</p>
78
+ *
79
+ * @throws {@link CustomerProfilesServiceException}
80
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
81
+ *
82
+ */
83
+ export declare class GetEventStreamCommand extends $Command<GetEventStreamCommandInput, GetEventStreamCommandOutput, CustomerProfilesClientResolvedConfig> {
84
+ readonly input: GetEventStreamCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: GetEventStreamCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEventStreamCommandInput, GetEventStreamCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -0,0 +1,107 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
5
+ import { ListEventStreamsRequest, ListEventStreamsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListEventStreamsCommand}.
14
+ */
15
+ export interface ListEventStreamsCommandInput extends ListEventStreamsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListEventStreamsCommand}.
21
+ */
22
+ export interface ListEventStreamsCommandOutput extends ListEventStreamsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of all the event streams in a specific domain.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CustomerProfilesClient, ListEventStreamsCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
31
+ * // const { CustomerProfilesClient, ListEventStreamsCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
32
+ * const client = new CustomerProfilesClient(config);
33
+ * const input = { // ListEventStreamsRequest
34
+ * DomainName: "STRING_VALUE", // required
35
+ * NextToken: "STRING_VALUE",
36
+ * MaxResults: Number("int"),
37
+ * };
38
+ * const command = new ListEventStreamsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListEventStreamsResponse
41
+ * // Items: [ // EventStreamSummaryList
42
+ * // { // EventStreamSummary
43
+ * // DomainName: "STRING_VALUE", // required
44
+ * // EventStreamName: "STRING_VALUE", // required
45
+ * // EventStreamArn: "STRING_VALUE", // required
46
+ * // State: "RUNNING" || "STOPPED", // required
47
+ * // StoppedSince: new Date("TIMESTAMP"),
48
+ * // DestinationSummary: { // DestinationSummary
49
+ * // Uri: "STRING_VALUE", // required
50
+ * // Status: "HEALTHY" || "UNHEALTHY", // required
51
+ * // UnhealthySince: new Date("TIMESTAMP"),
52
+ * // },
53
+ * // Tags: { // TagMap
54
+ * // "<keys>": "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // ],
58
+ * // NextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListEventStreamsCommandInput - {@link ListEventStreamsCommandInput}
64
+ * @returns {@link ListEventStreamsCommandOutput}
65
+ * @see {@link ListEventStreamsCommandInput} for command's `input` shape.
66
+ * @see {@link ListEventStreamsCommandOutput} for command's `response` shape.
67
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>You do not have sufficient access to perform this action.</p>
71
+ *
72
+ * @throws {@link BadRequestException} (client fault)
73
+ * <p>The input you provided is invalid.</p>
74
+ *
75
+ * @throws {@link InternalServerException} (server fault)
76
+ * <p>An internal service error occurred.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>The requested resource does not exist, or access was denied.</p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>You exceeded the maximum number of requests.</p>
83
+ *
84
+ * @throws {@link CustomerProfilesServiceException}
85
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
86
+ *
87
+ */
88
+ export declare class ListEventStreamsCommand extends $Command<ListEventStreamsCommandInput, ListEventStreamsCommandOutput, CustomerProfilesClientResolvedConfig> {
89
+ readonly input: ListEventStreamsCommandInput;
90
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
+ /**
92
+ * @public
93
+ */
94
+ constructor(input: ListEventStreamsCommandInput);
95
+ /**
96
+ * @internal
97
+ */
98
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEventStreamsCommandInput, ListEventStreamsCommandOutput>;
99
+ /**
100
+ * @internal
101
+ */
102
+ private serialize;
103
+ /**
104
+ * @internal
105
+ */
106
+ private deserialize;
107
+ }
@@ -1,10 +1,12 @@
1
1
  export * from "./AddProfileKeyCommand";
2
2
  export * from "./CreateCalculatedAttributeDefinitionCommand";
3
3
  export * from "./CreateDomainCommand";
4
+ export * from "./CreateEventStreamCommand";
4
5
  export * from "./CreateIntegrationWorkflowCommand";
5
6
  export * from "./CreateProfileCommand";
6
7
  export * from "./DeleteCalculatedAttributeDefinitionCommand";
7
8
  export * from "./DeleteDomainCommand";
9
+ export * from "./DeleteEventStreamCommand";
8
10
  export * from "./DeleteIntegrationCommand";
9
11
  export * from "./DeleteProfileCommand";
10
12
  export * from "./DeleteProfileKeyCommand";
@@ -15,6 +17,7 @@ export * from "./GetAutoMergingPreviewCommand";
15
17
  export * from "./GetCalculatedAttributeDefinitionCommand";
16
18
  export * from "./GetCalculatedAttributeForProfileCommand";
17
19
  export * from "./GetDomainCommand";
20
+ export * from "./GetEventStreamCommand";
18
21
  export * from "./GetIdentityResolutionJobCommand";
19
22
  export * from "./GetIntegrationCommand";
20
23
  export * from "./GetMatchesCommand";
@@ -26,6 +29,7 @@ export * from "./ListAccountIntegrationsCommand";
26
29
  export * from "./ListCalculatedAttributeDefinitionsCommand";
27
30
  export * from "./ListCalculatedAttributesForProfileCommand";
28
31
  export * from "./ListDomainsCommand";
32
+ export * from "./ListEventStreamsCommand";
29
33
  export * from "./ListIdentityResolutionJobsCommand";
30
34
  export * from "./ListIntegrationsCommand";
31
35
  export * from "./ListProfileObjectTypeTemplatesCommand";
@@ -11,5 +11,6 @@
11
11
  export * from "./CustomerProfilesClient";
12
12
  export * from "./CustomerProfiles";
13
13
  export * from "./commands";
14
+ export * from "./pagination";
14
15
  export * from "./models";
15
16
  export { CustomerProfilesServiceException } from "./models/CustomerProfilesServiceException";
@@ -1313,6 +1313,41 @@ export interface CreateDomainResponse {
1313
1313
  */
1314
1314
  Tags?: Record<string, string>;
1315
1315
  }
1316
+ /**
1317
+ * @public
1318
+ */
1319
+ export interface CreateEventStreamRequest {
1320
+ /**
1321
+ * <p>The unique name of the domain.</p>
1322
+ */
1323
+ DomainName: string | undefined;
1324
+ /**
1325
+ * <p>The StreamARN of the destination to deliver profile events to. For example,
1326
+ * arn:aws:kinesis:region:account-id:stream/stream-name</p>
1327
+ */
1328
+ Uri: string | undefined;
1329
+ /**
1330
+ * <p>The name of the event stream.</p>
1331
+ */
1332
+ EventStreamName: string | undefined;
1333
+ /**
1334
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1335
+ */
1336
+ Tags?: Record<string, string>;
1337
+ }
1338
+ /**
1339
+ * @public
1340
+ */
1341
+ export interface CreateEventStreamResponse {
1342
+ /**
1343
+ * <p>A unique identifier for the event stream.</p>
1344
+ */
1345
+ EventStreamArn: string | undefined;
1346
+ /**
1347
+ * <p>The tags used to organize, track, or control access for this resource.</p>
1348
+ */
1349
+ Tags?: Record<string, string>;
1350
+ }
1316
1351
  /**
1317
1352
  * @public
1318
1353
  * <p>Configuration data for integration workflow.</p>
@@ -1555,6 +1590,24 @@ export interface DeleteDomainResponse {
1555
1590
  */
1556
1591
  Message: string | undefined;
1557
1592
  }
1593
+ /**
1594
+ * @public
1595
+ */
1596
+ export interface DeleteEventStreamRequest {
1597
+ /**
1598
+ * <p>The unique name of the domain.</p>
1599
+ */
1600
+ DomainName: string | undefined;
1601
+ /**
1602
+ * <p>The name of the event stream</p>
1603
+ */
1604
+ EventStreamName: string | undefined;
1605
+ }
1606
+ /**
1607
+ * @public
1608
+ */
1609
+ export interface DeleteEventStreamResponse {
1610
+ }
1558
1611
  /**
1559
1612
  * @public
1560
1613
  */
@@ -1917,6 +1970,99 @@ export interface GetDomainResponse {
1917
1970
  */
1918
1971
  Tags?: Record<string, string>;
1919
1972
  }
1973
+ /**
1974
+ * @public
1975
+ */
1976
+ export interface GetEventStreamRequest {
1977
+ /**
1978
+ * <p>The unique name of the domain.</p>
1979
+ */
1980
+ DomainName: string | undefined;
1981
+ /**
1982
+ * <p>The name of the event stream provided during create operations.</p>
1983
+ */
1984
+ EventStreamName: string | undefined;
1985
+ }
1986
+ /**
1987
+ * @public
1988
+ * @enum
1989
+ */
1990
+ export declare const EventStreamDestinationStatus: {
1991
+ readonly HEALTHY: "HEALTHY";
1992
+ readonly UNHEALTHY: "UNHEALTHY";
1993
+ };
1994
+ /**
1995
+ * @public
1996
+ */
1997
+ export type EventStreamDestinationStatus = (typeof EventStreamDestinationStatus)[keyof typeof EventStreamDestinationStatus];
1998
+ /**
1999
+ * @public
2000
+ * <p>Details of the destination being used for the EventStream.</p>
2001
+ */
2002
+ export interface EventStreamDestinationDetails {
2003
+ /**
2004
+ * <p>The StreamARN of the destination to deliver profile events to. For example,
2005
+ * arn:aws:kinesis:region:account-id:stream/stream-name.</p>
2006
+ */
2007
+ Uri: string | undefined;
2008
+ /**
2009
+ * <p>The status of enabling the Kinesis stream as a destination for export.</p>
2010
+ */
2011
+ Status: EventStreamDestinationStatus | string | undefined;
2012
+ /**
2013
+ * <p>The timestamp when the status last changed to <code>UNHEALHY</code>.</p>
2014
+ */
2015
+ UnhealthySince?: Date;
2016
+ /**
2017
+ * <p>The human-readable string that corresponds to the error or success while enabling the streaming destination.</p>
2018
+ */
2019
+ Message?: string;
2020
+ }
2021
+ /**
2022
+ * @public
2023
+ * @enum
2024
+ */
2025
+ export declare const EventStreamState: {
2026
+ readonly RUNNING: "RUNNING";
2027
+ readonly STOPPED: "STOPPED";
2028
+ };
2029
+ /**
2030
+ * @public
2031
+ */
2032
+ export type EventStreamState = (typeof EventStreamState)[keyof typeof EventStreamState];
2033
+ /**
2034
+ * @public
2035
+ */
2036
+ export interface GetEventStreamResponse {
2037
+ /**
2038
+ * <p>The unique name of the domain.</p>
2039
+ */
2040
+ DomainName: string | undefined;
2041
+ /**
2042
+ * <p>A unique identifier for the event stream.</p>
2043
+ */
2044
+ EventStreamArn: string | undefined;
2045
+ /**
2046
+ * <p>The timestamp of when the export was created.</p>
2047
+ */
2048
+ CreatedAt: Date | undefined;
2049
+ /**
2050
+ * <p>The operational state of destination stream for export.</p>
2051
+ */
2052
+ State: EventStreamState | string | undefined;
2053
+ /**
2054
+ * <p>The timestamp when the <code>State</code> changed to <code>STOPPED</code>.</p>
2055
+ */
2056
+ StoppedSince?: Date;
2057
+ /**
2058
+ * <p>Details regarding the Kinesis stream.</p>
2059
+ */
2060
+ DestinationDetails: EventStreamDestinationDetails | undefined;
2061
+ /**
2062
+ * <p>The tags used to organize, track, or control access for this resource.</p>
2063
+ */
2064
+ Tags?: Record<string, string>;
2065
+ }
1920
2066
  /**
1921
2067
  * @public
1922
2068
  */
@@ -2701,6 +2847,89 @@ export interface ListDomainsResponse {
2701
2847
  */
2702
2848
  NextToken?: string;
2703
2849
  }
2850
+ /**
2851
+ * @public
2852
+ */
2853
+ export interface ListEventStreamsRequest {
2854
+ /**
2855
+ * <p>The unique name of the domain.</p>
2856
+ */
2857
+ DomainName: string | undefined;
2858
+ /**
2859
+ * <p>Identifies the next page of results to return.</p>
2860
+ */
2861
+ NextToken?: string;
2862
+ /**
2863
+ * <p>The maximum number of objects returned per page.</p>
2864
+ */
2865
+ MaxResults?: number;
2866
+ }
2867
+ /**
2868
+ * @public
2869
+ * <p>Summary information about the Kinesis data stream</p>
2870
+ */
2871
+ export interface DestinationSummary {
2872
+ /**
2873
+ * <p>The StreamARN of the destination to deliver profile events to. For example,
2874
+ * arn:aws:kinesis:region:account-id:stream/stream-name.</p>
2875
+ */
2876
+ Uri: string | undefined;
2877
+ /**
2878
+ * <p>The status of enabling the Kinesis stream as a destination for export.</p>
2879
+ */
2880
+ Status: EventStreamDestinationStatus | string | undefined;
2881
+ /**
2882
+ * <p>The timestamp when the status last changed to <code>UNHEALHY</code>.</p>
2883
+ */
2884
+ UnhealthySince?: Date;
2885
+ }
2886
+ /**
2887
+ * @public
2888
+ * <p>An instance of EventStream in a list of EventStreams.</p>
2889
+ */
2890
+ export interface EventStreamSummary {
2891
+ /**
2892
+ * <p>The unique name of the domain.</p>
2893
+ */
2894
+ DomainName: string | undefined;
2895
+ /**
2896
+ * <p>The name of the event stream.</p>
2897
+ */
2898
+ EventStreamName: string | undefined;
2899
+ /**
2900
+ * <p>A unique identifier for the event stream.</p>
2901
+ */
2902
+ EventStreamArn: string | undefined;
2903
+ /**
2904
+ * <p>The operational state of destination stream for export.</p>
2905
+ */
2906
+ State: EventStreamState | string | undefined;
2907
+ /**
2908
+ * <p>The timestamp when the <code>State</code> changed to <code>STOPPED</code>.</p>
2909
+ */
2910
+ StoppedSince?: Date;
2911
+ /**
2912
+ * <p>Summary information about the Kinesis data stream.</p>
2913
+ */
2914
+ DestinationSummary?: DestinationSummary;
2915
+ /**
2916
+ * <p>The tags used to organize, track, or control access for this resource.</p>
2917
+ */
2918
+ Tags?: Record<string, string>;
2919
+ }
2920
+ /**
2921
+ * @public
2922
+ */
2923
+ export interface ListEventStreamsResponse {
2924
+ /**
2925
+ * <p>Contains summary information about an EventStream.</p>
2926
+ */
2927
+ Items?: EventStreamSummary[];
2928
+ /**
2929
+ * <p>Identifies the next page of results to return.</p>
2930
+ */
2931
+ NextToken?: string;
2932
+ }
2704
2933
  /**
2705
2934
  * @public
2706
2935
  */
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { CustomerProfilesClient } from "../CustomerProfilesClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface CustomerProfilesPaginationConfiguration extends PaginationConfiguration {
7
+ client: CustomerProfilesClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListEventStreamsCommandInput, ListEventStreamsCommandOutput } from "../commands/ListEventStreamsCommand";
3
+ import { CustomerProfilesPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListEventStreams(config: CustomerProfilesPaginationConfiguration, input: ListEventStreamsCommandInput, ...additionalArguments: any): Paginator<ListEventStreamsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListEventStreamsPaginator";