@aws-sdk/client-auditmanager 3.271.0 → 3.275.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "fn", r = "argv", s = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://auditmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://auditmanager-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://auditmanager.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://auditmanager.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
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 = "fn", r = "argv", s = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://auditmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://auditmanager-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://auditmanager.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://auditmanager.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
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 user account. </p>
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 user account. </p>
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: string;
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 IAM user or role that created the delegation. </p>
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 IAM user or role that created the control. </p>
1423
+ * <p> The user or role that created the control. </p>
1410
1424
  */
1411
1425
  createdBy?: string;
1412
1426
  /**
1413
- * <p> The IAM user or role that most recently updated the control. </p>
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 IAM user or role that created the framework. </p>
1504
+ * <p> The user or role that created the framework. </p>
1491
1505
  */
1492
1506
  createdBy?: string;
1493
1507
  /**
1494
- * <p> The IAM user or role that most recently updated the framework. </p>
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 IAM user or role that performed the action. </p>
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 IAM user or role that's associated with
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: string;
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.271.0",
4
+ "version": "3.275.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.271.0",
24
- "@aws-sdk/config-resolver": "3.271.0",
25
- "@aws-sdk/credential-provider-node": "3.271.0",
26
- "@aws-sdk/fetch-http-handler": "3.271.0",
27
- "@aws-sdk/hash-node": "3.271.0",
28
- "@aws-sdk/invalid-dependency": "3.271.0",
29
- "@aws-sdk/middleware-content-length": "3.271.0",
30
- "@aws-sdk/middleware-endpoint": "3.271.0",
31
- "@aws-sdk/middleware-host-header": "3.271.0",
32
- "@aws-sdk/middleware-logger": "3.271.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.271.0",
34
- "@aws-sdk/middleware-retry": "3.271.0",
35
- "@aws-sdk/middleware-serde": "3.271.0",
36
- "@aws-sdk/middleware-signing": "3.271.0",
37
- "@aws-sdk/middleware-stack": "3.271.0",
38
- "@aws-sdk/middleware-user-agent": "3.271.0",
39
- "@aws-sdk/node-config-provider": "3.271.0",
40
- "@aws-sdk/node-http-handler": "3.271.0",
41
- "@aws-sdk/protocol-http": "3.271.0",
42
- "@aws-sdk/smithy-client": "3.271.0",
43
- "@aws-sdk/types": "3.271.0",
44
- "@aws-sdk/url-parser": "3.271.0",
23
+ "@aws-sdk/client-sts": "3.272.0",
24
+ "@aws-sdk/config-resolver": "3.272.0",
25
+ "@aws-sdk/credential-provider-node": "3.272.0",
26
+ "@aws-sdk/fetch-http-handler": "3.272.0",
27
+ "@aws-sdk/hash-node": "3.272.0",
28
+ "@aws-sdk/invalid-dependency": "3.272.0",
29
+ "@aws-sdk/middleware-content-length": "3.272.0",
30
+ "@aws-sdk/middleware-endpoint": "3.272.0",
31
+ "@aws-sdk/middleware-host-header": "3.272.0",
32
+ "@aws-sdk/middleware-logger": "3.272.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.272.0",
34
+ "@aws-sdk/middleware-retry": "3.272.0",
35
+ "@aws-sdk/middleware-serde": "3.272.0",
36
+ "@aws-sdk/middleware-signing": "3.272.0",
37
+ "@aws-sdk/middleware-stack": "3.272.0",
38
+ "@aws-sdk/middleware-user-agent": "3.272.0",
39
+ "@aws-sdk/node-config-provider": "3.272.0",
40
+ "@aws-sdk/node-http-handler": "3.272.0",
41
+ "@aws-sdk/protocol-http": "3.272.0",
42
+ "@aws-sdk/smithy-client": "3.272.0",
43
+ "@aws-sdk/types": "3.272.0",
44
+ "@aws-sdk/url-parser": "3.272.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.271.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.271.0",
50
- "@aws-sdk/util-endpoints": "3.271.0",
51
- "@aws-sdk/util-retry": "3.271.0",
52
- "@aws-sdk/util-user-agent-browser": "3.271.0",
53
- "@aws-sdk/util-user-agent-node": "3.271.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.272.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.272.0",
50
+ "@aws-sdk/util-endpoints": "3.272.0",
51
+ "@aws-sdk/util-retry": "3.272.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.272.0",
53
+ "@aws-sdk/util-user-agent-node": "3.272.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },