aws-sdk 2.1631.0 → 2.1633.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 +1 -1
- package/apis/batch-2016-08-10.min.json +51 -9
- package/apis/codeguru-security-2018-05-10.min.json +6 -0
- package/apis/eks-2017-11-01.min.json +126 -83
- package/apis/elasticache-2015-02-02.min.json +3 -0
- package/apis/iottwinmaker-2021-11-29.min.json +3 -1
- package/apis/launch-wizard-2018-05-10.min.json +159 -0
- package/clients/amplify.d.ts +13 -13
- package/clients/batch.d.ts +42 -1
- package/clients/codebuild.d.ts +2 -2
- package/clients/codegurusecurity.d.ts +60 -55
- package/clients/eks.d.ts +69 -19
- package/clients/elasticache.d.ts +6 -6
- package/clients/iottwinmaker.d.ts +1 -1
- package/clients/launchwizard.d.ts +181 -8
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +7 -7
- package/dist/aws-sdk.js +6 -3
- package/dist/aws-sdk.min.js +9 -9
- package/lib/core.js +1 -1
- package/package.json +1 -1
| @@ -12,35 +12,35 @@ declare class CodeGuruSecurity extends Service { | |
| 12 12 | 
             
              constructor(options?: CodeGuruSecurity.Types.ClientConfiguration)
         | 
| 13 13 | 
             
              config: Config & CodeGuruSecurity.Types.ClientConfiguration;
         | 
| 14 14 | 
             
              /**
         | 
| 15 | 
            -
               * Returns a list of  | 
| 15 | 
            +
               * Returns a list of requested findings from standard scans.
         | 
| 16 16 | 
             
               */
         | 
| 17 17 | 
             
              batchGetFindings(params: CodeGuruSecurity.Types.BatchGetFindingsRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.BatchGetFindingsResponse) => void): Request<CodeGuruSecurity.Types.BatchGetFindingsResponse, AWSError>;
         | 
| 18 18 | 
             
              /**
         | 
| 19 | 
            -
               * Returns a list of  | 
| 19 | 
            +
               * Returns a list of requested findings from standard scans.
         | 
| 20 20 | 
             
               */
         | 
| 21 21 | 
             
              batchGetFindings(callback?: (err: AWSError, data: CodeGuruSecurity.Types.BatchGetFindingsResponse) => void): Request<CodeGuruSecurity.Types.BatchGetFindingsResponse, AWSError>;
         | 
| 22 22 | 
             
              /**
         | 
| 23 | 
            -
               * Use to create a scan using code uploaded to an S3 bucket.
         | 
| 23 | 
            +
               * Use to create a scan using code uploaded to an Amazon S3 bucket.
         | 
| 24 24 | 
             
               */
         | 
| 25 25 | 
             
              createScan(params: CodeGuruSecurity.Types.CreateScanRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.CreateScanResponse) => void): Request<CodeGuruSecurity.Types.CreateScanResponse, AWSError>;
         | 
| 26 26 | 
             
              /**
         | 
| 27 | 
            -
               * Use to create a scan using code uploaded to an S3 bucket.
         | 
| 27 | 
            +
               * Use to create a scan using code uploaded to an Amazon S3 bucket.
         | 
| 28 28 | 
             
               */
         | 
| 29 29 | 
             
              createScan(callback?: (err: AWSError, data: CodeGuruSecurity.Types.CreateScanResponse) => void): Request<CodeGuruSecurity.Types.CreateScanResponse, AWSError>;
         | 
| 30 30 | 
             
              /**
         | 
| 31 | 
            -
               * Generates a pre-signed URL  | 
| 31 | 
            +
               * Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the uploaded resource. You can upload your code resource to the URL with the request headers using any HTTP client.
         | 
| 32 32 | 
             
               */
         | 
| 33 33 | 
             
              createUploadUrl(params: CodeGuruSecurity.Types.CreateUploadUrlRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.CreateUploadUrlResponse) => void): Request<CodeGuruSecurity.Types.CreateUploadUrlResponse, AWSError>;
         | 
