@aws-sdk/client-artifact 3.1077.0 → 3.1078.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 (82) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +366 -91
  3. package/dist-es/Artifact.js +20 -0
  4. package/dist-es/commandBuilder.js +6 -0
  5. package/dist-es/commands/CreateComplianceInquiryCommand.js +4 -0
  6. package/dist-es/commands/ExportComplianceInquiryCommand.js +4 -0
  7. package/dist-es/commands/GetAccountSettingsCommand.js +2 -14
  8. package/dist-es/commands/GetComplianceInquiryMetadataCommand.js +4 -0
  9. package/dist-es/commands/GetReportCommand.js +2 -14
  10. package/dist-es/commands/GetReportMetadataCommand.js +2 -14
  11. package/dist-es/commands/GetTermForReportCommand.js +2 -14
  12. package/dist-es/commands/ListComplianceInquiriesCommand.js +4 -0
  13. package/dist-es/commands/ListComplianceInquiryQueriesCommand.js +4 -0
  14. package/dist-es/commands/ListCustomerAgreementsCommand.js +2 -14
  15. package/dist-es/commands/ListReportVersionsCommand.js +2 -14
  16. package/dist-es/commands/ListReportsCommand.js +2 -14
  17. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  18. package/dist-es/commands/PutAccountSettingsCommand.js +2 -14
  19. package/dist-es/commands/TagResourceCommand.js +4 -0
  20. package/dist-es/commands/UntagResourceCommand.js +4 -0
  21. package/dist-es/commands/index.js +8 -0
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/models/enums.js +38 -0
  24. package/dist-es/pagination/ListComplianceInquiriesPaginator.js +4 -0
  25. package/dist-es/pagination/ListComplianceInquiryQueriesPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +2 -0
  27. package/dist-es/schemas/schemas_0.js +230 -8
  28. package/dist-types/Artifact.d.ts +71 -0
  29. package/dist-types/ArtifactClient.d.ts +10 -2
  30. package/dist-types/commandBuilder.d.ts +18 -0
  31. package/dist-types/commands/CreateComplianceInquiryCommand.d.ts +139 -0
  32. package/dist-types/commands/ExportComplianceInquiryCommand.d.ts +113 -0
  33. package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -8
  34. package/dist-types/commands/GetComplianceInquiryMetadataCommand.d.ts +124 -0
  35. package/dist-types/commands/GetReportCommand.d.ts +3 -8
  36. package/dist-types/commands/GetReportMetadataCommand.d.ts +3 -8
  37. package/dist-types/commands/GetTermForReportCommand.d.ts +3 -8
  38. package/dist-types/commands/ListComplianceInquiriesCommand.d.ts +123 -0
  39. package/dist-types/commands/ListComplianceInquiryQueriesCommand.d.ts +145 -0
  40. package/dist-types/commands/ListCustomerAgreementsCommand.d.ts +3 -8
  41. package/dist-types/commands/ListReportVersionsCommand.d.ts +3 -8
  42. package/dist-types/commands/ListReportsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  44. package/dist-types/commands/PutAccountSettingsCommand.d.ts +3 -8
  45. package/dist-types/commands/TagResourceCommand.d.ts +87 -0
  46. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  47. package/dist-types/commands/index.d.ts +8 -0
  48. package/dist-types/index.d.ts +1 -0
  49. package/dist-types/models/enums.d.ts +94 -0
  50. package/dist-types/models/models_0.d.ts +472 -1
  51. package/dist-types/pagination/ListComplianceInquiriesPaginator.d.ts +7 -0
  52. package/dist-types/pagination/ListComplianceInquiryQueriesPaginator.d.ts +7 -0
  53. package/dist-types/pagination/index.d.ts +2 -0
  54. package/dist-types/schemas/schemas_0.d.ts +32 -1
  55. package/dist-types/ts3.4/Artifact.d.ts +151 -0
  56. package/dist-types/ts3.4/ArtifactClient.d.ts +50 -2
  57. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  58. package/dist-types/ts3.4/commands/CreateComplianceInquiryCommand.d.ts +44 -0
  59. package/dist-types/ts3.4/commands/ExportComplianceInquiryCommand.d.ts +44 -0
  60. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetComplianceInquiryMetadataCommand.d.ts +44 -0
  62. package/dist-types/ts3.4/commands/GetReportCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/GetReportMetadataCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetTermForReportCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListComplianceInquiriesCommand.d.ts +44 -0
  66. package/dist-types/ts3.4/commands/ListComplianceInquiryQueriesCommand.d.ts +44 -0
  67. package/dist-types/ts3.4/commands/ListCustomerAgreementsCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListReportVersionsCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +44 -0
  71. package/dist-types/ts3.4/commands/PutAccountSettingsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +40 -0
  73. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +43 -0
  74. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  75. package/dist-types/ts3.4/index.d.ts +1 -0
  76. package/dist-types/ts3.4/models/enums.d.ts +48 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +137 -0
  78. package/dist-types/ts3.4/pagination/ListComplianceInquiriesPaginator.d.ts +11 -0
  79. package/dist-types/ts3.4/pagination/ListComplianceInquiryQueriesPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  81. package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  82. package/package.json +8 -8
