@aws-sdk/client-artifact 3.1076.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 (94) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +369 -93
  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/runtimeConfig.browser.js +0 -2
  28. package/dist-es/runtimeConfig.js +1 -2
  29. package/dist-es/runtimeConfig.native.js +0 -2
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-es/schemas/schemas_0.js +230 -8
  32. package/dist-types/Artifact.d.ts +71 -0
  33. package/dist-types/ArtifactClient.d.ts +10 -2
  34. package/dist-types/commandBuilder.d.ts +18 -0
  35. package/dist-types/commands/CreateComplianceInquiryCommand.d.ts +139 -0
  36. package/dist-types/commands/ExportComplianceInquiryCommand.d.ts +113 -0
  37. package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -8
  38. package/dist-types/commands/GetComplianceInquiryMetadataCommand.d.ts +124 -0
  39. package/dist-types/commands/GetReportCommand.d.ts +3 -8
  40. package/dist-types/commands/GetReportMetadataCommand.d.ts +3 -8
  41. package/dist-types/commands/GetTermForReportCommand.d.ts +3 -8
  42. package/dist-types/commands/ListComplianceInquiriesCommand.d.ts +123 -0
  43. package/dist-types/commands/ListComplianceInquiryQueriesCommand.d.ts +145 -0
  44. package/dist-types/commands/ListCustomerAgreementsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListReportVersionsCommand.d.ts +3 -8
  46. package/dist-types/commands/ListReportsCommand.d.ts +3 -8
  47. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  48. package/dist-types/commands/PutAccountSettingsCommand.d.ts +3 -8
  49. package/dist-types/commands/TagResourceCommand.d.ts +87 -0
  50. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  51. package/dist-types/commands/index.d.ts +8 -0
  52. package/dist-types/index.d.ts +1 -0
  53. package/dist-types/models/enums.d.ts +94 -0
  54. package/dist-types/models/models_0.d.ts +472 -1
  55. package/dist-types/pagination/ListComplianceInquiriesPaginator.d.ts +7 -0
  56. package/dist-types/pagination/ListComplianceInquiryQueriesPaginator.d.ts +7 -0
  57. package/dist-types/pagination/index.d.ts +2 -0
  58. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  59. package/dist-types/runtimeConfig.d.ts +1 -1
  60. package/dist-types/runtimeConfig.native.d.ts +1 -1
  61. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  62. package/dist-types/schemas/schemas_0.d.ts +32 -1
  63. package/dist-types/ts3.4/Artifact.d.ts +151 -0
  64. package/dist-types/ts3.4/ArtifactClient.d.ts +50 -2
  65. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  66. package/dist-types/ts3.4/commands/CreateComplianceInquiryCommand.d.ts +44 -0
  67. package/dist-types/ts3.4/commands/ExportComplianceInquiryCommand.d.ts +44 -0
  68. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetComplianceInquiryMetadataCommand.d.ts +44 -0
  70. package/dist-types/ts3.4/commands/GetReportCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/GetReportMetadataCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/GetTermForReportCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListComplianceInquiriesCommand.d.ts +44 -0
  74. package/dist-types/ts3.4/commands/ListComplianceInquiryQueriesCommand.d.ts +44 -0
  75. package/dist-types/ts3.4/commands/ListCustomerAgreementsCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/ListReportVersionsCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +44 -0
  79. package/dist-types/ts3.4/commands/PutAccountSettingsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +40 -0
  81. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +43 -0
  82. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  83. package/dist-types/ts3.4/index.d.ts +1 -0
  84. package/dist-types/ts3.4/models/enums.d.ts +48 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +137 -0
  86. package/dist-types/ts3.4/pagination/ListComplianceInquiriesPaginator.d.ts +11 -0
  87. package/dist-types/ts3.4/pagination/ListComplianceInquiryQueriesPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  89. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  90. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  91. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  92. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  93. package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  94. package/package.json +8 -10
