@aws-sdk/client-securityhub 3.1161.0 → 3.1163.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/README.md +21 -0
- package/dist-cjs/index.js +191 -6
- package/dist-es/SecurityHub.js +10 -0
- package/dist-es/commands/GetSoftwareResourcesV2Command.js +4 -0
- package/dist-es/commands/GetSoftwareStatisticsV2Command.js +4 -0
- package/dist-es/commands/GetSoftwareV2Command.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/pagination/GetSoftwareResourcesV2Paginator.js +4 -0
- package/dist-es/pagination/GetSoftwareV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/schemas/schemas_0.js +119 -4
- package/dist-types/SecurityHub.d.ts +36 -0
- package/dist-types/SecurityHubClient.d.ts +5 -2
- package/dist-types/commands/GetSoftwareResourcesV2Command.d.ts +164 -0
- package/dist-types/commands/GetSoftwareStatisticsV2Command.d.ts +158 -0
- package/dist-types/commands/GetSoftwareV2Command.d.ts +157 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +44 -0
- package/dist-types/models/models_3.d.ts +318 -1
- package/dist-types/pagination/GetSoftwareResourcesV2Paginator.d.ts +7 -0
- package/dist-types/pagination/GetSoftwareV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +66 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetSoftwareResourcesV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSoftwareStatisticsV2Command.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSoftwareV2Command.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/dist-types/ts3.4/models/models_3.d.ts +73 -0
- package/dist-types/ts3.4/pagination/GetSoftwareResourcesV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetSoftwareV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +3 -3
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetSoftwareStatisticsV2Request, GetSoftwareStatisticsV2Response } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetSoftwareStatisticsV2Command}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetSoftwareStatisticsV2CommandInput extends GetSoftwareStatisticsV2Request {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetSoftwareStatisticsV2Command}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetSoftwareStatisticsV2CommandOutput extends GetSoftwareStatisticsV2Response, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetSoftwareStatisticsV2Command_base: {
|
|
22
|
+
new (input: GetSoftwareStatisticsV2CommandInput): import("@smithy/core/client").CommandImpl<GetSoftwareStatisticsV2CommandInput, GetSoftwareStatisticsV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetSoftwareStatisticsV2CommandInput): import("@smithy/core/client").CommandImpl<GetSoftwareStatisticsV2CommandInput, GetSoftwareStatisticsV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves aggregated counts of software packages installed on your resources, grouped by a field that you specify. For example, you can return the most common package types or the accounts with the most installed packages.</p>
|
|
28
|
+
* <p>Each count is the number of package-to-resource pairs that match the grouping value. A package installed on three resources contributes three to the count.</p>
|
|
29
|
+
* <p>You can use the <code>Scopes</code> parameter to define the data boundary for the query. Currently, <code>Scopes</code> supports <code>AwsOrganizations</code>, which lets you aggregate software from your entire organization or from specific organizational units. Only the delegated administrator account can use <code>Scopes</code>.</p>
|
|
30
|
+
* <p>This operation doesn't paginate. Use <code>MaxStatisticResults</code> to control how many grouping values are returned.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityHubClient, GetSoftwareStatisticsV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
|
+
* // const { SecurityHubClient, GetSoftwareStatisticsV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
|
+
* // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
|
|
37
|
+
* const config = {}; // type is SecurityHubClientConfig
|
|
38
|
+
* const client = new SecurityHubClient(config);
|
|
39
|
+
* const input = { // GetSoftwareStatisticsV2Request
|
|
40
|
+
* GroupByRules: [ // SoftwareGroupByRules // required
|
|
41
|
+
* { // SoftwareGroupByRule
|
|
42
|
+
* GroupByField: "AccountId" || "PackageName" || "PackageVersion" || "PackageType" || "Region" || "ResourceRegion" || "ResourceType" || "ResourceId" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition", // required
|
|
43
|
+
* Filters: { // SoftwareFilters
|
|
44
|
+
* CompositeFilters: [ // SoftwareCompositeFilterList
|
|
45
|
+
* { // SoftwareCompositeFilter
|
|
46
|
+
* StringFilters: [ // SoftwareStringFilterList
|
|
47
|
+
* { // SoftwareStringFilter
|
|
48
|
+
* FieldName: "AccountId" || "PackageName" || "PackageVersion" || "PackageType" || "Region" || "ResourceRegion" || "ResourceType" || "ResourceId" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition",
|
|
49
|
+
* Filter: { // StringFilter
|
|
50
|
+
* Value: "STRING_VALUE",
|
|
51
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* NestedCompositeFilters: [
|
|
56
|
+
* {
|
|
57
|
+
* StringFilters: [
|
|
58
|
+
* {
|
|
59
|
+
* FieldName: "AccountId" || "PackageName" || "PackageVersion" || "PackageType" || "Region" || "ResourceRegion" || "ResourceType" || "ResourceId" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition",
|
|
60
|
+
* Filter: {
|
|
61
|
+
* Value: "STRING_VALUE",
|
|
62
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* NestedCompositeFilters: "<SoftwareCompositeFilterList>",
|
|
67
|
+
* Operator: "AND" || "OR",
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* Operator: "AND" || "OR",
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* CompositeOperator: "AND" || "OR",
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* Scopes: { // SoftwareScopes
|
|
78
|
+
* AwsOrganizations: [ // AwsOrganizationScopeList
|
|
79
|
+
* { // AwsOrganizationScope
|
|
80
|
+
* OrganizationId: "STRING_VALUE",
|
|
81
|
+
* OrganizationalUnitId: "STRING_VALUE",
|
|
82
|
+
* },
|
|
83
|
+
* ],
|
|
84
|
+
* },
|
|
85
|
+
* SortOrder: "asc" || "desc",
|
|
86
|
+
* MaxStatisticResults: Number("int"),
|
|
87
|
+
* };
|
|
88
|
+
* const command = new GetSoftwareStatisticsV2Command(input);
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* // { // GetSoftwareStatisticsV2Response
|
|
91
|
+
* // GroupByResults: [ // GroupByResults // required
|
|
92
|
+
* // { // GroupByResult
|
|
93
|
+
* // GroupByField: "STRING_VALUE",
|
|
94
|
+
* // GroupByValues: [ // GroupByValues
|
|
95
|
+
* // { // GroupByValue
|
|
96
|
+
* // FieldValue: "STRING_VALUE",
|
|
97
|
+
* // Count: Number("int"),
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // };
|
|
103
|
+
*
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* @param GetSoftwareStatisticsV2CommandInput - {@link GetSoftwareStatisticsV2CommandInput}
|
|
107
|
+
* @returns {@link GetSoftwareStatisticsV2CommandOutput}
|
|
108
|
+
* @see {@link GetSoftwareStatisticsV2CommandInput} for command's `input` shape.
|
|
109
|
+
* @see {@link GetSoftwareStatisticsV2CommandOutput} for command's `response` shape.
|
|
110
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
113
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ConflictException} (client fault)
|
|
116
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link InternalServerException} (server fault)
|
|
119
|
+
* <p>
|
|
120
|
+
* The request has failed due to an internal failure of the service.
|
|
121
|
+
* </p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link OrganizationalUnitNotFoundException} (client fault)
|
|
124
|
+
* <p>The request failed because one or more organizational units specified in the request don't exist within the caller's organization.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link OrganizationNotFoundException} (client fault)
|
|
127
|
+
* <p>The request failed because one or more organizations specified in the request don't exist or don't belong to the caller's organization.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
130
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
133
|
+
* <p>
|
|
134
|
+
* The limit on the number of requests per second was exceeded.
|
|
135
|
+
* </p>
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link ValidationException} (client fault)
|
|
138
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link SecurityHubServiceException}
|
|
141
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
142
|
+
*
|
|
143
|
+
*
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export declare class GetSoftwareStatisticsV2Command extends GetSoftwareStatisticsV2Command_base {
|
|
147
|
+
/** @internal type navigation helper, not in runtime. */
|
|
148
|
+
protected static __types: {
|
|
149
|
+
api: {
|
|
150
|
+
input: GetSoftwareStatisticsV2Request;
|
|
151
|
+
output: GetSoftwareStatisticsV2Response;
|
|
152
|
+
};
|
|
153
|
+
sdk: {
|
|
154
|
+
input: GetSoftwareStatisticsV2CommandInput;
|
|
155
|
+
output: GetSoftwareStatisticsV2CommandOutput;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetSoftwareV2Request, GetSoftwareV2Response } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetSoftwareV2Command}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetSoftwareV2CommandInput extends GetSoftwareV2Request {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetSoftwareV2Command}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetSoftwareV2CommandOutput extends GetSoftwareV2Response, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetSoftwareV2Command_base: {
|
|
22
|
+
new (input: GetSoftwareV2CommandInput): import("@smithy/core/client").CommandImpl<GetSoftwareV2CommandInput, GetSoftwareV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetSoftwareV2CommandInput]): import("@smithy/core/client").CommandImpl<GetSoftwareV2CommandInput, GetSoftwareV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns a list of software packages installed on your resources. Each result identifies a package by name, version, and type, and includes the number of resources that contain that package.</p>
|
|
28
|
+
* <p>You can use the <code>Scopes</code> parameter to define the data boundary for the query. Currently, <code>Scopes</code> supports <code>AwsOrganizations</code>, which lets you retrieve software from your entire organization or from specific organizational units. Only the delegated administrator account can use <code>Scopes</code>.</p>
|
|
29
|
+
* <p>You can use the <code>Filters</code> parameter to refine results based on package and resource attributes. You can use <code>Scopes</code> and <code>Filters</code> independently or together. When both are provided, <code>Scopes</code> narrows the data set first, and then <code>Filters</code> refines results within that scoped data set.</p>
|
|
30
|
+
* <p>To list the resources that contain a specific package, use <code>GetSoftwareResourcesV2</code>. To get counts of software grouped by a field, use <code>GetSoftwareStatisticsV2</code>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityHubClient, GetSoftwareV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
|
+
* // const { SecurityHubClient, GetSoftwareV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
|
+
* // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
|
|
37
|
+
* const config = {}; // type is SecurityHubClientConfig
|
|
38
|
+
* const client = new SecurityHubClient(config);
|
|
39
|
+
* const input = { // GetSoftwareV2Request
|
|
40
|
+
* Filters: { // SoftwareFilters
|
|
41
|
+
* CompositeFilters: [ // SoftwareCompositeFilterList
|
|
42
|
+
* { // SoftwareCompositeFilter
|
|
43
|
+
* StringFilters: [ // SoftwareStringFilterList
|
|
44
|
+
* { // SoftwareStringFilter
|
|
45
|
+
* FieldName: "AccountId" || "PackageName" || "PackageVersion" || "PackageType" || "Region" || "ResourceRegion" || "ResourceType" || "ResourceId" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition",
|
|
46
|
+
* Filter: { // StringFilter
|
|
47
|
+
* Value: "STRING_VALUE",
|
|
48
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* NestedCompositeFilters: [
|
|
53
|
+
* {
|
|
54
|
+
* StringFilters: [
|
|
55
|
+
* {
|
|
56
|
+
* FieldName: "AccountId" || "PackageName" || "PackageVersion" || "PackageType" || "Region" || "ResourceRegion" || "ResourceType" || "ResourceId" || "ResourceProvider" || "ResourceOwnerAccountId" || "ResourceOwnerOrgId" || "ResourceCloudPartition",
|
|
57
|
+
* Filter: {
|
|
58
|
+
* Value: "STRING_VALUE",
|
|
59
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* NestedCompositeFilters: "<SoftwareCompositeFilterList>",
|
|
64
|
+
* Operator: "AND" || "OR",
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* Operator: "AND" || "OR",
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* CompositeOperator: "AND" || "OR",
|
|
71
|
+
* },
|
|
72
|
+
* Scopes: { // SoftwareScopes
|
|
73
|
+
* AwsOrganizations: [ // AwsOrganizationScopeList
|
|
74
|
+
* { // AwsOrganizationScope
|
|
75
|
+
* OrganizationId: "STRING_VALUE",
|
|
76
|
+
* OrganizationalUnitId: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* },
|
|
80
|
+
* SortCriteria: [ // SortCriteria
|
|
81
|
+
* { // SortCriterion
|
|
82
|
+
* Field: "STRING_VALUE",
|
|
83
|
+
* SortOrder: "asc" || "desc",
|
|
84
|
+
* },
|
|
85
|
+
* ],
|
|
86
|
+
* NextToken: "STRING_VALUE",
|
|
87
|
+
* MaxResults: Number("int"),
|
|
88
|
+
* };
|
|
89
|
+
* const command = new GetSoftwareV2Command(input);
|
|
90
|
+
* const response = await client.send(command);
|
|
91
|
+
* // { // GetSoftwareV2Response
|
|
92
|
+
* // Software: [ // SoftwareList // required
|
|
93
|
+
* // { // SoftwareResult
|
|
94
|
+
* // PackageName: "STRING_VALUE", // required
|
|
95
|
+
* // PackageVersion: "STRING_VALUE",
|
|
96
|
+
* // PackageType: "STRING_VALUE", // required
|
|
97
|
+
* // ResourceCount: Number("int"), // required
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // NextToken: "STRING_VALUE",
|
|
101
|
+
* // };
|
|
102
|
+
*
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* @param GetSoftwareV2CommandInput - {@link GetSoftwareV2CommandInput}
|
|
106
|
+
* @returns {@link GetSoftwareV2CommandOutput}
|
|
107
|
+
* @see {@link GetSoftwareV2CommandInput} for command's `input` shape.
|
|
108
|
+
* @see {@link GetSoftwareV2CommandOutput} for command's `response` shape.
|
|
109
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
112
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link ConflictException} (client fault)
|
|
115
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link InternalServerException} (server fault)
|
|
118
|
+
* <p>
|
|
119
|
+
* The request has failed due to an internal failure of the service.
|
|
120
|
+
* </p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link OrganizationalUnitNotFoundException} (client fault)
|
|
123
|
+
* <p>The request failed because one or more organizational units specified in the request don't exist within the caller's organization.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link OrganizationNotFoundException} (client fault)
|
|
126
|
+
* <p>The request failed because one or more organizations specified in the request don't exist or don't belong to the caller's organization.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
129
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
132
|
+
* <p>
|
|
133
|
+
* The limit on the number of requests per second was exceeded.
|
|
134
|
+
* </p>
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link ValidationException} (client fault)
|
|
137
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link SecurityHubServiceException}
|
|
140
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
141
|
+
*
|
|
142
|
+
*
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
export declare class GetSoftwareV2Command extends GetSoftwareV2Command_base {
|
|
146
|
+
/** @internal type navigation helper, not in runtime. */
|
|
147
|
+
protected static __types: {
|
|
148
|
+
api: {
|
|
149
|
+
input: GetSoftwareV2Request;
|
|
150
|
+
output: GetSoftwareV2Response;
|
|
151
|
+
};
|
|
152
|
+
sdk: {
|
|
153
|
+
input: GetSoftwareV2CommandInput;
|
|
154
|
+
output: GetSoftwareV2CommandOutput;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
}
|
|
@@ -83,6 +83,9 @@ export * from "./GetResourcesStatisticsV2Command";
|
|
|
83
83
|
export * from "./GetResourcesTrendsV2Command";
|
|
84
84
|
export * from "./GetResourcesV2Command";
|
|
85
85
|
export * from "./GetSecurityControlDefinitionCommand";
|
|
86
|
+
export * from "./GetSoftwareResourcesV2Command";
|
|
87
|
+
export * from "./GetSoftwareStatisticsV2Command";
|
|
88
|
+
export * from "./GetSoftwareV2Command";
|
|
86
89
|
export * from "./InviteMembersCommand";
|
|
87
90
|
export * from "./ListAggregatorsV2Command";
|
|
88
91
|
export * from "./ListAutomationRulesCommand";
|
|
@@ -1648,3 +1648,47 @@ export declare const RegionAvailabilityStatus: {
|
|
|
1648
1648
|
* @public
|
|
1649
1649
|
*/
|
|
1650
1650
|
export type RegionAvailabilityStatus = (typeof RegionAvailabilityStatus)[keyof typeof RegionAvailabilityStatus];
|
|
1651
|
+
/**
|
|
1652
|
+
* @public
|
|
1653
|
+
* @enum
|
|
1654
|
+
*/
|
|
1655
|
+
export declare const SoftwareStringField: {
|
|
1656
|
+
readonly ACCOUNT_ID: "AccountId";
|
|
1657
|
+
readonly PACKAGE_NAME: "PackageName";
|
|
1658
|
+
readonly PACKAGE_TYPE: "PackageType";
|
|
1659
|
+
readonly PACKAGE_VERSION: "PackageVersion";
|
|
1660
|
+
readonly REGION: "Region";
|
|
1661
|
+
readonly RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition";
|
|
1662
|
+
readonly RESOURCE_ID: "ResourceId";
|
|
1663
|
+
readonly RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId";
|
|
1664
|
+
readonly RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId";
|
|
1665
|
+
readonly RESOURCE_PROVIDER: "ResourceProvider";
|
|
1666
|
+
readonly RESOURCE_REGION: "ResourceRegion";
|
|
1667
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
1668
|
+
};
|
|
1669
|
+
/**
|
|
1670
|
+
* @public
|
|
1671
|
+
*/
|
|
1672
|
+
export type SoftwareStringField = (typeof SoftwareStringField)[keyof typeof SoftwareStringField];
|
|
1673
|
+
/**
|
|
1674
|
+
* @public
|
|
1675
|
+
* @enum
|
|
1676
|
+
*/
|
|
1677
|
+
export declare const SoftwareGroupByField: {
|
|
1678
|
+
readonly ACCOUNT_ID: "AccountId";
|
|
1679
|
+
readonly PACKAGE_NAME: "PackageName";
|
|
1680
|
+
readonly PACKAGE_TYPE: "PackageType";
|
|
1681
|
+
readonly PACKAGE_VERSION: "PackageVersion";
|
|
1682
|
+
readonly REGION: "Region";
|
|
1683
|
+
readonly RESOURCE_CLOUD_PARTITION: "ResourceCloudPartition";
|
|
1684
|
+
readonly RESOURCE_ID: "ResourceId";
|
|
1685
|
+
readonly RESOURCE_OWNER_ACCOUNT_ID: "ResourceOwnerAccountId";
|
|
1686
|
+
readonly RESOURCE_OWNER_ORG_ID: "ResourceOwnerOrgId";
|
|
1687
|
+
readonly RESOURCE_PROVIDER: "ResourceProvider";
|
|
1688
|
+
readonly RESOURCE_REGION: "ResourceRegion";
|
|
1689
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
1690
|
+
};
|
|
1691
|
+
/**
|
|
1692
|
+
* @public
|
|
1693
|
+
*/
|
|
1694
|
+
export type SoftwareGroupByField = (typeof SoftwareGroupByField)[keyof typeof SoftwareGroupByField];
|