@aws-sdk/client-inspector 3.408.0 → 3.409.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://inspector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://inspector-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://inspector.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://inspector.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://inspector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://inspector-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://inspector.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://inspector.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://inspector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://inspector-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://inspector.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://inspector.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://inspector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://inspector-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://inspector.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://inspector.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -47,7 +47,7 @@ export interface AddAttributesToFindingsCommandOutput extends AddAttributesToFin
47
47
  * // { // AddAttributesToFindingsResponse
48
48
  * // failedItems: { // FailedItems // required
49
49
  * // "<keys>": { // FailedItemDetails
50
- * // failureCode: "STRING_VALUE", // required
50
+ * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required
51
51
  * // retryable: true || false, // required
52
52
  * // },
53
53
  * // },
@@ -44,7 +44,7 @@ export interface DescribeAssessmentRunsCommandOutput extends DescribeAssessmentR
44
44
  * // arn: "STRING_VALUE", // required
45
45
  * // name: "STRING_VALUE", // required
46
46
  * // assessmentTemplateArn: "STRING_VALUE", // required
47
- * // state: "STRING_VALUE", // required
47
+ * // state: "CREATED" || "START_DATA_COLLECTION_PENDING" || "START_DATA_COLLECTION_IN_PROGRESS" || "COLLECTING_DATA" || "STOP_DATA_COLLECTION_PENDING" || "DATA_COLLECTED" || "START_EVALUATING_RULES_PENDING" || "EVALUATING_RULES" || "FAILED" || "ERROR" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "CANCELED", // required
48
48
  * // durationInSeconds: Number("int"), // required
49
49
  * // rulesPackageArns: [ // AssessmentRulesPackageArnList // required
50
50
  * // "STRING_VALUE",
@@ -63,17 +63,17 @@ export interface DescribeAssessmentRunsCommandOutput extends DescribeAssessmentR
63
63
  * // stateChanges: [ // AssessmentRunStateChangeList // required
64
64
  * // { // AssessmentRunStateChange
65
65
  * // stateChangedAt: new Date("TIMESTAMP"), // required
66
- * // state: "STRING_VALUE", // required
66
+ * // state: "CREATED" || "START_DATA_COLLECTION_PENDING" || "START_DATA_COLLECTION_IN_PROGRESS" || "COLLECTING_DATA" || "STOP_DATA_COLLECTION_PENDING" || "DATA_COLLECTED" || "START_EVALUATING_RULES_PENDING" || "EVALUATING_RULES" || "FAILED" || "ERROR" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "CANCELED", // required
67
67
  * // },
68
68
  * // ],
69
69
  * // notifications: [ // AssessmentRunNotificationList // required
70
70
  * // { // AssessmentRunNotification
71
71
  * // date: new Date("TIMESTAMP"), // required
72
- * // event: "STRING_VALUE", // required
72
+ * // event: "ASSESSMENT_RUN_STARTED" || "ASSESSMENT_RUN_COMPLETED" || "ASSESSMENT_RUN_STATE_CHANGED" || "FINDING_REPORTED" || "OTHER", // required
73
73
  * // message: "STRING_VALUE",
74
74
  * // error: true || false, // required
75
75
  * // snsTopicArn: "STRING_VALUE",
76
- * // snsPublishStatusCode: "STRING_VALUE",
76
+ * // snsPublishStatusCode: "SUCCESS" || "TOPIC_DOES_NOT_EXIST" || "ACCESS_DENIED" || "INTERNAL_ERROR",
77
77
  * // },
78
78
  * // ],
79
79
  * // findingCounts: { // AssessmentRunFindingCounts // required
@@ -83,7 +83,7 @@ export interface DescribeAssessmentRunsCommandOutput extends DescribeAssessmentR
83
83
  * // ],
84
84
  * // failedItems: { // FailedItems // required
85
85
  * // "<keys>": { // FailedItemDetails