@@ -0,0 +1,139 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateComplianceInquiryRequest, CreateComplianceInquiryResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateComplianceInquiryCommand}.
11
+ */
12
+ export interface CreateComplianceInquiryCommandInput extends CreateComplianceInquiryRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateComplianceInquiryCommand}.
18
+ */
19
+ export interface CreateComplianceInquiryCommandOutput extends CreateComplianceInquiryResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateComplianceInquiryCommand_base: {
22
+ new (input: CreateComplianceInquiryCommandInput): import("@smithy/core/client").CommandImpl<CreateComplianceInquiryCommandInput, CreateComplianceInquiryCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateComplianceInquiryCommandInput): import("@smithy/core/client").CommandImpl<CreateComplianceInquiryCommandInput, CreateComplianceInquiryCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Create a new 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, CreateComplianceInquiryCommand } from "@aws-sdk/client-artifact"; // ES Modules import
32
+ * // const { ArtifactClient, CreateComplianceInquiryCommand } = 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 = { // CreateComplianceInquiryRequest
37
+ * name: "STRING_VALUE", // required
38
+ * inquiryContent: { // InquiryContent Union: only one key present
39
+ * query: "STRING_VALUE",
40
+ * fileContent: { // InquiryFileContent
41
+ * fileSections: [ // FileSectionList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * content: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
45
+ * },
46
+ * },
47
+ * clientToken: "STRING_VALUE",
48
+ * supportMode: "AI_ONLY" || "FULL_SUPPORT",
49
+ * tags: { // TagsMap
50
+ * "<keys>": "STRING_VALUE",
51
+ * },
52
+ * };
53
+ * const command = new CreateComplianceInquiryCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // CreateComplianceInquiryResponse
56
+ * // complianceInquirySummary: { // InquirySummary
57
+ * // arn: "STRING_VALUE", // required
58
+ * // name: "STRING_VALUE", // required
59
+ * // id: "STRING_VALUE", // required
60
+ * // status: "PROCESSING" || "HUMAN_REVIEW" || "COMPLETED" || "FAILED", // required
61
+ * // statusMessage: "Compliance inquiry processing is complete." || "Malware was detected on the file. Provide a new file and try again." || "Compliance inquiry processing is in-progress." || "An internal error occurred while processing the inquiry. Try again at a later time." || "Human review is in progress." || "Compliance inquiry processing is complete. One or more queries encountered errors during processing.", // required
62
+ * // inputSource: "TEXT" || "FILE", // required
63
+ * // createdAt: new Date("TIMESTAMP"), // required
64
+ * // },
65
+ * // tags: { // TagsMap
66
+ * // "<keys>": "STRING_VALUE",
67
+ * // },
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param CreateComplianceInquiryCommandInput - {@link CreateComplianceInquiryCommandInput}
73
+ * @returns {@link CreateComplianceInquiryCommandOutput}
74
+ * @see {@link CreateComplianceInquiryCommandInput} for command's `input` shape.
75
+ * @see {@link CreateComplianceInquiryCommandOutput} for command's `response` shape.
76
+ * @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>User does not have sufficient access to perform this action.</p>
80
+ *
81
+ * @throws {@link ConflictException} (client fault)
82
+ * <p>Request to create/modify content would result in a conflict.</p>
83
+ *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * <p>An unknown server exception has occurred.</p>
86
+ *
87
+ * @throws {@link ThrottlingException} (client fault)
88
+ * <p>Request was denied due to request throttling.</p>
89
+ *
90
+ * @throws {@link ValidationException} (client fault)
91
+ * <p>Request fails to satisfy the constraints specified by an AWS service.</p>
92
+ *
93
+ * @throws {@link ArtifactServiceException}
94
+ * <p>Base exception class for all service exceptions from Artifact service.</p>
95
+ *
96
+ *
97
+ * @example Invoke CreateComplianceInquiry operation
98
+ * ```javascript
99
+ * // Creates a compliance inquiry with a single text query.
100
+ * const input = {
101
+ * clientToken: "unique-client-token-1234",
102
+ * inquiryContent: {
103
+ * query: "Is my workload compliant with SOC 2?"
104
+ * },
105
+ * name: "My Compliance Inquiry",
106
+ * supportMode: "AI_ONLY"
107
+ * };
108
+ * const command = new CreateComplianceInquiryCommand(input);
109
+ * const response = await client.send(command);
110
+ * /* response is
111
+ * {
112
+ * complianceInquirySummary: {
113
+ * arn: "arn:aws:artifact:us-east-1:123456789012:compliance-inquiry/compliance-inquiry-abcdef0123456789",
114
+ * createdAt: "2026-03-24T12:00:00Z",
115
+ * id: "compliance-inquiry-abcdef0123456789",
116
+ * inputSource: "TEXT",
117
+ * name: "My Compliance Inquiry",
118
+ * status: "PROCESSING",
119
+ * statusMessage: "Compliance inquiry processing is in-progress."
120
+ * }
121
+ * }
122
+ * *\/
123
+ * ```
124
+ *
125
+ * @public
126
+ */
127
+ export declare class CreateComplianceInquiryCommand extends CreateComplianceInquiryCommand_base {
128
+ /** @internal type navigation helper, not in runtime. */
129
+ protected static __types: {
130
+ api: {
131
+ input: CreateComplianceInquiryRequest;
132
+ output: CreateComplianceInquiryResponse;
133
+ };
134
+ sdk: {
135
+ input: CreateComplianceInquiryCommandInput;
136
+ output: CreateComplianceInquiryCommandOutput;
137
+ };
138
+ };
139
+ }
@@ -0,0 +1,113 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ExportComplianceInquiryRequest, ExportComplianceInquiryResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ExportComplianceInquiryCommand}.
11
+ */
12
+ export interface ExportComplianceInquiryCommandInput extends ExportComplianceInquiryRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ExportComplianceInquiryCommand}.
18
+ */
19
+ export interface ExportComplianceInquiryCommandOutput extends ExportComplianceInquiryResponse, __MetadataBearer {
20
+ }
21
+ declare const ExportComplianceInquiryCommand_base: {
22
+ new (input: ExportComplianceInquiryCommandInput): import("@smithy/core/client").CommandImpl<ExportComplianceInquiryCommandInput, ExportComplianceInquiryCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ExportComplianceInquiryCommandInput): import("@smithy/core/client").CommandImpl<ExportComplianceInquiryCommandInput, ExportComplianceInquiryCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Export a compliance inquiry report.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ArtifactClient, ExportComplianceInquiryCommand } from "@aws-sdk/client-artifact"; // ES Modules import
32
+ * // const { ArtifactClient, ExportComplianceInquiryCommand } = 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 = { // ExportComplianceInquiryRequest
37
+ * complianceInquiryId: "STRING_VALUE", // required
38
+ * queryIdentifiers: [ // QueryIdentifiersList
39
+ * Number("int"),
40
+ * ],
41
+ * includeCitations: true || false,
42
+ * };
43
+ * const command = new ExportComplianceInquiryCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ExportComplianceInquiryResponse
46
+ * // documentPresignedUrl: "STRING_VALUE",
47
+ * // tags: { // TagsMap
48
+ * // "<keys>": "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ExportComplianceInquiryCommandInput - {@link ExportComplianceInquiryCommandInput}
55
+ * @returns {@link ExportComplianceInquiryCommandOutput}
56
+ * @see {@link ExportComplianceInquiryCommandInput} for command's `input` shape.
57
+ * @see {@link ExportComplianceInquiryCommandOutput} for command's `response` shape.
58
+ * @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>User does not have sufficient access to perform this action.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>An unknown server exception has occurred.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>Request references a resource which does not exist.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>Request was denied due to request throttling.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>Request fails to satisfy the constraints specified by an AWS service.</p>
74
+ *
75
+ * @throws {@link ArtifactServiceException}
76
+ * <p>Base exception class for all service exceptions from Artifact service.</p>
77
+ *
78
+ *
79
+ * @example Invoke ExportComplianceInquiry operation
80
+ * ```javascript
81
+ * // Exports a compliance inquiry report.
82
+ * const input = {
83
+ * complianceInquiryId: "compliance-inquiry-abcdef0123456789",
84
+ * includeCitations: true,
85
+ * queryIdentifiers: [
86
+ * 1,
87
+ * 2
88
+ * ]
89
+ * };
90
+ * const command = new ExportComplianceInquiryCommand(input);
91
+ * const response = await client.send(command);
92
+ * /* response is
93
+ * {
94
+ * documentPresignedUrl: "https://s3.us-east-1.amazonaws.com/artifact-bucket/export.pdf?X-Amz-Signature=example"
95
+ * }
96
+ * *\/
97
+ * ```
98
+ *
99
+ * @public
100
+ */
101
+ export declare class ExportComplianceInquiryCommand extends ExportComplianceInquiryCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: ExportComplianceInquiryRequest;
106
+ output: ExportComplianceInquiryResponse;
107
+ };
108
+ sdk: {
109
+ input: ExportComplianceInquiryCommandInput;
110
+ output: ExportComplianceInquiryCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -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 { GetAccountSettingsRequest, GetAccountSettingsResponse } 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 GetAccountSettingsCommandInput extends GetAccountSettingsReques
22
19
  export interface GetAccountSettingsCommandOutput extends GetAccountSettingsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetAccountSettingsCommand_base: {
25
- new (input: GetAccountSettingsCommandInput): import("@smithy/core/client").CommandImpl<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetAccountSettingsCommandInput]): import("@smithy/core/client").CommandImpl<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetAccountSettingsCommandInput): import("@smithy/core/client").CommandImpl<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [GetAccountSettingsCommandInput]): import("@smithy/core/client").CommandImpl<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Get the account settings for Artifact.</p>
@@ -0,0 +1,124 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetComplianceInquiryMetadataRequest, GetComplianceInquiryMetadataResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetComplianceInquiryMetadataCommand}.
11
+ */
12
+ export interface GetComplianceInquiryMetadataCommandInput extends GetComplianceInquiryMetadataRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetComplianceInquiryMetadataCommand}.
18
+ */
19
+ export interface GetComplianceInquiryMetadataCommandOutput extends GetComplianceInquiryMetadataResponse, __MetadataBearer {
20
+ }
21
+ declare const GetComplianceInquiryMetadataCommand_base: {
22
+ new (input: GetComplianceInquiryMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetComplianceInquiryMetadataCommandInput, GetComplianceInquiryMetadataCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetComplianceInquiryMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetComplianceInquiryMetadataCommandInput, GetComplianceInquiryMetadataCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Get the metadata for a single 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, GetComplianceInquiryMetadataCommand } from "@aws-sdk/client-artifact"; // ES Modules import
32
+ * // const { ArtifactClient, GetComplianceInquiryMetadataCommand } = 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 = { // GetComplianceInquiryMetadataRequest
37
+ * complianceInquiryId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetComplianceInquiryMetadataCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetComplianceInquiryMetadataResponse
42
+ * // complianceInquiryDetail: { // InquiryDetail
43
+ * // arn: "STRING_VALUE", // required
44
+ * // name: "STRING_VALUE", // required
45
+ * // id: "STRING_VALUE", // required
46
+ * // status: "PROCESSING" || "HUMAN_REVIEW" || "COMPLETED" || "FAILED", // required
47
+ * // statusMessage: "Compliance inquiry processing is complete." || "Malware was detected on the file. Provide a new file and try again." || "Compliance inquiry processing is in-progress." || "An internal error occurred while processing the inquiry. Try again at a later time." || "Human review is in progress." || "Compliance inquiry processing is complete. One or more queries encountered errors during processing.", // required
48
+ * // inputSource: "TEXT" || "FILE", // required
49
+ * // createdAt: new Date("TIMESTAMP"), // required
50
+ * // updatedAt: new Date("TIMESTAMP"),
51
+ * // supportMode: "AI_ONLY" || "FULL_SUPPORT",
52
+ * // },
53
+ * // tags: { // TagsMap
54
+ * // "<keys>": "STRING_VALUE",
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param GetComplianceInquiryMetadataCommandInput - {@link GetComplianceInquiryMetadataCommandInput}
61
+ * @returns {@link GetComplianceInquiryMetadataCommandOutput}
62
+ * @see {@link GetComplianceInquiryMetadataCommandInput} for command's `input` shape.
63
+ * @see {@link GetComplianceInquiryMetadataCommandOutput} for command's `response` shape.
64
+ * @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>User does not have sufficient access to perform this action.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>An unknown server exception has occurred.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>Request references a resource which does not exist.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>Request was denied due to request throttling.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>Request fails to satisfy the constraints specified by an AWS service.</p>
80
+ *
81
+ * @throws {@link ArtifactServiceException}
82
+ * <p>Base exception class for all service exceptions from Artifact service.</p>
83
+ *
84
+ *
85
+ * @example Invoke GetComplianceInquiryMetadata operation
86
+ * ```javascript
87
+ * // Gets metadata for a compliance inquiry.
88
+ * const input = {
89
+ * complianceInquiryId: "compliance-inquiry-abcdef0123456789"
90
+ * };
91
+ * const command = new GetComplianceInquiryMetadataCommand(input);
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * {
95
+ * complianceInquiryDetail: {
96
+ * arn: "arn:aws:artifact:us-east-1:123456789012:compliance-inquiry/compliance-inquiry-abcdef0123456789",
97
+ * createdAt: "2026-03-24T12:00:00Z",
98
+ * id: "compliance-inquiry-abcdef0123456789",
99
+ * inputSource: "TEXT",
100
+ * name: "My Compliance Inquiry",
101
+ * status: "COMPLETED",
102
+ * statusMessage: "Compliance inquiry processing is complete.",
103
+ * supportMode: "AI_ONLY",
104
+ * updatedAt: "2026-03-24T12:05:00Z"
105
+ * }
106
+ * }
107
+ * *\/
108
+ * ```
109
+ *
110
+ * @public
111
+ */
112
+ export declare class GetComplianceInquiryMetadataCommand extends GetComplianceInquiryMetadataCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: GetComplianceInquiryMetadataRequest;
117
+ output: GetComplianceInquiryMetadataResponse;
118
+ };
119
+ sdk: {
120
+ input: GetComplianceInquiryMetadataCommandInput;
121
+ output: GetComplianceInquiryMetadataCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -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 { GetReportRequest, GetReportResponse } 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 GetReportCommandInput extends GetReportRequest {
22
19
  export interface GetReportCommandOutput extends GetReportResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetReportCommand_base: {
25
- new (input: GetReportCommandInput): import("@smithy/core/client").CommandImpl<GetReportCommandInput, GetReportCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetReportCommandInput): import("@smithy/core/client").CommandImpl<GetReportCommandInput, GetReportCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetReportCommandInput): import("@smithy/core/client").CommandImpl<GetReportCommandInput, GetReportCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetReportCommandInput): import("@smithy/core/client").CommandImpl<GetReportCommandInput, GetReportCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Get the content for a single 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 { GetReportMetadataRequest, GetReportMetadataResponse } 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 GetReportMetadataCommandInput extends GetReportMetadataRequest
22
19
  export interface GetReportMetadataCommandOutput extends GetReportMetadataResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetReportMetadataCommand_base: {
25
- new (input: GetReportMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetReportMetadataCommandInput, GetReportMetadataCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetReportMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetReportMetadataCommandInput, GetReportMetadataCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetReportMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetReportMetadataCommandInput, GetReportMetadataCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetReportMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetReportMetadataCommandInput, GetReportMetadataCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Get the metadata for a single 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 { GetTermForReportRequest, GetTermForReportResponse } 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 GetTermForReportCommandInput extends GetTermForReportRequest {
22
19
  export interface GetTermForReportCommandOutput extends GetTermForReportResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetTermForReportCommand_base: {
25
- new (input: GetTermForReportCommandInput): import("@smithy/core/client").CommandImpl<GetTermForReportCommandInput, GetTermForReportCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetTermForReportCommandInput): import("@smithy/core/client").CommandImpl<GetTermForReportCommandInput, GetTermForReportCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetTermForReportCommandInput): import("@smithy/core/client").CommandImpl<GetTermForReportCommandInput, GetTermForReportCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetTermForReportCommandInput): import("@smithy/core/client").CommandImpl<GetTermForReportCommandInput, GetTermForReportCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Get the Term content associated with a single report.</p>
@@ -0,0 +1,123 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListComplianceInquiriesRequest, ListComplianceInquiriesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListComplianceInquiriesCommand}.
11
+ */
12
+ export interface ListComplianceInquiriesCommandInput extends ListComplianceInquiriesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListComplianceInquiriesCommand}.
18
+ */
19
+ export interface ListComplianceInquiriesCommandOutput extends ListComplianceInquiriesResponse, __MetadataBearer {
20
+ }
21
+ declare const ListComplianceInquiriesCommand_base: {
22
+ new (input: ListComplianceInquiriesCommandInput): import("@smithy/core/client").CommandImpl<ListComplianceInquiriesCommandInput, ListComplianceInquiriesCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListComplianceInquiriesCommandInput]): import("@smithy/core/client").CommandImpl<ListComplianceInquiriesCommandInput, ListComplianceInquiriesCommandOutput, import("..").ArtifactClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>List available compliance inquiries.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ArtifactClient, ListComplianceInquiriesCommand } from "@aws-sdk/client-artifact"; // ES Modules import
32
+ * // const { ArtifactClient, ListComplianceInquiriesCommand } = 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 = { // ListComplianceInquiriesRequest
37
+ * maxResults: Number("int"),
38
+ * nextToken: "STRING_VALUE",
39
+ * };
40
+ * const command = new ListComplianceInquiriesCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListComplianceInquiriesResponse
43
+ * // complianceInquiries: [ // InquiriesList
44
+ * // { // InquirySummary
45
+ * // arn: "STRING_VALUE", // required
46
+ * // name: "STRING_VALUE", // required
47
+ * // id: "STRING_VALUE", // required
48
+ * // status: "PROCESSING" || "HUMAN_REVIEW" || "COMPLETED" || "FAILED", // required
49
+ * // statusMessage: "Compliance inquiry processing is complete." || "Malware was detected on the file. Provide a new file and try again." || "Compliance inquiry processing is in-progress." || "An internal error occurred while processing the inquiry. Try again at a later time." || "Human review is in progress." || "Compliance inquiry processing is complete. One or more queries encountered errors during processing.", // required
50
+ * // inputSource: "TEXT" || "FILE", // required
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // },
53
+ * // ],
54
+ * // nextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListComplianceInquiriesCommandInput - {@link ListComplianceInquiriesCommandInput}
60
+ * @returns {@link ListComplianceInquiriesCommandOutput}
61
+ * @see {@link ListComplianceInquiriesCommandInput} for command's `input` shape.
62
+ * @see {@link ListComplianceInquiriesCommandOutput} for command's `response` shape.
63
+ * @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>User does not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>An unknown server exception has occurred.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>Request references a resource which does not exist.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>Request was denied due to request throttling.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>Request fails to satisfy the constraints specified by an AWS service.</p>
79
+ *
80
+ * @throws {@link ArtifactServiceException}
81
+ * <p>Base exception class for all service exceptions from Artifact service.</p>
82
+ *
83
+ *
84
+ * @example Invoke ListComplianceInquiries operation
85
+ * ```javascript
86
+ * // Lists all compliance inquiries.
87
+ * const input = {
88
+ * maxResults: 10
89
+ * };
90
+ * const command = new ListComplianceInquiriesCommand(input);
91
+ * const response = await client.send(command);
92
+ * /* response is
93
+ * {
94
+ * complianceInquiries: [
95
+ * {
96
+ * arn: "arn:aws:artifact:us-east-1:123456789012:compliance-inquiry/compliance-inquiry-abcdef0123456789",
97
+ * createdAt: "2026-03-24T12:00:00Z",
98
+ * id: "compliance-inquiry-abcdef0123456789",
99
+ * inputSource: "TEXT",
100
+ * name: "My Compliance Inquiry",
101
+ * status: "COMPLETED",
102
+ * statusMessage: "Compliance inquiry processing is complete."
103
+ * }
104
+ * ]
105
+ * }
106
+ * *\/
107
+ * ```
108
+ *
109
+ * @public
110
+ */
111
+ export declare class ListComplianceInquiriesCommand extends ListComplianceInquiriesCommand_base {
112
+ /** @internal type navigation helper, not in runtime. */
113
+ protected static __types: {
114
+ api: {
115
+ input: ListComplianceInquiriesRequest;
116
+ output: ListComplianceInquiriesResponse;
117
+ };
118
+ sdk: {
119
+ input: ListComplianceInquiriesCommandInput;
120
+ output: ListComplianceInquiriesCommandOutput;
121
+ };
122
+ };
123
+ }