@aws-sdk/client-accessanalyzer 3.218.0 → 3.221.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.
@@ -6,7 +6,7 @@ exports.ruleSet = {
6
6
  parameters: {
7
7
  Region: {
8
8
  builtIn: "AWS::Region",
9
- required: false,
9
+ required: true,
10
10
  documentation: "The AWS region used to dispatch the request.",
11
11
  type: "String",
12
12
  },
@@ -2776,6 +2776,7 @@ const deserializeAws_restJson1FindingSource = (output, context) => {
2776
2776
  };
2777
2777
  const deserializeAws_restJson1FindingSourceDetail = (output, context) => {
2778
2778
  return {
2779
+ accessPointAccount: (0, smithy_client_1.expectString)(output.accessPointAccount),
2779
2780
  accessPointArn: (0, smithy_client_1.expectString)(output.accessPointArn),
2780
2781
  };
2781
2782
  };
@@ -3,7 +3,7 @@ export const ruleSet = {
3
3
  parameters: {
4
4
  Region: {
5
5
  builtIn: "AWS::Region",
6
- required: false,
6
+ required: true,
7
7
  documentation: "The AWS region used to dispatch the request.",
8
8
  type: "String",
9
9
  },
@@ -2716,6 +2716,7 @@ const deserializeAws_restJson1FindingSource = (output, context) => {
2716
2716
  };
2717
2717
  const deserializeAws_restJson1FindingSourceDetail = (output, context) => {
2718
2718
  return {
2719
+ accessPointAccount: __expectString(output.accessPointAccount),
2719
2720
  accessPointArn: __expectString(output.accessPointArn),
2720
2721
  };
2721
2722
  };
@@ -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;
@@ -31,7 +31,9 @@ export declare class ConflictException extends __BaseException {
31
31
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
32
32
  }
33
33
  /**
34
- * <p>The criteria to use in the filter that defines the archive rule.</p>
34
+ * <p>The criteria to use in the filter that defines the archive rule. For more information on
35
+ * available filter keys, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer
36
+ * filter keys</a>.</p>
35
37
  */
36
38
  export interface Criterion {
37
39
  /**
@@ -1579,8 +1581,12 @@ export interface FindingSourceDetail {
1579
1581
  * whether the ARN represents an access point or a multi-region access point.</p>
1580
1582
  */
1581
1583
  accessPointArn?: string;
1584
+ /**
1585
+ * <p>The account of the cross-account access point that generated the finding.</p>
1586
+ */
1587
+ accessPointAccount?: string;
1582
1588
  }
1583
- export declare type FindingSourceType = "BUCKET_ACL" | "POLICY" | "S3_ACCESS_POINT";
1589
+ export declare type FindingSourceType = "BUCKET_ACL" | "POLICY" | "S3_ACCESS_POINT" | "S3_ACCESS_POINT_ACCOUNT";
1584
1590
  /**
1585
1591
  * <p>The source of the finding. This indicates how the access that generated the finding is
1586
1592
  * granted. It is populated for Amazon S3 bucket findings.</p>
@@ -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;
@@ -646,11 +646,13 @@ export interface GetFindingRequest {
646
646
  }
647
647
  export interface FindingSourceDetail {
648
648
  accessPointArn?: string;
649
+ accessPointAccount?: string;
649
650
  }
650
651
  export declare type FindingSourceType =
651
652
  | "BUCKET_ACL"
652
653
  | "POLICY"
653
- | "S3_ACCESS_POINT";
654
+ | "S3_ACCESS_POINT"
655
+ | "S3_ACCESS_POINT_ACCOUNT";
654
656
  export interface FindingSource {
655
657
  type: FindingSourceType | string | undefined;
656
658
  detail?: FindingSourceDetail;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-accessanalyzer",
3
3
  "description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
4
- "version": "3.218.0",
4
+ "version": "3.221.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",