86
- * // failureCode: "STRING_VALUE", // required
86
+ * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required
87
87
  * // retryable: true || false, // required
88
88
  * // },
89
89
  * // },
@@ -50,7 +50,7 @@ export interface DescribeAssessmentTargetsCommandOutput extends DescribeAssessme
50
50
  * // ],
51
51
  * // failedItems: { // FailedItems // required
52
52
  * // "<keys>": { // FailedItemDetails
53
- * // failureCode: "STRING_VALUE", // required
53
+ * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required
54
54
  * // retryable: true || false, // required
55
55
  * // },
56
56
  * // },
@@ -61,7 +61,7 @@ export interface DescribeAssessmentTemplatesCommandOutput extends DescribeAssess
61
61
  * // ],
62
62
  * // failedItems: { // FailedItems // required
63
63
  * // "<keys>": { // FailedItemDetails
64
- * // failureCode: "STRING_VALUE", // required
64
+ * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required
65
65
  * // retryable: true || false, // required
66
66
  * // },
67
67
  * // },
@@ -34,7 +34,7 @@ export interface DescribeExclusionsCommandOutput extends DescribeExclusionsRespo
34
34
  * exclusionArns: [ // BatchDescribeExclusionsArnList // required
35
35
  * "STRING_VALUE",
36
36
  * ],
37
- * locale: "STRING_VALUE",
37
+ * locale: "EN_US",
38
38
  * };
39
39
  * const command = new DescribeExclusionsCommand(input);
40
40
  * const response = await client.send(command);
@@ -47,7 +47,7 @@ export interface DescribeExclusionsCommandOutput extends DescribeExclusionsRespo
47
47
  * // recommendation: "STRING_VALUE", // required
48
48
  * // scopes: [ // ScopeList // required
49
49
  * // { // Scope
50
- * // key: "STRING_VALUE",
50
+ * // key: "INSTANCE_ID" || "RULES_PACKAGE_ARN",
51
51
  * // value: "STRING_VALUE",
52
52
  * // },
53
53
  * // ],
@@ -61,7 +61,7 @@ export interface DescribeExclusionsCommandOutput extends DescribeExclusionsRespo
61
61
  * // },
62
62
  * // failedItems: { // FailedItems // required
63
63
  * // "<keys>": { // FailedItemDetails
64
- * // failureCode: "STRING_VALUE", // required
64
+ * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required
65
65
  * // retryable: true || false, // required
66
66
  * // },
67
67
  * // },
@@ -34,7 +34,7 @@ export interface DescribeFindingsCommandOutput extends DescribeFindingsResponse,
34
34
  * findingArns: [ // BatchDescribeArnList // required
35
35
  * "STRING_VALUE",
36
36
  * ],
37
- * locale: "STRING_VALUE",
37
+ * locale: "EN_US",
38
38
  * };
39
39
  * const command = new DescribeFindingsCommand(input);
40
40
  * const response = await client.send(command);
@@ -49,7 +49,7 @@ export interface DescribeFindingsCommandOutput extends DescribeFindingsResponse,
49
49
  * // assessmentRunArn: "STRING_VALUE",
50
50
  * // rulesPackageArn: "STRING_VALUE",
51
51
  * // },
52
- * // assetType: "STRING_VALUE",
52
+ * // assetType: "ec2-instance",
53
53
  * // assetAttributes: { // AssetAttributes
54
54
  * // schemaVersion: Number("int"), // required
55
55
  * // agentId: "STRING_VALUE",
@@ -96,7 +96,7 @@ export interface DescribeFindingsCommandOutput extends DescribeFindingsResponse,
96
96
  * // title: "STRING_VALUE",
97
97
  * // description: "STRING_VALUE",
98
98
  * // recommendation: "STRING_VALUE",
99
- * // severity: "STRING_VALUE",
99
+ * // severity: "Low" || "Medium" || "High" || "Informational" || "Undefined",
100
100
  * // numericSeverity: Number("double"),