@@ -0,0 +1,145 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListComplianceInquiryQueriesRequest, ListComplianceInquiryQueriesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListComplianceInquiryQueriesCommand}.
11
+ */
12
+ export interface ListComplianceInquiryQueriesCommandInput extends ListComplianceInquiryQueriesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListComplianceInquiryQueriesCommand}.
18
+ */
19
+ export interface ListComplianceInquiryQueriesCommandOutput extends ListComplianceInquiryQueriesResponse, __MetadataBearer {
20
+ }
21
+ declare const ListComplianceInquiryQueriesCommand_base: {
22
+ new (input: ListComplianceInquiryQueriesCommandInput): import("@smithy/core/client").CommandImpl<ListComplianceInquiryQueriesCommandInput, ListComplianceInquiryQueriesCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListComplianceInquiryQueriesCommandInput): import("@smithy/core/client").CommandImpl<ListComplianceInquiryQueriesCommandInput, ListComplianceInquiryQueriesCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>List queries within a compliance inquiry.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ArtifactClient, ListComplianceInquiryQueriesCommand } from "@aws-sdk/client-artifact"; // ES Modules import
32
+ * // const { ArtifactClient, ListComplianceInquiryQueriesCommand } = require("@aws-sdk/client-artifact"); // CommonJS import
33
+ * // import type { ArtifactClientConfig } from "@aws-sdk/client-artifact";
34
+ * const config = {}; // type is ArtifactClientConfig
35
+ * const client = new ArtifactClient(config);
36
+ * const input = { // ListComplianceInquiryQueriesRequest
37
+ * complianceInquiryId: "STRING_VALUE", // required
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListComplianceInquiryQueriesCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListComplianceInquiryQueriesResponse
44
+ * // queries: [ // QueriesList
45
+ * // { // QuerySummary
46
+ * // queryIdentifier: Number("int"), // required
47
+ * // query: "STRING_VALUE", // required
48
+ * // response: "STRING_VALUE",
49
+ * // reviewType: "HUMAN" || "AI",
50
+ * // citations: [ // CitationList
51
+ * // { // Citation
52
+ * // sourceLabel: "STRING_VALUE",
53
+ * // sourceContent: "STRING_VALUE",
54
+ * // sourceLink: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // status: "PROCESSING" || "COMPLETED" || "FAILED", // required
58
+ * // statusMessage: "Query processing is complete." || "Query processing is in-progress." || "An internal error occurred while processing the query. Try again at a later time." || "Query is pending human review." || "Query contains restricted or unsupported content.", // required
59
+ * // createdAt: new Date("TIMESTAMP"), // required
60
+ * // updatedResponseVersions: [ // ResponseVersionList
61
+ * // { // ResponseVersion
62
+ * // responseText: "STRING_VALUE", // required
63
+ * // timestamp: new Date("TIMESTAMP"), // required
64
+ * // },
65
+ * // ],
66
+ * // },
67
+ * // ],
68
+ * // nextToken: "STRING_VALUE",
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param ListComplianceInquiryQueriesCommandInput - {@link ListComplianceInquiryQueriesCommandInput}
74
+ * @returns {@link ListComplianceInquiryQueriesCommandOutput}
75
+ * @see {@link ListComplianceInquiryQueriesCommandInput} for command's `input` shape.
76
+ * @see {@link ListComplianceInquiryQueriesCommandOutput} for command's `response` shape.
77
+ * @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
78
+ *
79
+ * @throws {@link AccessDeniedException} (client fault)
80
+ * <p>User does not have sufficient access to perform this action.</p>
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p>An unknown server exception has occurred.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>Request references a resource which does not exist.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>Request was denied due to request throttling.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>Request fails to satisfy the constraints specified by an AWS service.</p>
93
+ *
94
+ * @throws {@link ArtifactServiceException}
95
+ * <p>Base exception class for all service exceptions from Artifact service.</p>
96
+ *
97
+ *
98
+ * @example Invoke ListComplianceInquiryQueries operation
99
+ * ```javascript
100
+ * // Lists queries within a compliance inquiry.
101
+ * const input = {
102
+ * complianceInquiryId: "compliance-inquiry-abcdef0123456789",
103
+ * maxResults: 10
104
+ * };
105
+ * const command = new ListComplianceInquiryQueriesCommand(input);
106
+ * const response = await client.send(command);
107
+ * /* response is
108
+ * {
109
+ * queries: [
110
+ * {
111
+ * citations: [
112
+ * {
113
+ * sourceContent: "Relevant compliance content...",
114
+ * sourceLabel: "SOC 2 Type II Report",
115
+ * sourceLink: "https://example.com/soc2"
116
+ * }
117
+ * ],
118
+ * createdAt: "2026-03-24T12:00:00Z",
119
+ * query: "Is my workload compliant with SOC 2?",
120
+ * queryIdentifier: 1,
121
+ * response: "Based on the available compliance documentation...",
122
+ * reviewType: "AI",
123
+ * status: "COMPLETED",
124
+ * statusMessage: "Query processing is complete."
125
+ * }
126
+ * ]
127
+ * }
128
+ * *\/
129
+ * ```
130
+ *
131
+ * @public
132
+ */
133
+ export declare class ListComplianceInquiryQueriesCommand extends ListComplianceInquiryQueriesCommand_base {
134
+ /** @internal type navigation helper, not in runtime. */
135
+ protected static __types: {
136
+ api: {
137
+ input: ListComplianceInquiryQueriesRequest;
138
+ output: ListComplianceInquiryQueriesResponse;
139
+ };
140
+ sdk: {
141
+ input: ListComplianceInquiryQueriesCommandInput;
142
+ output: ListComplianceInquiryQueriesCommandOutput;
143
+ };
144
+ };
145
+ }
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
4
2
  import type { ListCustomerAgreementsRequest, ListCustomerAgreementsResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListCustomerAgreementsCommandInput extends ListCustomerAgreemen
22
19
  export interface ListCustomerAgreementsCommandOutput extends ListCustomerAgreementsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListCustomerAgreementsCommand_base: {
25
- new (input: ListCustomerAgreementsCommandInput): import("@smithy/core/client").CommandImpl<ListCustomerAgreementsCommandInput, ListCustomerAgreementsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListCustomerAgreementsCommandInput]): import("@smithy/core/client").CommandImpl<ListCustomerAgreementsCommandInput, ListCustomerAgreementsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListCustomerAgreementsCommandInput): import("@smithy/core/client").CommandImpl<ListCustomerAgreementsCommandInput, ListCustomerAgreementsCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListCustomerAgreementsCommandInput]): import("@smithy/core/client").CommandImpl<ListCustomerAgreementsCommandInput, ListCustomerAgreementsCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>List active customer-agreements applicable to calling identity.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
4
2
  import type { ListReportVersionsRequest, ListReportVersionsResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListReportVersionsCommandInput extends ListReportVersionsReques
22
19
  export interface ListReportVersionsCommandOutput extends ListReportVersionsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListReportVersionsCommand_base: {
25
- new (input: ListReportVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListReportVersionsCommandInput, ListReportVersionsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListReportVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListReportVersionsCommandInput, ListReportVersionsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListReportVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListReportVersionsCommandInput, ListReportVersionsCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListReportVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListReportVersionsCommandInput, ListReportVersionsCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>List available report versions for a given report.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
4
2
  import type { ListReportsRequest, ListReportsResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListReportsCommandInput extends ListReportsRequest {
22
19
  export interface ListReportsCommandOutput extends ListReportsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListReportsCommand_base: {
25
- new (input: ListReportsCommandInput): import("@smithy/core/client").CommandImpl<ListReportsCommandInput, ListReportsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListReportsCommandInput]): import("@smithy/core/client").CommandImpl<ListReportsCommandInput, ListReportsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListReportsCommandInput): import("@smithy/core/client").CommandImpl<ListReportsCommandInput, ListReportsCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListReportsCommandInput]): import("@smithy/core/client").CommandImpl<ListReportsCommandInput, ListReportsCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>List available reports.</p>
@@ -0,0 +1,88 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListTagsForResourceCommand}.
11
+ */
12
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListTagsForResourceCommand}.
18
+ */
19
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
20
+ }
21
+ declare const ListTagsForResourceCommand_base: {
22
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>List tags for a resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ArtifactClient, ListTagsForResourceCommand } from "@aws-sdk/client-artifact"; // ES Modules import
32
+ * // const { ArtifactClient, ListTagsForResourceCommand } = require("@aws-sdk/client-artifact"); // CommonJS import
33
+ * // import type { ArtifactClientConfig } from "@aws-sdk/client-artifact";
34
+ * const config = {}; // type is ArtifactClientConfig
35
+ * const client = new ArtifactClient(config);
36
+ * const input = { // ListTagsForResourceRequest
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new ListTagsForResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListTagsForResourceResponse
42
+ * // tags: { // TagsMap
43
+ * // "<keys>": "STRING_VALUE",
44
+ * // },
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
50
+ * @returns {@link ListTagsForResourceCommandOutput}
51
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
52
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>User does not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>An unknown server exception has occurred.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>Request references a resource which does not exist.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>Request was denied due to request throttling.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>Request fails to satisfy the constraints specified by an AWS service.</p>
69
+ *
70
+ * @throws {@link ArtifactServiceException}
71
+ * <p>Base exception class for all service exceptions from Artifact service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: ListTagsForResourceRequest;
81
+ output: ListTagsForResourceResponse;
82
+ };
83
+ sdk: {
84
+ input: ListTagsForResourceCommandInput;
85
+ output: ListTagsForResourceCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
4
2
  import type { PutAccountSettingsRequest, PutAccountSettingsResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface PutAccountSettingsCommandInput extends PutAccountSettingsReques
22
19
  export interface PutAccountSettingsCommandOutput extends PutAccountSettingsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const PutAccountSettingsCommand_base: {
25
- new (input: PutAccountSettingsCommandInput): import("@smithy/core/client").CommandImpl<PutAccountSettingsCommandInput, PutAccountSettingsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [PutAccountSettingsCommandInput]): import("@smithy/core/client").CommandImpl<PutAccountSettingsCommandInput, PutAccountSettingsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: PutAccountSettingsCommandInput): import("@smithy/core/client").CommandImpl<PutAccountSettingsCommandInput, PutAccountSettingsCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [PutAccountSettingsCommandInput]): import("@smithy/core/client").CommandImpl<PutAccountSettingsCommandInput, PutAccountSettingsCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Put the account settings for Artifact.</p>
@@ -0,0 +1,87 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link TagResourceCommand}.
11
+ */
12
+ export interface TagResourceCommandInput extends TagResourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link TagResourceCommand}.
18
+ */
19
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
20
+ }
21
+ declare const TagResourceCommand_base: {
22
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Add tags to a resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ArtifactClient, TagResourceCommand } from "@aws-sdk/client-artifact"; // ES Modules import
32
+ * // const { ArtifactClient, TagResourceCommand } = require("@aws-sdk/client-artifact"); // CommonJS import
33
+ * // import type { ArtifactClientConfig } from "@aws-sdk/client-artifact";
34
+ * const config = {}; // type is ArtifactClientConfig
35
+ * const client = new ArtifactClient(config);
36
+ * const input = { // TagResourceRequest
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tags: { // TagsMap // required
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * };
42
+ * const command = new TagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
49
+ * @returns {@link TagResourceCommandOutput}
50
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
52
+ * @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>User does not have sufficient access to perform this action.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>An unknown server exception has occurred.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>Request references a resource which does not exist.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>Request was denied due to request throttling.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>Request fails to satisfy the constraints specified by an AWS service.</p>
68
+ *
69
+ * @throws {@link ArtifactServiceException}
70
+ * <p>Base exception class for all service exceptions from Artifact service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class TagResourceCommand extends TagResourceCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: TagResourceRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: TagResourceCommandInput;
84
+ output: TagResourceCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -0,0 +1,87 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UntagResourceCommand}.
11
+ */
12
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UntagResourceCommand}.
18
+ */
19
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
20
+ }
21
+ declare const UntagResourceCommand_base: {
22
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Remove tags from a resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ArtifactClient, UntagResourceCommand } from "@aws-sdk/client-artifact"; // ES Modules import
32
+ * // const { ArtifactClient, UntagResourceCommand } = require("@aws-sdk/client-artifact"); // CommonJS import
33
+ * // import type { ArtifactClientConfig } from "@aws-sdk/client-artifact";
34
+ * const config = {}; // type is ArtifactClientConfig
35
+ * const client = new ArtifactClient(config);
36
+ * const input = { // UntagResourceRequest
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tagKeys: [ // TagKeys // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new UntagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
49
+ * @returns {@link UntagResourceCommandOutput}
50
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
52
+ * @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>User does not have sufficient access to perform this action.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>An unknown server exception has occurred.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>Request references a resource which does not exist.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>Request was denied due to request throttling.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>Request fails to satisfy the constraints specified by an AWS service.</p>
68
+ *
69
+ * @throws {@link ArtifactServiceException}
70
+ * <p>Base exception class for all service exceptions from Artifact service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: UntagResourceRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: UntagResourceCommandInput;
84
+ output: UntagResourceCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -1,8 +1,16 @@
1
+ export * from "./CreateComplianceInquiryCommand";
2
+ export * from "./ExportComplianceInquiryCommand";
1
3
  export * from "./GetAccountSettingsCommand";
4
+ export * from "./GetComplianceInquiryMetadataCommand";
2
5
  export * from "./GetReportCommand";
3
6
  export * from "./GetReportMetadataCommand";
4
7
  export * from "./GetTermForReportCommand";
8
+ export * from "./ListComplianceInquiriesCommand";
9
+ export * from "./ListComplianceInquiryQueriesCommand";
5
10
  export * from "./ListCustomerAgreementsCommand";
6
11
  export * from "./ListReportVersionsCommand";
7
12
  export * from "./ListReportsCommand";
13
+ export * from "./ListTagsForResourceCommand";
8
14
  export * from "./PutAccountSettingsCommand";
15
+ export * from "./TagResourceCommand";
16
+ export * from "./UntagResourceCommand";
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ArtifactExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
12
13
  export * from "./schemas/schemas_0";
13
14
  export * from "./pagination";
14
15
  export * from "./models/enums";
@@ -58,6 +58,100 @@ export declare const AgreementType: {
58
58
  * @public
59
59
  */
60
60
  export type AgreementType = (typeof AgreementType)[keyof typeof AgreementType];
61
+ /**
62
+ * @public
63
+ * @enum
64
+ */
65
+ export declare const InquirySupportMode: {
66
+ readonly AI_ONLY: "AI_ONLY";
67
+ readonly FULL_SUPPORT: "FULL_SUPPORT";
68
+ };
69
+ /**
70
+ * @public
71
+ */
72
+ export type InquirySupportMode = (typeof InquirySupportMode)[keyof typeof InquirySupportMode];
73
+ /**
74
+ * @public
75
+ * @enum
76
+ */
77
+ export declare const InputSource: {
78
+ readonly FILE: "FILE";
79
+ readonly TEXT: "TEXT";
80
+ };
81
+ /**
82
+ * @public
83
+ */
84
+ export type InputSource = (typeof InputSource)[keyof typeof InputSource];
85
+ /**
86
+ * @public
87
+ * @enum
88
+ */
89
+ export declare const InquiryStatus: {
90
+ readonly COMPLETED: "COMPLETED";
91
+ readonly FAILED: "FAILED";
92
+ readonly HUMAN_REVIEW: "HUMAN_REVIEW";
93
+ readonly PROCESSING: "PROCESSING";
94
+ };
95
+ /**
96
+ * @public
97
+ */
98
+ export type InquiryStatus = (typeof InquiryStatus)[keyof typeof InquiryStatus];
99
+ /**
100
+ * @public
101
+ * @enum
102
+ */
103
+ export declare const InquiryStatusMessage: {
104
+ readonly COMPLETED_WITH_ERRORS: "Compliance inquiry processing is complete. One or more queries encountered errors during processing.";
105
+ readonly HUMAN_REVIEW_IN_PROGRESS: "Human review is in progress.";
106
+ readonly INTERNAL_ERROR: "An internal error occurred while processing the inquiry. Try again at a later time.";
107
+ readonly IN_PROGRESS: "Compliance inquiry processing is in-progress.";
108
+ readonly MALWARE_DETECTED_ERROR: "Malware was detected on the file. Provide a new file and try again.";
109
+ readonly SUCCESS: "Compliance inquiry processing is complete.";
110
+ };
111
+ /**
112
+ * @public
113
+ */
114
+ export type InquiryStatusMessage = (typeof InquiryStatusMessage)[keyof typeof InquiryStatusMessage];
115
+ /**
116
+ * @public
117
+ * @enum
118
+ */
119
+ export declare const ReviewType: {
120
+ readonly AI: "AI";
121
+ readonly HUMAN: "HUMAN";
122
+ };
123
+ /**
124
+ * @public
125
+ */
126
+ export type ReviewType = (typeof ReviewType)[keyof typeof ReviewType];
127
+ /**
128
+ * @public
129
+ * @enum
130
+ */
131
+ export declare const QueryStatus: {
132
+ readonly COMPLETED: "COMPLETED";
133
+ readonly FAILED: "FAILED";
134
+ readonly PROCESSING: "PROCESSING";
135
+ };
136
+ /**
137
+ * @public
138
+ */
139
+ export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
140
+ /**
141
+ * @public
142
+ * @enum
143
+ */
144
+ export declare const QueryStatusMessage: {
145
+ readonly INTERNAL_ERROR: "An internal error occurred while processing the query. Try again at a later time.";
146
+ readonly IN_PROGRESS: "Query processing is in-progress.";
147
+ readonly PENDING_HUMAN_REVIEW: "Query is pending human review.";
148
+ readonly RESTRICTED: "Query contains restricted or unsupported content.";
149
+ readonly SUCCESS: "Query processing is complete.";
150
+ };
151
+ /**
152
+ * @public
153
+ */
154
+ export type QueryStatusMessage = (typeof QueryStatusMessage)[keyof typeof QueryStatusMessage];
61
155
  /**
62
156
  * @public
63
157
  * @enum