@aws-sdk/client-customer-profiles 3.840.0 → 3.843.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/README.md +48 -0
  2. package/dist-cjs/index.js +393 -67
  3. package/dist-es/CustomerProfiles.js +12 -0
  4. package/dist-es/commands/CreateUploadJobCommand.js +23 -0
  5. package/dist-es/commands/GetUploadJobCommand.js +23 -0
  6. package/dist-es/commands/GetUploadJobPathCommand.js +22 -0
  7. package/dist-es/commands/ListUploadJobsCommand.js +22 -0
  8. package/dist-es/commands/StartUploadJobCommand.js +22 -0
  9. package/dist-es/commands/StopUploadJobCommand.js +22 -0
  10. package/dist-es/commands/UpdateCalculatedAttributeDefinitionCommand.js +1 -1
  11. package/dist-es/commands/UpdateDomainLayoutCommand.js +1 -1
  12. package/dist-es/commands/UpdateEventTriggerCommand.js +1 -1
  13. package/dist-es/commands/index.js +6 -0
  14. package/dist-es/models/models_0.js +20 -35
  15. package/dist-es/models/models_1.js +35 -0
  16. package/dist-es/pagination/ListUploadJobsPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +1 -0
  18. package/dist-es/protocols/Aws_restJson1.js +184 -0
  19. package/dist-types/CustomerProfiles.d.ts +42 -0
  20. package/dist-types/CustomerProfilesClient.d.ts +8 -2
  21. package/dist-types/commands/CreateUploadJobCommand.d.ts +98 -0
  22. package/dist-types/commands/GetUploadJobCommand.d.ts +107 -0
  23. package/dist-types/commands/GetUploadJobPathCommand.d.ts +91 -0
  24. package/dist-types/commands/ListUploadJobsCommand.d.ts +100 -0
  25. package/dist-types/commands/StartUploadJobCommand.d.ts +87 -0
  26. package/dist-types/commands/StopUploadJobCommand.d.ts +86 -0
  27. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateDomainCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateDomainLayoutCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateEventTriggerCommand.d.ts +1 -1
  33. package/dist-types/commands/index.d.ts +6 -0
  34. package/dist-types/models/models_0.d.ts +480 -660
  35. package/dist-types/models/models_1.d.ts +569 -1
  36. package/dist-types/pagination/ListUploadJobsPaginator.d.ts +7 -0
  37. package/dist-types/pagination/index.d.ts +1 -0
  38. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  39. package/dist-types/ts3.4/CustomerProfiles.d.ts +102 -0
  40. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +36 -0
  41. package/dist-types/ts3.4/commands/CreateUploadJobCommand.d.ts +50 -0
  42. package/dist-types/ts3.4/commands/GetUploadJobCommand.d.ts +47 -0
  43. package/dist-types/ts3.4/commands/GetUploadJobPathCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/ListUploadJobsCommand.d.ts +50 -0
  45. package/dist-types/ts3.4/commands/StartUploadJobCommand.d.ts +48 -0
  46. package/dist-types/ts3.4/commands/StopUploadJobCommand.d.ts +50 -0
  47. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/UpdateDomainLayoutCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/UpdateEventTriggerCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +95 -137
  55. package/dist-types/ts3.4/models/models_1.d.ts +147 -1
  56. package/dist-types/ts3.4/pagination/ListUploadJobsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  59. package/package.json +1 -1