101
101
  * // confidence: Number("int"),
102
102
  * // indicatorOfCompromise: true || false,
@@ -118,7 +118,7 @@ export interface DescribeFindingsCommandOutput extends DescribeFindingsResponse,
118
118
  * // ],
119
119
  * // failedItems: { // FailedItems // required
120
120
  * // "<keys>": { // FailedItemDetails
121
- * // failureCode: "STRING_VALUE", // required
121
+ * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required
122
122
  * // retryable: true || false, // required
123
123
  * // },
124
124
  * // },
@@ -53,7 +53,7 @@ export interface DescribeResourceGroupsCommandOutput extends DescribeResourceGro
53
53
  * // ],
54
54
  * // failedItems: { // FailedItems // required
55
55
  * // "<keys>": { // FailedItemDetails
56
- * // failureCode: "STRING_VALUE", // required
56
+ * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required
57
57
  * // retryable: true || false, // required
58
58
  * // },
59
59
  * // },
@@ -35,7 +35,7 @@ export interface DescribeRulesPackagesCommandOutput extends DescribeRulesPackage
35
35
  * rulesPackageArns: [ // BatchDescribeArnList // required
36
36
  * "STRING_VALUE",
37
37
  * ],
38
- * locale: "STRING_VALUE",
38
+ * locale: "EN_US",
39
39
  * };
40
40
  * const command = new DescribeRulesPackagesCommand(input);
41
41
  * const response = await client.send(command);
@@ -51,7 +51,7 @@ export interface DescribeRulesPackagesCommandOutput extends DescribeRulesPackage
51
51
  * // ],
52
52
  * // failedItems: { // FailedItems // required
53
53
  * // "<keys>": { // FailedItemDetails
54
- * // failureCode: "STRING_VALUE", // required
54
+ * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required
55
55
  * // retryable: true || false, // required
56
56
  * // },
57
57
  * // },
@@ -33,13 +33,13 @@ export interface GetAssessmentReportCommandOutput extends GetAssessmentReportRes
33
33
  * const client = new InspectorClient(config);
34
34
  * const input = { // GetAssessmentReportRequest
35
35
  * assessmentRunArn: "STRING_VALUE", // required
36
- * reportFileFormat: "STRING_VALUE", // required
37
- * reportType: "STRING_VALUE", // required
36
+ * reportFileFormat: "HTML" || "PDF", // required
37
+ * reportType: "FINDING" || "FULL", // required
38
38
  * };
39
39
  * const command = new GetAssessmentReportCommand(input);
40
40
  * const response = await client.send(command);
41
41
  * // { // GetAssessmentReportResponse
42
- * // status: "STRING_VALUE", // required
42
+ * // status: "WORK_IN_PROGRESS" || "FAILED" || "COMPLETED", // required
43
43
  * // url: "STRING_VALUE",
44
44
  * // };
45
45
  *
@@ -37,12 +37,12 @@ export interface GetExclusionsPreviewCommandOutput extends GetExclusionsPreviewR
37
37
  * previewToken: "STRING_VALUE", // required
38
38
  * nextToken: "STRING_VALUE",
39
39
  * maxResults: Number("int"),
40
- * locale: "STRING_VALUE",
40
+ * locale: "EN_US",
41
41
  * };
42
42
  * const command = new GetExclusionsPreviewCommand(input);
43
43
  * const response = await client.send(command);
44
44
  * // { // GetExclusionsPreviewResponse
45
- * // previewStatus: "STRING_VALUE", // required
45
+ * // previewStatus: "WORK_IN_PROGRESS" || "COMPLETED", // required
46
46
  * // exclusionPreviews: [ // ExclusionPreviewList
47
47
  * // { // ExclusionPreview
48
48
  * // title: "STRING_VALUE", // required
@@ -50,7 +50,7 @@ export interface GetExclusionsPreviewCommandOutput extends GetExclusionsPreviewR
50
50
  * // recommendation: "STRING_VALUE", // required