| 34 34 | 
             
              /**
         | 
| 35 | 
            -
               * Generates a pre-signed URL  | 
| 35 | 
            +
               * Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the uploaded resource. You can upload your code resource to the URL with the request headers using any HTTP client.
         | 
| 36 36 | 
             
               */
         | 
| 37 37 | 
             
              createUploadUrl(callback?: (err: AWSError, data: CodeGuruSecurity.Types.CreateUploadUrlResponse) => void): Request<CodeGuruSecurity.Types.CreateUploadUrlResponse, AWSError>;
         | 
| 38 38 | 
             
              /**
         | 
| 39 | 
            -
               * Use to get  | 
| 39 | 
            +
               * Use to get the encryption configuration for an account.
         | 
| 40 40 | 
             
               */
         | 
| 41 41 | 
             
              getAccountConfiguration(params: CodeGuruSecurity.Types.GetAccountConfigurationRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.GetAccountConfigurationResponse) => void): Request<CodeGuruSecurity.Types.GetAccountConfigurationResponse, AWSError>;
         | 
| 42 42 | 
             
              /**
         | 
| 43 | 
            -
               * Use to get  | 
| 43 | 
            +
               * Use to get the encryption configuration for an account.
         | 
| 44 44 | 
             
               */
         | 
| 45 45 | 
             
              getAccountConfiguration(callback?: (err: AWSError, data: CodeGuruSecurity.Types.GetAccountConfigurationResponse) => void): Request<CodeGuruSecurity.Types.GetAccountConfigurationResponse, AWSError>;
         | 
| 46 46 | 
             
              /**
         | 
| @@ -52,11 +52,11 @@ declare class CodeGuruSecurity extends Service { | |
| 52 52 | 
             
               */
         | 
| 53 53 | 
             
              getFindings(callback?: (err: AWSError, data: CodeGuruSecurity.Types.GetFindingsResponse) => void): Request<CodeGuruSecurity.Types.GetFindingsResponse, AWSError>;
         | 
| 54 54 | 
             
              /**
         | 
| 55 | 
            -
               * Returns  | 
| 55 | 
            +
               * Returns a summary of metrics for an account from a specified date, including number of open findings, the categories with most findings, the scans with most open findings, and scans with most open critical findings. 
         | 
| 56 56 | 
             
               */
         | 
| 57 57 | 
             
              getMetricsSummary(params: CodeGuruSecurity.Types.GetMetricsSummaryRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.GetMetricsSummaryResponse) => void): Request<CodeGuruSecurity.Types.GetMetricsSummaryResponse, AWSError>;
         | 
| 58 58 | 
             
              /**
         | 
| 59 | 
            -
               * Returns  | 
| 59 | 
            +
               * Returns a summary of metrics for an account from a specified date, including number of open findings, the categories with most findings, the scans with most open findings, and scans with most open critical findings. 
         | 
| 60 60 | 
             
               */
         | 
| 61 61 | 
             
              getMetricsSummary(callback?: (err: AWSError, data: CodeGuruSecurity.Types.GetMetricsSummaryResponse) => void): Request<CodeGuruSecurity.Types.GetMetricsSummaryResponse, AWSError>;
         | 
| 62 62 | 
             
              /**
         | 
| @@ -76,11 +76,11 @@ declare class CodeGuruSecurity extends Service { | |
| 76 76 | 
             
               */
         | 
| 77 77 | 
             
              listFindingsMetrics(callback?: (err: AWSError, data: CodeGuruSecurity.Types.ListFindingsMetricsResponse) => void): Request<CodeGuruSecurity.Types.ListFindingsMetricsResponse, AWSError>;
         | 
| 78 78 | 
             
              /**
         | 
| 79 | 
            -
               * Returns a list of all  | 
| 79 | 
            +
               * Returns a list of all scans in an account. Does not return EXPRESS scans.
         | 
| 80 80 | 
             
               */
         | 
| 81 81 | 
             
              listScans(params: CodeGuruSecurity.Types.ListScansRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.ListScansResponse) => void): Request<CodeGuruSecurity.Types.ListScansResponse, AWSError>;
         | 