@@ -0,0 +1,86 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
+ import { StopUploadJobRequest, StopUploadJobResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopUploadJobCommand}.
14
+ */
15
+ export interface StopUploadJobCommandInput extends StopUploadJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopUploadJobCommand}.
21
+ */
22
+ export interface StopUploadJobCommandOutput extends StopUploadJobResponse, __MetadataBearer {
23
+ }
24
+ declare const StopUploadJobCommand_base: {
25
+ new (input: StopUploadJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopUploadJobCommandInput, StopUploadJobCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopUploadJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopUploadJobCommandInput, StopUploadJobCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>This API stops the processing of an upload job. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CustomerProfilesClient, StopUploadJobCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
35
+ * // const { CustomerProfilesClient, StopUploadJobCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
36
+ * const client = new CustomerProfilesClient(config);
37
+ * const input = { // StopUploadJobRequest
38
+ * DomainName: "STRING_VALUE", // required
39
+ * JobId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new StopUploadJobCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param StopUploadJobCommandInput - {@link StopUploadJobCommandInput}
48
+ * @returns {@link StopUploadJobCommandOutput}
49
+ * @see {@link StopUploadJobCommandInput} for command's `input` shape.
50
+ * @see {@link StopUploadJobCommandOutput} for command's `response` shape.
51
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You do not have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link BadRequestException} (client fault)
57
+ * <p>The input you provided is invalid.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>An internal service error occurred.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The requested resource does not exist, or access was denied.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>You exceeded the maximum number of requests.</p>
67
+ *
68
+ * @throws {@link CustomerProfilesServiceException}
69
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
70
+ *
71
+ *
72
+ * @public
73
+ */
74
+ export declare class StopUploadJobCommand extends StopUploadJobCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: StopUploadJobRequest;
79
+ output: {};
80
+ };
81
+ sdk: {
82
+ input: StopUploadJobCommandInput;
83
+ output: StopUploadJobCommandOutput;
84
+ };
85
+ };
86
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
- import { UpdateCalculatedAttributeDefinitionRequest, UpdateCalculatedAttributeDefinitionResponse } from "../models/models_0";
4
+ import { UpdateCalculatedAttributeDefinitionRequest, UpdateCalculatedAttributeDefinitionResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
- import { UpdateDomainRequest, UpdateDomainResponse } from "../models/models_0";
4
+ import { UpdateDomainRequest, UpdateDomainResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
- import { UpdateDomainLayoutRequest, UpdateDomainLayoutResponse } from "../models/models_0";
4
+ import { UpdateDomainLayoutRequest, UpdateDomainLayoutResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
- import { UpdateEventTriggerRequest, UpdateEventTriggerResponse } from "../models/models_0";
4
+ import { UpdateEventTriggerRequest, UpdateEventTriggerResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -11,6 +11,7 @@ export * from "./CreateProfileCommand";
11
11
  export * from "./CreateSegmentDefinitionCommand";
12
12
  export * from "./CreateSegmentEstimateCommand";
13
13
  export * from "./CreateSegmentSnapshotCommand";
14
+ export * from "./CreateUploadJobCommand";
14
15
  export * from "./DeleteCalculatedAttributeDefinitionCommand";
15
16
  export * from "./DeleteDomainCommand";
16
17
  export * from "./DeleteDomainLayoutCommand";
@@ -41,6 +42,8 @@ export * from "./GetSegmentEstimateCommand";
41
42
  export * from "./GetSegmentMembershipCommand";
42
43
  export * from "./GetSegmentSnapshotCommand";
43
44
  export * from "./GetSimilarProfilesCommand";
45
+ export * from "./GetUploadJobCommand";
46
+ export * from "./GetUploadJobPathCommand";
44
47
  export * from "./GetWorkflowCommand";
45
48
  export * from "./GetWorkflowStepsCommand";
46
49
  export * from "./ListAccountIntegrationsCommand";
@@ -60,12 +63,15 @@ export * from "./ListProfileObjectsCommand";
60
63
  export * from "./ListRuleBasedMatchesCommand";
61
64
  export * from "./ListSegmentDefinitionsCommand";
62
65
  export * from "./ListTagsForResourceCommand";
66
+ export * from "./ListUploadJobsCommand";
63
67
  export * from "./ListWorkflowsCommand";
64
68
  export * from "./MergeProfilesCommand";
65
69
  export * from "./PutIntegrationCommand";
66
70
  export * from "./PutProfileObjectCommand";
67
71
  export * from "./PutProfileObjectTypeCommand";
68
72
  export * from "./SearchProfilesCommand";
73
+ export * from "./StartUploadJobCommand";
74
+ export * from "./StopUploadJobCommand";
69
75
  export * from "./TagResourceCommand";
70
76
  export * from "./UntagResourceCommand";
71
77
  export * from "./UpdateCalculatedAttributeDefinitionCommand";