51
51
  * // scopes: [ // ScopeList // required
52
52
  * // { // Scope
53
- * // key: "STRING_VALUE",
53
+ * // key: "INSTANCE_ID" || "RULES_PACKAGE_ARN",
54
54
  * // value: "STRING_VALUE",
55
55
  * // },
56
56
  * // ],
@@ -35,10 +35,10 @@ export interface ListAssessmentRunAgentsCommandOutput extends ListAssessmentRunA
35
35
  * assessmentRunArn: "STRING_VALUE", // required
36
36
  * filter: { // AgentFilter
37
37
  * agentHealths: [ // AgentHealthList // required
38
- * "STRING_VALUE",
38
+ * "HEALTHY" || "UNHEALTHY" || "UNKNOWN",
39
39
  * ],
40
40
  * agentHealthCodes: [ // AgentHealthCodeList // required
41
- * "STRING_VALUE",
41
+ * "IDLE" || "RUNNING" || "SHUTDOWN" || "UNHEALTHY" || "THROTTLED" || "UNKNOWN",
42
42
  * ],
43
43
  * },
44
44
  * nextToken: "STRING_VALUE",
@@ -51,8 +51,8 @@ export interface ListAssessmentRunAgentsCommandOutput extends ListAssessmentRunA
51
51
  * // { // AssessmentRunAgent
52
52
  * // agentId: "STRING_VALUE", // required
53
53
  * // assessmentRunArn: "STRING_VALUE", // required
54
- * // agentHealth: "STRING_VALUE", // required
55
- * // agentHealthCode: "STRING_VALUE", // required
54
+ * // agentHealth: "HEALTHY" || "UNHEALTHY" || "UNKNOWN", // required
55
+ * // agentHealthCode: "IDLE" || "RUNNING" || "SHUTDOWN" || "UNHEALTHY" || "THROTTLED" || "UNKNOWN", // required
56
56
  * // agentHealthDetails: "STRING_VALUE",
57
57
  * // autoScalingGroup: "STRING_VALUE",
58
58
  * // telemetryMetadata: [ // TelemetryMetadataList // required
