@aws-sdk/client-auditmanager 3.272.0 → 3.276.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-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/AuditManager.d.ts +1 -1
- package/dist-types/commands/UpdateSettingsCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +21 -7
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const q = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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 }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ 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: [{ type: b, rules: [{ endpoint: { url: "https://auditmanager-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: [{ type: b, rules: [{ endpoint: { url: "https://auditmanager-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: [{ type: b, rules: [{ endpoint: { url: "https://auditmanager.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://auditmanager.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -3791,6 +3791,9 @@ const deserializeAws_restJson1UpdateAssessmentFrameworkShareCommandError = async
|
|
|
3791
3791
|
case "ResourceNotFoundException":
|
|
3792
3792
|
case "com.amazonaws.auditmanager#ResourceNotFoundException":
|
|
3793
3793
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3794
|
+
case "ServiceQuotaExceededException":
|
|
3795
|
+
case "com.amazonaws.auditmanager#ServiceQuotaExceededException":
|
|
3796
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
3794
3797
|
case "ValidationException":
|
|
3795
3798
|
case "com.amazonaws.auditmanager#ValidationException":
|
|
3796
3799
|
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const q = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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 }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ 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: [{ type: b, rules: [{ endpoint: { url: "https://auditmanager-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: [{ type: b, rules: [{ endpoint: { url: "https://auditmanager-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: [{ type: b, rules: [{ endpoint: { url: "https://auditmanager.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://auditmanager.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -3668,6 +3668,9 @@ const deserializeAws_restJson1UpdateAssessmentFrameworkShareCommandError = async
|
|
|
3668
3668
|
case "ResourceNotFoundException":
|
|
3669
3669
|
case "com.amazonaws.auditmanager#ResourceNotFoundException":
|
|
3670
3670
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3671
|
+
case "ServiceQuotaExceededException":
|
|
3672
|
+
case "com.amazonaws.auditmanager#ServiceQuotaExceededException":
|
|
3673
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
3671
3674
|
case "ValidationException":
|
|
3672
3675
|
case "com.amazonaws.auditmanager#ValidationException":
|
|
3673
3676
|
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
@@ -640,7 +640,7 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
640
640
|
updateControl(args: UpdateControlCommandInput, cb: (err: any, data?: UpdateControlCommandOutput) => void): void;
|
|
641
641
|
updateControl(args: UpdateControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateControlCommandOutput) => void): void;
|
|
642
642
|
/**
|
|
643
|
-
* <p> Updates Audit Manager settings for the current
|
|
643
|
+
* <p> Updates Audit Manager settings for the current account. </p>
|
|
644
644
|
*/
|
|
645
645
|
updateSettings(args: UpdateSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSettingsCommandOutput>;
|
|
646
646
|
updateSettings(args: UpdateSettingsCommandInput, cb: (err: any, data?: UpdateSettingsCommandOutput) => void): void;
|
|
@@ -8,7 +8,7 @@ export interface UpdateSettingsCommandInput extends UpdateSettingsRequest {
|
|
|
8
8
|
export interface UpdateSettingsCommandOutput extends UpdateSettingsResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p> Updates Audit Manager settings for the current
|
|
11
|
+
* <p> Updates Audit Manager settings for the current account. </p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -177,7 +177,7 @@ export interface Delegation {
|
|
|
177
177
|
*/
|
|
178
178
|
comment?: string;
|
|
179
179
|
/**
|
|
180
|
-
* <p> The
|
|
180
|
+
* <p> The user or role that created the delegation. </p>
|
|
181
181
|
*/
|
|
182
182
|
createdBy?: string;
|
|
183
183
|
}
|
|
@@ -312,6 +312,20 @@ export interface AssessmentReportsDestination {
|
|
|
312
312
|
/**
|
|
313
313
|
* <p> An Amazon Web Service such as Amazon S3 or CloudTrail.
|
|
314
314
|
* </p>
|
|
315
|
+
* <p>For an example of how to find an Amazon Web Service name and how to define it in
|
|
316
|
+
* your assessment scope, see the following:</p>
|
|
317
|
+
* <ul>
|
|
318
|
+
* <li>
|
|
319
|
+
* <p>
|
|
320
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_GetServicesInScope.html#API_GetServicesInScope_Example_2">Finding an Amazon Web Service name to use in your assessment scope</a>
|
|
321
|
+
* </p>
|
|
322
|
+
* </li>
|
|
323
|
+
* <li>
|
|
324
|
+
* <p>
|
|
325
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_GetServicesInScope.html#API_GetServicesInScope_Example_3">Defining an Amazon Web Service name in your assessment scope</a>
|
|
326
|
+
* </p>
|
|
327
|
+
* </li>
|
|
328
|
+
* </ul>
|
|
315
329
|
*/
|
|
316
330
|
export interface AWSService {
|
|
317
331
|
/**
|
|
@@ -1406,11 +1420,11 @@ export interface Control {
|
|
|
1406
1420
|
*/
|
|
1407
1421
|
lastUpdatedAt?: Date;
|
|
1408
1422
|
/**
|
|
1409
|
-
* <p> The
|
|
1423
|
+
* <p> The user or role that created the control. </p>
|
|
1410
1424
|
*/
|
|
1411
1425
|
createdBy?: string;
|
|
1412
1426
|
/**
|
|
1413
|
-
* <p> The
|
|
1427
|
+
* <p> The user or role that most recently updated the control. </p>
|
|
1414
1428
|
*/
|
|
1415
1429
|
lastUpdatedBy?: string;
|
|
1416
1430
|
/**
|
|
@@ -1487,11 +1501,11 @@ export interface Framework {
|
|
|
1487
1501
|
*/
|
|
1488
1502
|
lastUpdatedAt?: Date;
|
|
1489
1503
|
/**
|
|
1490
|
-
* <p> The
|
|
1504
|
+
* <p> The user or role that created the framework. </p>
|
|
1491
1505
|
*/
|
|
1492
1506
|
createdBy?: string;
|
|
1493
1507
|
/**
|
|
1494
|
-
* <p> The
|
|
1508
|
+
* <p> The user or role that most recently updated the framework. </p>
|
|
1495
1509
|
*/
|
|
1496
1510
|
lastUpdatedBy?: string;
|
|
1497
1511
|
/**
|
|
@@ -1840,7 +1854,7 @@ export interface ChangeLog {
|
|
|
1840
1854
|
*/
|
|
1841
1855
|
createdAt?: Date;
|
|
1842
1856
|
/**
|
|
1843
|
-
* <p> The
|
|
1857
|
+
* <p> The user or role that performed the action. </p>
|
|
1844
1858
|
*/
|
|
1845
1859
|
createdBy?: string;
|
|
1846
1860
|
}
|
|
@@ -2015,7 +2029,7 @@ export interface Evidence {
|
|
|
2015
2029
|
*/
|
|
2016
2030
|
attributes?: Record<string, string>;
|
|
2017
2031
|
/**
|
|
2018
|
-
* <p> The unique identifier for the
|
|
2032
|
+
* <p> The unique identifier for the user or role that's associated with
|
|
2019
2033
|
* the evidence. </p>
|
|
2020
2034
|
*/
|
|
2021
2035
|
iamId?: string;
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auditmanager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auditmanager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.276.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,7 +20,7 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.276.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.272.0",
|
|
25
25
|
"@aws-sdk/credential-provider-node": "3.272.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.272.0",
|