| 82 82 | 
             
              /**
         | 
| 83 | 
            -
               * Returns a list of all  | 
| 83 | 
            +
               * Returns a list of all scans in an account. Does not return EXPRESS scans.
         | 
| 84 84 | 
             
               */
         | 
| 85 85 | 
             
              listScans(callback?: (err: AWSError, data: CodeGuruSecurity.Types.ListScansResponse) => void): Request<CodeGuruSecurity.Types.ListScansResponse, AWSError>;
         | 
| 86 86 | 
             
              /**
         | 
| @@ -108,34 +108,34 @@ declare class CodeGuruSecurity extends Service { | |
| 108 108 | 
             
               */
         | 
| 109 109 | 
             
              untagResource(callback?: (err: AWSError, data: CodeGuruSecurity.Types.UntagResourceResponse) => void): Request<CodeGuruSecurity.Types.UntagResourceResponse, AWSError>;
         | 
| 110 110 | 
             
              /**
         | 
| 111 | 
            -
               * Use to update  | 
| 111 | 
            +
               * Use to update the encryption configuration for an account.
         | 
| 112 112 | 
             
               */
         | 
| 113 113 | 
             
              updateAccountConfiguration(params: CodeGuruSecurity.Types.UpdateAccountConfigurationRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.UpdateAccountConfigurationResponse) => void): Request<CodeGuruSecurity.Types.UpdateAccountConfigurationResponse, AWSError>;
         | 
| 114 114 | 
             
              /**
         | 
| 115 | 
            -
               * Use to update  | 
| 115 | 
            +
               * Use to update the encryption configuration for an account.
         | 
| 116 116 | 
             
               */
         | 
| 117 117 | 
             
              updateAccountConfiguration(callback?: (err: AWSError, data: CodeGuruSecurity.Types.UpdateAccountConfigurationResponse) => void): Request<CodeGuruSecurity.Types.UpdateAccountConfigurationResponse, AWSError>;
         | 
| 118 118 | 
             
            }
         | 