@@ -38,7 +38,7 @@ export interface ListAssessmentRunsCommandOutput extends ListAssessmentRunsRespo
38
38
  * filter: { // AssessmentRunFilter
39
39
  * namePattern: "STRING_VALUE",
40
40
  * states: [ // AssessmentRunStateList
41
- * "STRING_VALUE",
41
+ * "CREATED" || "START_DATA_COLLECTION_PENDING" || "START_DATA_COLLECTION_IN_PROGRESS" || "COLLECTING_DATA" || "STOP_DATA_COLLECTION_PENDING" || "DATA_COLLECTED" || "START_EVALUATING_RULES_PENDING" || "EVALUATING_RULES" || "FAILED" || "ERROR" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "CANCELED",
42
42
  * ],
43
43
  * durationRange: { // DurationRange
44
44
  * minSeconds: Number("int"),
@@ -45,7 +45,7 @@ export interface ListEventSubscriptionsCommandOutput extends ListEventSubscripti
45
45
  * // topicArn: "STRING_VALUE", // required
46
46
  * // eventSubscriptions: [ // EventSubscriptionList // required
47
47
  * // { // EventSubscription
48
- * // event: "STRING_VALUE", // required
48
+ * // event: "ASSESSMENT_RUN_STARTED" || "ASSESSMENT_RUN_COMPLETED" || "ASSESSMENT_RUN_STATE_CHANGED" || "FINDING_REPORTED" || "OTHER", // required
49
49
  * // subscribedAt: new Date("TIMESTAMP"), // required
50
50
  * // },
51
51
  * // ],
@@ -46,7 +46,7 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
46
46
  * "STRING_VALUE",
47
47
  * ],
48
48
  * severities: [ // SeverityList
49
- * "STRING_VALUE",
49
+ * "Low" || "Medium" || "High" || "Informational" || "Undefined",
50
50
  * ],
51
51
  * rulesPackageArns: [ // FilterRulesPackageArnList
52
52
  * "STRING_VALUE",
@@ -44,7 +44,7 @@ export interface PreviewAgentsCommandOutput extends PreviewAgentsResponse, __Met
44
44
  * // hostname: "STRING_VALUE",
45
45
  * // agentId: "STRING_VALUE", // required
46
46
  * // autoScalingGroup: "STRING_VALUE",
47
- * // agentHealth: "STRING_VALUE",
47
+ * // agentHealth: "HEALTHY" || "UNHEALTHY" || "UNKNOWN",
48
48
  * // agentVersion: "STRING_VALUE",
49
49
  * // operatingSystem: "STRING_VALUE",
50
50
  * // kernelVersion: "STRING_VALUE",
@@ -44,7 +44,7 @@ export interface RemoveAttributesFromFindingsCommandOutput extends RemoveAttribu
44
44
  * // { // RemoveAttributesFromFindingsResponse
45
45
  * // failedItems: { // FailedItems // required
46
46
  * // "<keys>": { // FailedItemDetails
47
- * // failureCode: "STRING_VALUE", // required
47
+ * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required
48
48
  * // retryable: true || false, // required
49
49
  * // },
50
50
  * // },
@@ -33,7 +33,7 @@ export interface StopAssessmentRunCommandOutput extends __MetadataBearer {
33
33
  * const client = new InspectorClient(config);
34
34
  * const input = { // StopAssessmentRunRequest
35
35
  * assessmentRunArn: "STRING_VALUE", // required
36
- * stopAction: "STRING_VALUE",
36
+ * stopAction: "START_EVALUATION" || "SKIP_EVALUATION",
37
37
  * };
38
38
  * const command = new StopAssessmentRunCommand(input);
39
39
  * const response = await client.send(command);
@@ -33,7 +33,7 @@ export interface SubscribeToEventCommandOutput extends __MetadataBearer {
33
33
  * const client = new InspectorClient(config);
34
34
  * const input = { // SubscribeToEventRequest
35
35
  * resourceArn: "STRING_VALUE", // required
36
- * event: "STRING_VALUE", // required
36
+ * event: "ASSESSMENT_RUN_STARTED" || "ASSESSMENT_RUN_COMPLETED" || "ASSESSMENT_RUN_STATE_CHANGED" || "FINDING_REPORTED" || "OTHER", // required
37
37
  * topicArn: "STRING_VALUE", // required
38
38
  * };
39
39
  * const command = new SubscribeToEventCommand(input);
@@ -33,7 +33,7 @@ export interface UnsubscribeFromEventCommandOutput extends __MetadataBearer {
33
33
  * const client = new InspectorClient(config);
34
34
  * const input = { // UnsubscribeFromEventRequest
35
35
  * resourceArn: "STRING_VALUE", // required
36
- * event: "STRING_VALUE", // required
36
+ * event: "ASSESSMENT_RUN_STARTED" || "ASSESSMENT_RUN_COMPLETED" || "ASSESSMENT_RUN_STATE_CHANGED" || "FINDING_REPORTED" || "OTHER", // required
37
37
  * topicArn: "STRING_VALUE", // required
38
38
  * };
39
39
  * const command = new UnsubscribeFromEventCommand(input);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector",
3
3
  "description": "AWS SDK for JavaScript Inspector Client for Node.js, Browser and React Native",
4
- "version": "3.408.0",
4
+ "version": "3.409.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.408.0",
25
- "@aws-sdk/credential-provider-node": "3.408.0",
24
+ "@aws-sdk/client-sts": "3.409.0",
25
+ "@aws-sdk/credential-provider-node": "3.409.0",
26
26
  "@aws-sdk/middleware-host-header": "3.408.0",
27
27
  "@aws-sdk/middleware-logger": "3.408.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.408.0",