@aws-sdk/client-inspector 3.289.0 → 3.290.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.
- package/dist-types/commands/AddAttributesToFindingsCommand.d.ts +18 -0
- package/dist-types/commands/CreateAssessmentTargetCommand.d.ts +26 -0
- package/dist-types/commands/CreateAssessmentTemplateCommand.d.ts +22 -0
- package/dist-types/commands/CreateExclusionsPreviewCommand.d.ts +22 -0
- package/dist-types/commands/CreateResourceGroupCommand.d.ts +18 -0
- package/dist-types/commands/DeleteAssessmentRunCommand.d.ts +22 -0
- package/dist-types/commands/DeleteAssessmentTargetCommand.d.ts +22 -0
- package/dist-types/commands/DeleteAssessmentTemplateCommand.d.ts +22 -0
- package/dist-types/commands/DescribeAssessmentRunsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeAssessmentTargetsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeAssessmentTemplatesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeCrossAccountAccessRoleCommand.d.ts +4 -0
- package/dist-types/commands/DescribeExclusionsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeFindingsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeResourceGroupsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeRulesPackagesCommand.d.ts +8 -0
- package/dist-types/commands/GetAssessmentReportCommand.d.ts +29 -0
- package/dist-types/commands/GetExclusionsPreviewCommand.d.ts +15 -0
- package/dist-types/commands/GetTelemetryMetadataCommand.d.ts +15 -0
- package/dist-types/commands/ListAssessmentRunAgentsCommand.d.ts +15 -0
- package/dist-types/commands/ListAssessmentRunsCommand.d.ts +15 -0
- package/dist-types/commands/ListAssessmentTargetsCommand.d.ts +11 -0
- package/dist-types/commands/ListAssessmentTemplatesCommand.d.ts +15 -0
- package/dist-types/commands/ListEventSubscriptionsCommand.d.ts +15 -0
- package/dist-types/commands/ListExclusionsCommand.d.ts +15 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +15 -0
- package/dist-types/commands/ListRulesPackagesCommand.d.ts +11 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +15 -0
- package/dist-types/commands/PreviewAgentsCommand.d.ts +19 -0
- package/dist-types/commands/RegisterCrossAccountAccessRoleCommand.d.ts +18 -0
- package/dist-types/commands/RemoveAttributesFromFindingsCommand.d.ts +18 -0
- package/dist-types/commands/SetTagsForResourceCommand.d.ts +18 -0
- package/dist-types/commands/StartAssessmentRunCommand.d.ts +30 -0
- package/dist-types/commands/StopAssessmentRunCommand.d.ts +18 -0
- package/dist-types/commands/SubscribeToEventCommand.d.ts +22 -0
- package/dist-types/commands/UnsubscribeFromEventCommand.d.ts +18 -0
- package/dist-types/commands/UpdateAssessmentTargetCommand.d.ts +18 -0
- package/package.json +29 -29
|
@@ -30,6 +30,24 @@ export interface AddAttributesToFindingsCommandOutput extends AddAttributesToFin
|
|
|
30
30
|
* @see {@link AddAttributesToFindingsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
48
|
+
* <p>The serice is temporary unavailable.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
33
51
|
* @example Add attributes to findings
|
|
34
52
|
* ```javascript
|
|
35
53
|
* // Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
|
|
@@ -36,6 +36,32 @@ export interface CreateAssessmentTargetCommandOutput extends CreateAssessmentTar
|
|
|
36
36
|
* @see {@link CreateAssessmentTargetCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
40
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InternalException} (server fault)
|
|
43
|
+
* <p>Internal server error.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InvalidCrossAccountRoleException} (client fault)
|
|
46
|
+
* <p>Amazon Inspector cannot assume the cross-account role that it needs to list your EC2
|
|
47
|
+
* instances during the assessment run.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
50
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
51
|
+
* input parameter.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
54
|
+
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
55
|
+
* AWS account limits. The error code describes the limit exceeded.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
58
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
59
|
+
* error code describes the entity.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
62
|
+
* <p>The serice is temporary unavailable.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
39
65
|
* @example Create assessment target
|
|
40
66
|
* ```javascript
|
|
41
67
|
* // Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account.
|
|
@@ -32,6 +32,28 @@ export interface CreateAssessmentTemplateCommandOutput extends CreateAssessmentT
|
|
|
32
32
|
* @see {@link CreateAssessmentTemplateCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
36
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InternalException} (server fault)
|
|
39
|
+
* <p>Internal server error.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
42
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
43
|
+
* input parameter.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
46
|
+
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
47
|
+
* AWS account limits. The error code describes the limit exceeded.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
50
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
51
|
+
* error code describes the entity.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
54
|
+
* <p>The serice is temporary unavailable.</p>
|
|
55
|
+
*
|
|
56
|
+
*
|
|
35
57
|
* @example Create assessment template
|
|
36
58
|
* ```javascript
|
|
37
59
|
* // Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
|
|
@@ -31,6 +31,28 @@ export interface CreateExclusionsPreviewCommandOutput extends CreateExclusionsPr
|
|
|
31
31
|
* @see {@link CreateExclusionsPreviewCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
35
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InternalException} (server fault)
|
|
38
|
+
* <p>Internal server error.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
41
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
42
|
+
* input parameter.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
45
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
46
|
+
* error code describes the entity.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link PreviewGenerationInProgressException} (client fault)
|
|
49
|
+
* <p>The request is rejected. The specified assessment template is currently generating an
|
|
50
|
+
* exclusions preview.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
53
|
+
* <p>The serice is temporary unavailable.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
34
56
|
*/
|
|
35
57
|
export declare class CreateExclusionsPreviewCommand extends $Command<CreateExclusionsPreviewCommandInput, CreateExclusionsPreviewCommandOutput, InspectorClientResolvedConfig> {
|
|
36
58
|
readonly input: CreateExclusionsPreviewCommandInput;
|
|
@@ -32,6 +32,24 @@ export interface CreateResourceGroupCommandOutput extends CreateResourceGroupRes
|
|
|
32
32
|
* @see {@link CreateResourceGroupCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
36
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InternalException} (server fault)
|
|
39
|
+
* <p>Internal server error.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
42
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
43
|
+
* input parameter.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
46
|
+
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
47
|
+
* AWS account limits. The error code describes the limit exceeded.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
50
|
+
* <p>The serice is temporary unavailable.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
35
53
|
* @example Create resource group
|
|
36
54
|
* ```javascript
|
|
37
55
|
* // Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target.
|
|
@@ -30,6 +30,28 @@ export interface DeleteAssessmentRunCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* @see {@link DeleteAssessmentRunCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link AssessmentRunInProgressException} (client fault)
|
|
37
|
+
* <p>You cannot perform a specified action if an assessment run is currently in
|
|
38
|
+
* progress.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalException} (server fault)
|
|
41
|
+
* <p>Internal server error.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
44
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
45
|
+
* input parameter.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
48
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
49
|
+
* error code describes the entity.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
52
|
+
* <p>The serice is temporary unavailable.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
33
55
|
* @example Delete assessment run
|
|
34
56
|
* ```javascript
|
|
35
57
|
* // Deletes the assessment run that is specified by the ARN of the assessment run.
|
|
@@ -30,6 +30,28 @@ export interface DeleteAssessmentTargetCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* @see {@link DeleteAssessmentTargetCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link AssessmentRunInProgressException} (client fault)
|
|
37
|
+
* <p>You cannot perform a specified action if an assessment run is currently in
|
|
38
|
+
* progress.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalException} (server fault)
|
|
41
|
+
* <p>Internal server error.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
44
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
45
|
+
* input parameter.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
48
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
49
|
+
* error code describes the entity.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
52
|
+
* <p>The serice is temporary unavailable.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
33
55
|
* @example Delete assessment target
|
|
34
56
|
* ```javascript
|
|
35
57
|
* // Deletes the assessment target that is specified by the ARN of the assessment target.
|
|
@@ -30,6 +30,28 @@ export interface DeleteAssessmentTemplateCommandOutput extends __MetadataBearer
|
|
|
30
30
|
* @see {@link DeleteAssessmentTemplateCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link AssessmentRunInProgressException} (client fault)
|
|
37
|
+
* <p>You cannot perform a specified action if an assessment run is currently in
|
|
38
|
+
* progress.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalException} (server fault)
|
|
41
|
+
* <p>Internal server error.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
44
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
45
|
+
* input parameter.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
48
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
49
|
+
* error code describes the entity.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
52
|
+
* <p>The serice is temporary unavailable.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
33
55
|
* @example Delete assessment template
|
|
34
56
|
* ```javascript
|
|
35
57
|
* // Deletes the assessment template that is specified by the ARN of the assessment template.
|
|
@@ -30,6 +30,14 @@ export interface DescribeAssessmentRunsCommandOutput extends DescribeAssessmentR
|
|
|
30
30
|
* @see {@link DescribeAssessmentRunsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InternalException} (server fault)
|
|
34
|
+
* <p>Internal server error.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
37
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
38
|
+
* input parameter.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
33
41
|
* @example Describte assessment runs
|
|
34
42
|
* ```javascript
|
|
35
43
|
* // Describes the assessment runs that are specified by the ARNs of the assessment runs.
|
|
@@ -30,6 +30,14 @@ export interface DescribeAssessmentTargetsCommandOutput extends DescribeAssessme
|
|
|
30
30
|
* @see {@link DescribeAssessmentTargetsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InternalException} (server fault)
|
|
34
|
+
* <p>Internal server error.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
37
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
38
|
+
* input parameter.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
33
41
|
* @example Describte assessment targets
|
|
34
42
|
* ```javascript
|
|
35
43
|
* // Describes the assessment targets that are specified by the ARNs of the assessment targets.
|
|
@@ -30,6 +30,14 @@ export interface DescribeAssessmentTemplatesCommandOutput extends DescribeAssess
|
|
|
30
30
|
* @see {@link DescribeAssessmentTemplatesCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InternalException} (server fault)
|
|
34
|
+
* <p>Internal server error.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
37
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
38
|
+
* input parameter.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
33
41
|
* @example Describte assessment templates
|
|
34
42
|
* ```javascript
|
|
35
43
|
* // Describes the assessment templates that are specified by the ARNs of the assessment templates.
|
|
@@ -30,6 +30,10 @@ export interface DescribeCrossAccountAccessRoleCommandOutput extends DescribeCro
|
|
|
30
30
|
* @see {@link DescribeCrossAccountAccessRoleCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InternalException} (server fault)
|
|
34
|
+
* <p>Internal server error.</p>
|
|
35
|
+
*
|
|
36
|
+
*
|
|
33
37
|
* @example Describte cross account access role
|
|
34
38
|
* ```javascript
|
|
35
39
|
* // Describes the IAM role that enables Amazon Inspector to access your AWS account.
|
|
@@ -29,6 +29,14 @@ export interface DescribeExclusionsCommandOutput extends DescribeExclusionsRespo
|
|
|
29
29
|
* @see {@link DescribeExclusionsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalException} (server fault)
|
|
33
|
+
* <p>Internal server error.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
36
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
37
|
+
* input parameter.</p>
|
|
38
|
+
*
|
|
39
|
+
*
|
|
32
40
|
*/
|
|
33
41
|
export declare class DescribeExclusionsCommand extends $Command<DescribeExclusionsCommandInput, DescribeExclusionsCommandOutput, InspectorClientResolvedConfig> {
|
|
34
42
|
readonly input: DescribeExclusionsCommandInput;
|
|
@@ -29,6 +29,14 @@ export interface DescribeFindingsCommandOutput extends DescribeFindingsResponse,
|
|
|
29
29
|
* @see {@link DescribeFindingsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalException} (server fault)
|
|
33
|
+
* <p>Internal server error.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
36
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
37
|
+
* input parameter.</p>
|
|
38
|
+
*
|
|
39
|
+
*
|
|
32
40
|
* @example Describe findings
|
|
33
41
|
* ```javascript
|
|
34
42
|
* // Describes the findings that are specified by the ARNs of the findings.
|
|
@@ -30,6 +30,14 @@ export interface DescribeResourceGroupsCommandOutput extends DescribeResourceGro
|
|
|
30
30
|
* @see {@link DescribeResourceGroupsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InternalException} (server fault)
|
|
34
|
+
* <p>Internal server error.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
37
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
38
|
+
* input parameter.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
33
41
|
* @example Describe resource groups
|
|
34
42
|
* ```javascript
|
|
35
43
|
* // Describes the resource groups that are specified by the ARNs of the resource groups.
|
|
@@ -30,6 +30,14 @@ export interface DescribeRulesPackagesCommandOutput extends DescribeRulesPackage
|
|
|
30
30
|
* @see {@link DescribeRulesPackagesCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InternalException} (server fault)
|
|
34
|
+
* <p>Internal server error.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
37
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
38
|
+
* input parameter.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
33
41
|
* @example Describe rules packages
|
|
34
42
|
* ```javascript
|
|
35
43
|
* // Describes the rules packages that are specified by the ARNs of the rules packages.
|
|
@@ -30,6 +30,35 @@ export interface GetAssessmentReportCommandOutput extends GetAssessmentReportRes
|
|
|
30
30
|
* @see {@link GetAssessmentReportCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link AssessmentRunInProgressException} (client fault)
|
|
37
|
+
* <p>You cannot perform a specified action if an assessment run is currently in
|
|
38
|
+
* progress.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalException} (server fault)
|
|
41
|
+
* <p>Internal server error.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
44
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
45
|
+
* input parameter.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
48
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
49
|
+
* error code describes the entity.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
52
|
+
* <p>The serice is temporary unavailable.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
55
|
+
* <p>Used by the <a>GetAssessmentReport</a> API. The request was rejected
|
|
56
|
+
* because you tried to generate a report for an assessment run that existed before reporting
|
|
57
|
+
* was supported in Amazon Inspector. You can only generate reports for assessment runs that
|
|
58
|
+
* took place or will take place after generating reports in Amazon Inspector became
|
|
59
|
+
* available.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
33
62
|
*/
|
|
34
63
|
export declare class GetAssessmentReportCommand extends $Command<GetAssessmentReportCommandInput, GetAssessmentReportCommandOutput, InspectorClientResolvedConfig> {
|
|
35
64
|
readonly input: GetAssessmentReportCommandInput;
|
|
@@ -31,6 +31,21 @@ export interface GetExclusionsPreviewCommandOutput extends GetExclusionsPreviewR
|
|
|
31
31
|
* @see {@link GetExclusionsPreviewCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
35
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InternalException} (server fault)
|
|
38
|
+
* <p>Internal server error.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
41
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
42
|
+
* input parameter.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
45
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
46
|
+
* error code describes the entity.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
34
49
|
*/
|
|
35
50
|
export declare class GetExclusionsPreviewCommand extends $Command<GetExclusionsPreviewCommandInput, GetExclusionsPreviewCommandOutput, InspectorClientResolvedConfig> {
|
|
36
51
|
readonly input: GetExclusionsPreviewCommandInput;
|
|
@@ -30,6 +30,21 @@ export interface GetTelemetryMetadataCommandOutput extends GetTelemetryMetadataR
|
|
|
30
30
|
* @see {@link GetTelemetryMetadataCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
33
48
|
* @example Get telemetry metadata
|
|
34
49
|
* ```javascript
|
|
35
50
|
* // Information about the data that is collected for the specified assessment run.
|
|
@@ -30,6 +30,21 @@ export interface ListAssessmentRunAgentsCommandOutput extends ListAssessmentRunA
|
|
|
30
30
|
* @see {@link ListAssessmentRunAgentsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
33
48
|
* @example List assessment run agents
|
|
34
49
|
* ```javascript
|
|
35
50
|
* // Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
|
|
@@ -30,6 +30,21 @@ export interface ListAssessmentRunsCommandOutput extends ListAssessmentRunsRespo
|
|
|
30
30
|
* @see {@link ListAssessmentRunsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
33
48
|
* @example List assessment runs
|
|
34
49
|
* ```javascript
|
|
35
50
|
* // Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
|
|
@@ -31,6 +31,17 @@ export interface ListAssessmentTargetsCommandOutput extends ListAssessmentTarget
|
|
|
31
31
|
* @see {@link ListAssessmentTargetsCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
35
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InternalException} (server fault)
|
|
38
|
+
* <p>Internal server error.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
41
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
42
|
+
* input parameter.</p>
|
|
43
|
+
*
|
|
44
|
+
*
|
|
34
45
|
* @example List assessment targets
|
|
35
46
|
* ```javascript
|
|
36
47
|
* // Lists the ARNs of the assessment targets within this AWS account.
|
|
@@ -30,6 +30,21 @@ export interface ListAssessmentTemplatesCommandOutput extends ListAssessmentTemp
|
|
|
30
30
|
* @see {@link ListAssessmentTemplatesCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
33
48
|
* @example List assessment templates
|
|
34
49
|
* ```javascript
|
|
35
50
|
* // Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
|
|
@@ -30,6 +30,21 @@ export interface ListEventSubscriptionsCommandOutput extends ListEventSubscripti
|
|
|
30
30
|
* @see {@link ListEventSubscriptionsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
33
48
|
* @example List event subscriptions
|
|
34
49
|
* ```javascript
|
|
35
50
|
* // Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template.
|
|
@@ -29,6 +29,21 @@ export interface ListExclusionsCommandOutput extends ListExclusionsResponse, __M
|
|
|
29
29
|
* @see {@link ListExclusionsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalException} (server fault)
|
|
36
|
+
* <p>Internal server error.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
39
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
40
|
+
* input parameter.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
43
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
44
|
+
* error code describes the entity.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
32
47
|
*/
|
|
33
48
|
export declare class ListExclusionsCommand extends $Command<ListExclusionsCommandInput, ListExclusionsCommandOutput, InspectorClientResolvedConfig> {
|
|
34
49
|
readonly input: ListExclusionsCommandInput;
|
|
@@ -30,6 +30,21 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
|
|
|
30
30
|
* @see {@link ListFindingsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
33
48
|
* @example List findings
|
|
34
49
|
* ```javascript
|
|
35
50
|
* // Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
|
|
@@ -29,6 +29,17 @@ export interface ListRulesPackagesCommandOutput extends ListRulesPackagesRespons
|
|
|
29
29
|
* @see {@link ListRulesPackagesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalException} (server fault)
|
|
36
|
+
* <p>Internal server error.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
39
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
40
|
+
* input parameter.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
32
43
|
* @example List rules packages
|
|
33
44
|
* ```javascript
|
|
34
45
|
* // Lists all available Amazon Inspector rules packages.
|
|
@@ -29,6 +29,21 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
29
29
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalException} (server fault)
|
|
36
|
+
* <p>Internal server error.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
39
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
40
|
+
* input parameter.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
43
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
44
|
+
* error code describes the entity.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
32
47
|
* @example List tags for resource
|
|
33
48
|
* ```javascript
|
|
34
49
|
* // Lists all tags associated with an assessment template.
|
|
@@ -30,6 +30,25 @@ export interface PreviewAgentsCommandOutput extends PreviewAgentsResponse, __Met
|
|
|
30
30
|
* @see {@link PreviewAgentsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidCrossAccountRoleException} (client fault)
|
|
40
|
+
* <p>Amazon Inspector cannot assume the cross-account role that it needs to list your EC2
|
|
41
|
+
* instances during the assessment run.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
44
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
45
|
+
* input parameter.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
48
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
49
|
+
* error code describes the entity.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
33
52
|
* @example Preview agents
|
|
34
53
|
* ```javascript
|
|
35
54
|
* // Previews the agents installed on the EC2 instances that are part of the specified assessment target.
|
|
@@ -30,6 +30,24 @@ export interface RegisterCrossAccountAccessRoleCommandOutput extends __MetadataB
|
|
|
30
30
|
* @see {@link RegisterCrossAccountAccessRoleCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidCrossAccountRoleException} (client fault)
|
|
40
|
+
* <p>Amazon Inspector cannot assume the cross-account role that it needs to list your EC2
|
|
41
|
+
* instances during the assessment run.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
44
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
45
|
+
* input parameter.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
48
|
+
* <p>The serice is temporary unavailable.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
33
51
|
* @example Register cross account access role
|
|
34
52
|
* ```javascript
|
|
35
53
|
* // Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.
|
|
@@ -30,6 +30,24 @@ export interface RemoveAttributesFromFindingsCommandOutput extends RemoveAttribu
|
|
|
30
30
|
* @see {@link RemoveAttributesFromFindingsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
48
|
+
* <p>The serice is temporary unavailable.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
33
51
|
* @example Remove attributes from findings
|
|
34
52
|
* ```javascript
|
|
35
53
|
* // Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.
|
|
@@ -30,6 +30,24 @@ export interface SetTagsForResourceCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* @see {@link SetTagsForResourceCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
48
|
+
* <p>The serice is temporary unavailable.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
33
51
|
* @example Set tags for resource
|
|
34
52
|
* ```javascript
|
|
35
53
|
* // Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
|
|
@@ -31,6 +31,36 @@ export interface StartAssessmentRunCommandOutput extends StartAssessmentRunRespo
|
|
|
31
31
|
* @see {@link StartAssessmentRunCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
35
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link AgentsAlreadyRunningAssessmentException} (client fault)
|
|
38
|
+
* <p>You started an assessment run, but one of the instances is already participating in
|
|
39
|
+
* another assessment run.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InternalException} (server fault)
|
|
42
|
+
* <p>Internal server error.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InvalidCrossAccountRoleException} (client fault)
|
|
45
|
+
* <p>Amazon Inspector cannot assume the cross-account role that it needs to list your EC2
|
|
46
|
+
* instances during the assessment run.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
49
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
50
|
+
* input parameter.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
53
|
+
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
54
|
+
* AWS account limits. The error code describes the limit exceeded.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
57
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
58
|
+
* error code describes the entity.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
61
|
+
* <p>The serice is temporary unavailable.</p>
|
|
62
|
+
*
|
|
63
|
+
*
|
|
34
64
|
* @example Start assessment run
|
|
35
65
|
* ```javascript
|
|
36
66
|
* // Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
|
|
@@ -30,6 +30,24 @@ export interface StopAssessmentRunCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* @see {@link StopAssessmentRunCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
48
|
+
* <p>The serice is temporary unavailable.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
33
51
|
* @example Stop assessment run
|
|
34
52
|
* ```javascript
|
|
35
53
|
* // Stops the assessment run that is specified by the ARN of the assessment run.
|
|
@@ -30,6 +30,28 @@ export interface SubscribeToEventCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* @see {@link SubscribeToEventCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
45
|
+
* AWS account limits. The error code describes the limit exceeded.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
48
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
49
|
+
* error code describes the entity.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
52
|
+
* <p>The serice is temporary unavailable.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
33
55
|
* @example Subscribe to event
|
|
34
56
|
* ```javascript
|
|
35
57
|
* // Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
|
|
@@ -30,6 +30,24 @@ export interface UnsubscribeFromEventCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* @see {@link UnsubscribeFromEventCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
34
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalException} (server fault)
|
|
37
|
+
* <p>Internal server error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
45
|
+
* error code describes the entity.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
48
|
+
* <p>The serice is temporary unavailable.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
33
51
|
* @example Unsubscribe from event
|
|
34
52
|
* ```javascript
|
|
35
53
|
* // Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
|
|
@@ -32,6 +32,24 @@ export interface UpdateAssessmentTargetCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* @see {@link UpdateAssessmentTargetCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
36
|
+
* <p>You do not have required permissions to access the requested resource.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InternalException} (server fault)
|
|
39
|
+
* <p>Internal server error.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
42
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
43
|
+
* input parameter.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
46
|
+
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
47
|
+
* error code describes the entity.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ServiceTemporarilyUnavailableException} (server fault)
|
|
50
|
+
* <p>The serice is temporary unavailable.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
35
53
|
* @example Update assessment target
|
|
36
54
|
* ```javascript
|
|
37
55
|
* // Updates the assessment target that is specified by the ARN of the assessment target.
|
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.
|
|
4
|
+
"version": "3.290.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.290.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.290.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.290.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.290.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.290.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.290.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.290.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.290.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.290.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.290.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.290.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.290.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.290.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.290.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.290.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.290.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.290.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.290.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.290.0",
|
|
43
|
+
"@aws-sdk/types": "3.290.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.290.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.290.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.290.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.290.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.290.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.290.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.290.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|