| 119 119 | 
             
            declare namespace CodeGuruSecurity {
         | 
| 120 120 | 
             
              export interface AccountFindingsMetric {
         | 
| 121 121 | 
             
                /**
         | 
| 122 | 
            -
                 * The number of closed findings of each severity  | 
| 122 | 
            +
                 * The number of closed findings of each severity on the specified date.
         | 
| 123 123 | 
             
                 */
         | 
| 124 124 | 
             
                closedFindings?: FindingMetricsValuePerSeverity;
         | 
| 125 125 | 
             
                /**
         | 
| 126 | 
            -
                 * The date from which the  | 
| 126 | 
            +
                 * The date from which the findings metrics were retrieved.
         | 
| 127 127 | 
             
                 */
         | 
| 128 128 | 
             
                date?: Timestamp;
         | 
| 129 129 | 
             
                /**
         | 
| 130 | 
            -
                 * The average time it takes to close findings of each severity  | 
| 130 | 
            +
                 * The average time in days it takes to close findings of each severity as of a specified date.
         | 
| 131 131 | 
             
                 */
         | 
| 132 132 | 
             
                meanTimeToClose?: FindingMetricsValuePerSeverity;
         | 
| 133 133 | 
             
                /**
         | 
| 134 | 
            -
                 * The number of new findings of each severity  | 
| 134 | 
            +
                 * The number of new findings of each severity on the specified date.
         | 
| 135 135 | 
             
                 */
         | 
| 136 136 | 
             
                newFindings?: FindingMetricsValuePerSeverity;
         | 
| 137 137 | 
             
                /**
         | 
| 138 | 
            -
                 * The number of open findings of each severity  | 
| 138 | 
            +
                 * The number of open findings of each severity as of the specified date.
         | 
| 139 139 | 
             
                 */
         | 
| 140 140 | 
             
                openFindings?: FindingMetricsValuePerSeverity;
         | 
| 141 141 | 
             
              }
         | 
| @@ -171,7 +171,7 @@ declare namespace CodeGuruSecurity { | |
| 171 171 | 
             
                 */
         | 
| 172 172 | 
             
                failedFindings: BatchGetFindingsErrors;
         | 
| 173 173 | 
             
                /**
         | 
| 174 | 
            -
                 *  A list of all  | 
| 174 | 
            +
                 *  A list of all findings which were successfully fetched.
         | 
| 175 175 | 
             
                 */
         | 
| 176 176 | 
             
                findings: Findings;
         | 
| 177 177 | 
             
              }
         | 
| @@ -208,11 +208,11 @@ declare namespace CodeGuruSecurity { | |
| 208 208 | 
             
                 */
         | 
| 209 209 | 
             
                clientToken?: ClientToken;
         | 
| 210 210 | 
             
                /**
         | 
| 211 | 
            -
                 * The identifier for  | 
| 211 | 
            +
                 * The identifier for the resource object to be scanned.
         | 
| 212 212 | 
             
                 */
         | 
| 213 213 | 
             
                resourceId: ResourceId;
         | 
| 214 214 | 
             
                /**
         | 
| 215 | 
            -
                 * The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource. Only allowed for a STANDARD scan type.  | 
| 215 | 
            +
                 * The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource. Only allowed for a STANDARD scan type. 
         | 
| 216 216 | 
             
                 */
         | 
| 217 217 | 
             
                scanName: ScanName;
         | 
| 218 218 | 
             
                /**
         | 
| @@ -254,7 +254,7 @@ declare namespace CodeGuruSecurity { | |
| 254 254 | 
             
              }
         | 
| 255 255 | 
             
              export interface CreateUploadUrlResponse {
         | 
| 256 256 | 
             
                /**
         | 
| 257 | 
            -
                 * The identifier for the uploaded code resource. 
         | 
| 257 | 
            +
                 * The identifier for the uploaded code resource. Pass this to CreateScan to use the uploaded resources.
         | 
| 258 258 | 
             
                 */
         | 
| 259 259 | 
             
                codeArtifactId: Uuid;
         | 
| 260 260 | 
             
                /**
         | 
| @@ -262,7 +262,7 @@ declare namespace CodeGuruSecurity { | |
| 262 262 | 
             
                 */
         | 
| 263 263 | 
             
                requestHeaders: RequestHeaderMap;
         | 
| 264 264 | 
             
                /**
         | 
| 265 | 
            -
                 * A pre-signed S3 URL. You can upload the code file you want to scan  | 
| 265 | 
            +
                 * A pre-signed S3 URL. You can upload the code file you want to scan with the required requestHeaders using any HTTP client.
         | 
| 266 266 | 
             
                 */
         | 
| 267 267 | 
             
                s3Url: S3Url;
         | 
| 268 268 | 
             
              }
         | 
| @@ -270,11 +270,12 @@ declare namespace CodeGuruSecurity { | |
| 270 270 | 
             
              export type Double = number;
         | 
| 271 271 | 
             
              export interface EncryptionConfig {
         | 
| 272 272 | 
             
                /**
         | 
| 273 | 
            -
                 * The KMS key ARN  | 
| 273 | 
            +
                 * The KMS key ARN that is used for encryption. If an AWS-managed key is used for encryption, returns empty.
         | 
| 274 274 | 
             
                 */
         | 
| 275 275 | 
             
                kmsKeyArn?: KmsKeyArn;
         | 
| 276 276 | 
             
              }
         | 
| 277 277 | 
             
              export type ErrorCode = "DUPLICATE_IDENTIFIER"|"ITEM_DOES_NOT_EXIST"|"INTERNAL_ERROR"|"INVALID_FINDING_ID"|"INVALID_SCAN_NAME"|string;
         | 
| 278 | 
            +
              export type ErrorMessage = string;
         | 
| 278 279 | 
             
              export interface FilePath {
         | 
| 279 280 | 
             
                /**
         | 
| 280 281 | 
             
                 * A list of CodeLine objects that describe where the security vulnerability appears in your code.
         | 
| @@ -319,7 +320,7 @@ declare namespace CodeGuruSecurity { | |
| 319 320 | 
             
                 */
         | 
| 320 321 | 
             
                detectorTags?: DetectorTags;
         | 
| 321 322 | 
             
                /**
         | 
| 322 | 
            -
                 * The identifier for the component that generated a finding such as  | 
| 323 | 
            +
                 * The identifier for the component that generated a finding such as AmazonCodeGuruSecurity.
         | 
| 323 324 | 
             
                 */
         | 
| 324 325 | 
             
                generatorId?: String;
         | 
| 325 326 | 
             
                /**
         | 
| @@ -339,7 +340,7 @@ declare namespace CodeGuruSecurity { | |
| 339 340 | 
             
                 */
         | 
| 340 341 | 
             
                ruleId?: String;
         | 
| 341 342 | 
             
                /**
         | 
| 342 | 
            -
                 * The severity of the finding.
         | 
| 343 | 
            +
                 * The severity of the finding. Severity can be critical, high, medium, low, or informational. For information on severity levels, see Finding severity in the Amazon CodeGuru Security User Guide.
         | 
| 343 344 | 
             
                 */
         | 
| 344 345 | 
             
                severity?: Severity;
         | 
| 345 346 | 
             
                /**
         | 
| @@ -376,23 +377,23 @@ declare namespace CodeGuruSecurity { | |
| 376 377 | 
             
              export type FindingIdentifiers = FindingIdentifier[];
         | 
| 377 378 | 
             
              export interface FindingMetricsValuePerSeverity {
         | 
| 378 379 | 
             
                /**
         | 
| 379 | 
            -
                 *  | 
| 380 | 
            +
                 * A numeric value corresponding to a critical finding.
         | 
| 380 381 | 
             
                 */
         | 
| 381 382 | 
             
                critical?: Double;
         | 
| 382 383 | 
             
                /**
         | 
| 383 | 
            -
                 *  | 
| 384 | 
            +
                 * A numeric value corresponding to a high severity finding.
         | 
| 384 385 | 
             
                 */
         | 
| 385 386 | 
             
                high?: Double;
         | 
| 386 387 | 
             
                /**
         | 
| 387 | 
            -
                 *  | 
| 388 | 
            +
                 * A numeric value corresponding to an informational finding.
         | 
| 388 389 | 
             
                 */
         | 
| 389 390 | 
             
                info?: Double;
         | 
| 390 391 | 
             
                /**
         | 
| 391 | 
            -
                 *  | 
| 392 | 
            +
                 * A numeric value corresponding to a low severity finding.
         | 
| 392 393 | 
             
                 */
         | 
| 393 394 | 
             
                low?: Double;
         | 
| 394 395 | 
             
                /**
         | 
| 395 | 
            -
                 *  | 
| 396 | 
            +
                 * A numeric value corresponding to a medium severity finding.
         | 
| 396 397 | 
             
                 */
         | 
| 397 398 | 
             
                medium?: Double;
         | 
| 398 399 | 
             
              }
         | 
| @@ -402,13 +403,13 @@ declare namespace CodeGuruSecurity { | |
| 402 403 | 
             
              }
         | 
| 403 404 | 
             
              export interface GetAccountConfigurationResponse {
         | 
| 404 405 | 
             
                /**
         | 
| 405 | 
            -
                 * An EncryptionConfig object that contains the KMS key ARN  | 
| 406 | 
            +
                 * An EncryptionConfig object that contains the KMS key ARN that is used for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, call UpdateAccountConfiguration. If you do not specify a customer-managed key, returns empty.
         | 
| 406 407 | 
             
                 */
         | 
| 407 408 | 
             
                encryptionConfig: EncryptionConfig;
         | 
| 408 409 | 
             
              }
         | 
| 409 410 | 
             
              export interface GetFindingsRequest {
         | 
| 410 411 | 
             
                /**
         | 
| 411 | 
            -
                 * The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results.
         | 
| 412 | 
            +
                 * The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results. If not specified, returns 1000 results.
         | 
| 412 413 | 
             
                 */
         | 
| 413 414 | 
             
                maxResults?: GetFindingsRequestMaxResultsInteger;
         | 
| 414 415 | 
             
                /**
         | 
| @@ -437,7 +438,7 @@ declare namespace CodeGuruSecurity { | |
| 437 438 | 
             
              }
         | 
| 438 439 | 
             
              export interface GetMetricsSummaryRequest {
         | 
| 439 440 | 
             
                /**
         | 
| 440 | 
            -
                 * The date you want to retrieve summary metrics from, rounded to the nearest day. The date must be within the past two years | 
| 441 | 
            +
                 * The date you want to retrieve summary metrics from, rounded to the nearest day. The date must be within the past two years.
         | 
| 441 442 | 
             
                 */
         | 
| 442 443 | 
             
                date: Timestamp;
         | 
| 443 444 | 
             
              }
         | 
| @@ -466,6 +467,10 @@ declare namespace CodeGuruSecurity { | |
| 466 467 | 
             
                 * The time the scan was created.
         | 
| 467 468 | 
             
                 */
         | 
| 468 469 | 
             
                createdAt: Timestamp;
         | 
| 470 | 
            +
                /**
         | 
| 471 | 
            +
                 * Details about the error that causes a scan to fail to be retrieved.
         | 
| 472 | 
            +
                 */
         | 
| 473 | 
            +
                errorMessage?: ErrorMessage;
         | 
| 469 474 | 
             
                /**
         | 
| 470 475 | 
             
                 * The number of times a scan has been re-run on a revised resource.
         | 
| 471 476 | 
             
                 */
         | 
| @@ -483,7 +488,7 @@ declare namespace CodeGuruSecurity { | |
| 483 488 | 
             
                 */
         | 
| 484 489 | 
             
                scanNameArn?: ScanNameArn;
         | 
| 485 490 | 
             
                /**
         | 
| 486 | 
            -
                 * The current state of the scan.  | 
| 491 | 
            +
                 * The current state of the scan. Returns either InProgress, Successful, or Failed.
         | 
| 487 492 | 
             
                 */
         | 
| 488 493 | 
             
                scanState: ScanState;
         | 
| 489 494 | 
             
                /**
         | 
| @@ -497,11 +502,11 @@ declare namespace CodeGuruSecurity { | |
| 497 502 | 
             
              export type KmsKeyArn = string;
         | 
| 498 503 | 
             
              export interface ListFindingsMetricsRequest {
         | 
| 499 504 | 
             
                /**
         | 
| 500 | 
            -
                 * The end date of the interval which you want to retrieve metrics from.
         | 
| 505 | 
            +
                 * The end date of the interval which you want to retrieve metrics from. Round to the nearest day.
         | 
| 501 506 | 
             
                 */
         | 
| 502 507 | 
             
                endDate: Timestamp;
         | 
| 503 508 | 
             
                /**
         | 
| 504 | 
            -
                 * The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results.
         | 
| 509 | 
            +
                 * The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results. If not specified, returns 1000 results.
         | 
| 505 510 | 
             
                 */
         | 
| 506 511 | 
             
                maxResults?: ListFindingsMetricsRequestMaxResultsInteger;
         | 
| 507 512 | 
             
                /**
         | 
| @@ -509,7 +514,7 @@ declare namespace CodeGuruSecurity { | |
| 509 514 | 
             
                 */
         | 
| 510 515 | 
             
                nextToken?: NextToken;
         | 
| 511 516 | 
             
                /**
         | 
| 512 | 
            -
                 * The start date of the interval which you want to retrieve metrics from.
         | 
| 517 | 
            +
                 * The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.
         | 
| 513 518 | 
             
                 */
         | 
| 514 519 | 
             
                startDate: Timestamp;
         | 
| 515 520 | 
             
              }
         | 
| @@ -526,7 +531,7 @@ declare namespace CodeGuruSecurity { | |
| 526 531 | 
             
              }
         | 
| 527 532 | 
             
              export interface ListScansRequest {
         | 
| 528 533 | 
             
                /**
         | 
| 529 | 
            -
                 * The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results.
         | 
| 534 | 
            +
                 * The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results. If not specified, returns 100 results.
         | 
| 530 535 | 
             
                 */
         | 
| 531 536 | 
             
                maxResults?: ListScansRequestMaxResultsInteger;
         | 
| 532 537 | 
             
                /**
         | 
| @@ -547,7 +552,7 @@ declare namespace CodeGuruSecurity { | |
| 547 552 | 
             
              }
         | 
| 548 553 | 
             
              export interface ListTagsForResourceRequest {
         | 
| 549 554 | 
             
                /**
         | 
| 550 | 
            -
                 * The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan.
         | 
| 555 | 
            +
                 * The ARN of the ScanName object. You can retrieve this ARN by calling CreateScan, ListScans, or GetScan.
         | 
| 551 556 | 
             
                 */
         | 
| 552 557 | 
             
                resourceArn: ScanNameArn;
         | 
| 553 558 | 
             
              }
         | 
| @@ -560,7 +565,7 @@ declare namespace CodeGuruSecurity { | |
| 560 565 | 
             
              export type Long = number;
         | 
| 561 566 | 
             
              export interface MetricsSummary {
         | 
| 562 567 | 
             
                /**
         | 
| 563 | 
            -
                 * A list of CategoryWithFindingNum objects for the top 5 finding categories with the most  | 
| 568 | 
            +
                 * A list of CategoryWithFindingNum objects for the top 5 finding categories with the most findings.
         | 
| 564 569 | 
             
                 */
         | 
| 565 570 | 
             
                categoriesWithMostFindings?: CategoriesWithMostFindings;
         | 
| 566 571 | 
             
                /**
         | 
| @@ -568,15 +573,15 @@ declare namespace CodeGuruSecurity { | |
| 568 573 | 
             
                 */
         | 
| 569 574 | 
             
                date?: Timestamp;
         | 
| 570 575 | 
             
                /**
         | 
| 571 | 
            -
                 * The number of open findings of each severity | 
| 576 | 
            +
                 * The number of open findings of each severity.
         | 
| 572 577 | 
             
                 */
         | 
| 573 578 | 
             
                openFindings?: FindingMetricsValuePerSeverity;
         | 
| 574 579 | 
             
                /**
         | 
| 575 | 
            -
                 * A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings | 
| 580 | 
            +
                 * A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings.
         | 
| 576 581 | 
             
                 */
         | 
| 577 582 | 
             
                scansWithMostOpenCriticalFindings?: ScansWithMostOpenCriticalFindings;
         | 
| 578 583 | 
             
                /**
         | 
| 579 | 
            -
                 * A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open  | 
| 584 | 
            +
                 * A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings.
         | 
| 580 585 | 
             
                 */
         | 
| 581 586 | 
             
                scansWithMostOpenFindings?: ScansWithMostOpenFindings;
         | 
| 582 587 | 
             
              }
         | 
| @@ -606,17 +611,17 @@ declare namespace CodeGuruSecurity { | |
| 606 611 | 
             
              export type RequestHeaderMap = {[key: string]: HeaderValue};
         | 
| 607 612 | 
             
              export interface Resource {
         | 
| 608 613 | 
             
                /**
         | 
| 609 | 
            -
                 * The  | 
| 614 | 
            +
                 * The scanName of the scan that was run on the resource.
         | 
| 610 615 | 
             
                 */
         | 
| 611 616 | 
             
                id?: String;
         | 
| 612 617 | 
             
                /**
         | 
| 613 | 
            -
                 * The identifier for a section of the resource | 
| 618 | 
            +
                 * The identifier for a section of the resource.
         | 
| 614 619 | 
             
                 */
         | 
| 615 620 | 
             
                subResourceId?: String;
         | 
| 616 621 | 
             
              }
         | 
| 617 622 | 
             
              export interface ResourceId {
         | 
| 618 623 | 
             
                /**
         | 
| 619 | 
            -
                 * The identifier for the code file uploaded to the resource  | 
| 624 | 
            +
                 * The identifier for the code file uploaded to the resource object. Returned by CreateUploadUrl when you upload resources to be scanned.
         | 
| 620 625 | 
             
                 */
         | 
| 621 626 | 
             
                codeArtifactId?: Uuid;
         | 
| 622 627 | 
             
              }
         | 
| @@ -625,7 +630,7 @@ declare namespace CodeGuruSecurity { | |
| 625 630 | 
             
              export type ScanNameArn = string;
         | 
| 626 631 | 
             
              export interface ScanNameWithFindingNum {
         | 
| 627 632 | 
             
                /**
         | 
| 628 | 
            -
                 * The number of  | 
| 633 | 
            +
                 * The number of findings generated by a scan.
         | 
| 629 634 | 
             
                 */
         | 
| 630 635 | 
             
                findingNumber?: Integer;
         | 
| 631 636 | 
             
                /**
         | 
| @@ -669,7 +674,7 @@ declare namespace CodeGuruSecurity { | |
| 669 674 | 
             
              export type String = string;
         | 
| 670 675 | 
             
              export interface SuggestedFix {
         | 
| 671 676 | 
             
                /**
         | 
| 672 | 
            -
                 * The suggested code  | 
| 677 | 
            +
                 * The suggested code fix. If applicable, includes code patch to replace your source code. 
         | 
| 673 678 | 
             
                 */
         | 
| 674 679 | 
             
                code?: String;
         | 
| 675 680 | 
             
                /**
         | 
| @@ -683,7 +688,7 @@ declare namespace CodeGuruSecurity { | |
| 683 688 | 
             
              export type TagMap = {[key: string]: TagValue};
         | 
| 684 689 | 
             
              export interface TagResourceRequest {
         | 
| 685 690 | 
             
                /**
         | 
| 686 | 
            -
                 * The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan.
         | 
| 691 | 
            +
                 * The ARN of the ScanName object. You can retrieve this ARN by calling CreateScan, ListScans, or GetScan.
         | 
| 687 692 | 
             
                 */
         | 
| 688 693 | 
             
                resourceArn: ScanNameArn;
         | 
| 689 694 | 
             
                /**
         | 
| @@ -697,7 +702,7 @@ declare namespace CodeGuruSecurity { | |
| 697 702 | 
             
              export type Timestamp = Date;
         | 
| 698 703 | 
             
              export interface UntagResourceRequest {
         | 
| 699 704 | 
             
                /**
         | 
| 700 | 
            -
                 * The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan.
         | 
| 705 | 
            +
                 * The ARN of the ScanName object. You can retrieve this ARN by calling CreateScan, ListScans, or GetScan.
         | 
| 701 706 | 
             
                 */
         | 
| 702 707 | 
             
                resourceArn: ScanNameArn;
         | 
| 703 708 | 
             
                /**
         | 
| @@ -709,13 +714,13 @@ declare namespace CodeGuruSecurity { | |
| 709 714 | 
             
              }
         | 
| 710 715 | 
             
              export interface UpdateAccountConfigurationRequest {
         | 
| 711 716 | 
             
                /**
         | 
| 712 | 
            -
                 * The KMS key ARN you want to use for encryption.  | 
| 717 | 
            +
                 * The customer-managed KMS key ARN you want to use for encryption. If not specified, CodeGuru Security will use an AWS-managed key for encryption. If you previously specified a customer-managed KMS key and want CodeGuru Security to use an AWS-managed key for encryption instead, pass nothing.
         | 
| 713 718 | 
             
                 */
         | 
| 714 719 | 
             
                encryptionConfig: EncryptionConfig;
         | 
| 715 720 | 
             
              }
         | 
| 716 721 | 
             
              export interface UpdateAccountConfigurationResponse {
         | 
| 717 722 | 
             
                /**
         | 
| 718 | 
            -
                 * An EncryptionConfig object that contains the KMS key ARN  | 
| 723 | 
            +
                 * An EncryptionConfig object that contains the KMS key ARN that is used for encryption. If you did not specify a customer-managed KMS key in the request, returns empty. 
         | 
| 719 724 | 
             
                 */
         | 
| 720 725 | 
             
                encryptionConfig: EncryptionConfig;
         | 
| 721 726 | 
             
              }
         | 
| @@ -730,7 +735,7 @@ declare namespace CodeGuruSecurity { | |
| 730 735 | 
             
                 */
         | 
| 731 736 | 
             
                id?: String;
         | 
| 732 737 | 
             
                /**
         | 
| 733 | 
            -
                 * | 
| 738 | 
            +
                 * The number of times the vulnerability appears in your code.
         | 
| 734 739 | 
             
                 */
         | 
| 735 740 | 
             
                itemCount?: Integer;
         | 
| 736 741 | 
             
                /**
         |