aws-sdk 2.1425.0 → 2.1426.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.
@@ -12,11 +12,11 @@ declare class CodeStarconnections extends Service {
12
12
  constructor(options?: CodeStarconnections.Types.ClientConfiguration)
13
13
  config: Config & CodeStarconnections.Types.ClientConfiguration;
14
14
  /**
15
- * Creates a connection that can then be given to other AWS services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.
15
+ * Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.
16
16
  */
17
17
  createConnection(params: CodeStarconnections.Types.CreateConnectionInput, callback?: (err: AWSError, data: CodeStarconnections.Types.CreateConnectionOutput) => void): Request<CodeStarconnections.Types.CreateConnectionOutput, AWSError>;
18
18
  /**
19
- * Creates a connection that can then be given to other AWS services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.
19
+ * Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.
20
20
  */
21
21
  createConnection(callback?: (err: AWSError, data: CodeStarconnections.Types.CreateConnectionOutput) => void): Request<CodeStarconnections.Types.CreateConnectionOutput, AWSError>;
22
22
  /**
@@ -92,11 +92,11 @@ declare class CodeStarconnections extends Service {
92
92
  */
93
93
  tagResource(callback?: (err: AWSError, data: CodeStarconnections.Types.TagResourceOutput) => void): Request<CodeStarconnections.Types.TagResourceOutput, AWSError>;
94
94
  /**
95
- * Removes tags from an AWS resource.
95
+ * Removes tags from an Amazon Web Services resource.
96
96
  */
97
97
  untagResource(params: CodeStarconnections.Types.UntagResourceInput, callback?: (err: AWSError, data: CodeStarconnections.Types.UntagResourceOutput) => void): Request<CodeStarconnections.Types.UntagResourceOutput, AWSError>;
98
98
  /**
99
- * Removes tags from an AWS resource.
99
+ * Removes tags from an Amazon Web Services resource.
100
100
  */
101
101
  untagResource(callback?: (err: AWSError, data: CodeStarconnections.Types.UntagResourceOutput) => void): Request<CodeStarconnections.Types.UntagResourceOutput, AWSError>;
102
102
  /**
@@ -113,11 +113,11 @@ declare namespace CodeStarconnections {
113
113
  export type AmazonResourceName = string;
114
114
  export interface Connection {
115
115
  /**
116
- * The name of the connection. Connection names must be unique in an AWS user account.
116
+ * The name of the connection. Connection names must be unique in an Amazon Web Services account.
117
117
  */
118
118
  ConnectionName?: ConnectionName;
119
119
  /**
120
- * The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services. The ARN is never reused if the connection is deleted.
120
+ * The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Services. The ARN is never reused if the connection is deleted.
121
121
  */
122
122
  ConnectionArn?: ConnectionArn;
123
123
  /**
@@ -147,7 +147,7 @@ declare namespace CodeStarconnections {
147
147
  */
148
148
  ProviderType?: ProviderType;
149
149
  /**
150
- * The name of the connection to be created. The name must be unique in the calling AWS account.
150
+ * The name of the connection to be created.
151
151
  */
152
152
  ConnectionName: ConnectionName;
153
153
  /**
@@ -161,7 +161,7 @@ declare namespace CodeStarconnections {
161
161
  }
162
162
  export interface CreateConnectionOutput {
163
163
  /**
164
- * The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between AWS services. The ARN is never reused if the connection is deleted.
164
+ * The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services. The ARN is never reused if the connection is deleted.
165
165
  */
166
166
  ConnectionArn: ConnectionArn;
167
167
  /**
@@ -171,7 +171,7 @@ declare namespace CodeStarconnections {
171
171
  }
172
172
  export interface CreateHostInput {
173
173
  /**
174
- * The name of the host to be created. The name must be unique in the calling AWS account.
174
+ * The name of the host to be created.
175
175
  */
176
176
  Name: HostName;
177
177
  /**
@@ -348,7 +348,7 @@ declare namespace CodeStarconnections {
348
348
  }
349
349
  export type MaxResults = number;
350
350
  export type NextToken = string;
351
- export type ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|string;
351
+ export type ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|string;
352
352
  export type SecurityGroupId = string;
353
353
  export type SecurityGroupIds = SecurityGroupId[];
354
354
  export type SubnetId = string;
package/clients/drs.d.ts CHANGED
@@ -2300,7 +2300,7 @@ declare namespace Drs {
2300
2300
  }
2301
2301
  export type TagValue = string;
2302
2302
  export type TagsMap = {[key: string]: TagValue};
2303
- export type TargetInstanceTypeRightSizingMethod = "NONE"|"BASIC"|string;
2303
+ export type TargetInstanceTypeRightSizingMethod = "NONE"|"BASIC"|"IN_AWS"|string;
2304
2304
  export interface TerminateRecoveryInstancesRequest {
2305
2305
  /**
2306
2306
  * The IDs of the Recovery Instances that should be terminated.
@@ -35,6 +35,14 @@ declare class Inspector2 extends Service {
35
35
  * Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
36
36
  */
37
37
  batchGetCodeSnippet(callback?: (err: AWSError, data: Inspector2.Types.BatchGetCodeSnippetResponse) => void): Request<Inspector2.Types.BatchGetCodeSnippetResponse, AWSError>;
38
+ /**
39
+ * Gets vulnerability details for findings.
40
+ */
41
+ batchGetFindingDetails(params: Inspector2.Types.BatchGetFindingDetailsRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetFindingDetailsResponse) => void): Request<Inspector2.Types.BatchGetFindingDetailsResponse, AWSError>;
42
+ /**
43
+ * Gets vulnerability details for findings.
44
+ */
45
+ batchGetFindingDetails(callback?: (err: AWSError, data: Inspector2.Types.BatchGetFindingDetailsResponse) => void): Request<Inspector2.Types.BatchGetFindingDetailsResponse, AWSError>;
38
46
  /**
39
47
  * Gets free trial status for multiple Amazon Web Services accounts.
40
48
  */
@@ -828,6 +836,22 @@ declare namespace Inspector2 {
828
836
  */
829
837
  errors?: CodeSnippetErrorList;
830
838
  }
839
+ export interface BatchGetFindingDetailsRequest {
840
+ /**
841
+ * A list of finding ARNs.
842
+ */
843
+ findingArns: FindingArnList;
844
+ }
845
+ export interface BatchGetFindingDetailsResponse {
846
+ /**
847
+ * Error information for findings that details could not be returned for.
848
+ */
849
+ errors?: FindingDetailsErrorList;
850
+ /**
851
+ * A finding's vulnerability details.
852
+ */
853
+ findingDetails?: FindingDetails;
854
+ }
831
855
  export interface BatchGetFreeTrialInfoRequest {
832
856
  /**
833
857
  * The account IDs to get free trial status for.
@@ -1379,7 +1403,7 @@ declare namespace Inspector2 {
1379
1403
  */
1380
1404
  bucketName: String;
1381
1405
  /**
1382
- * The prefix of the Amazon S3 bucket used to export findings.
1406
+ * The prefix that the findings will be written under.
1383
1407
  */
1384
1408
  keyPrefix?: String;
1385
1409
  /**
@@ -1610,6 +1634,24 @@ declare namespace Inspector2 {
1610
1634
  export type EpssScoreValue = number;
1611
1635
  export type ErrorCode = "ALREADY_ENABLED"|"ENABLE_IN_PROGRESS"|"DISABLE_IN_PROGRESS"|"SUSPEND_IN_PROGRESS"|"RESOURCE_NOT_FOUND"|"ACCESS_DENIED"|"INTERNAL_ERROR"|"SSM_UNAVAILABLE"|"SSM_THROTTLED"|"EVENTBRIDGE_UNAVAILABLE"|"EVENTBRIDGE_THROTTLED"|"RESOURCE_SCAN_NOT_DISABLED"|"DISASSOCIATE_ALL_MEMBERS"|"ACCOUNT_IS_ISOLATED"|string;
1612
1636
  export type ErrorMessage = string;
1637
+ export interface Evidence {
1638
+ /**
1639
+ * The evidence details.
1640
+ */
1641
+ evidenceDetail?: EvidenceDetail;
1642
+ /**
1643
+ * The evidence rule.
1644
+ */
1645
+ evidenceRule?: EvidenceRule;
1646
+ /**
1647
+ * The evidence severity.
1648
+ */
1649
+ severity?: EvidenceSeverity;
1650
+ }
1651
+ export type EvidenceDetail = string;
1652
+ export type EvidenceList = Evidence[];
1653
+ export type EvidenceRule = string;
1654
+ export type EvidenceSeverity = string;
1613
1655
  export type ExecutionRoleArn = string;
1614
1656
  export type ExploitAvailable = "YES"|"NO"|string;
1615
1657
  export interface ExploitObserved {
@@ -1831,7 +1873,7 @@ declare namespace Inspector2 {
1831
1873
  */
1832
1874
  lastObservedAt?: DateFilterList;
1833
1875
  /**
1834
- * Details on the ingress source addresses used to filter findings.
1876
+ * Details on network protocol used to filter findings.
1835
1877
  */
1836
1878
  networkProtocol?: StringFilterList;
1837
1879
  /**
@@ -1974,7 +2016,61 @@ declare namespace Inspector2 {
1974
2016
  updatedAt?: DateTimeTimestamp;
1975
2017
  }
1976
2018
  export type FindingArn = string;
2019
+ export type FindingArnList = FindingArn[];
1977
2020
  export type FindingDescription = string;
2021
+ export interface FindingDetail {
2022
+ cisaData?: CisaData;
2023
+ /**
2024
+ * The Common Weakness Enumerations (CWEs) associated with the vulnerability.
2025
+ */
2026
+ cwes?: Cwes;
2027
+ /**
2028
+ * The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
2029
+ */
2030
+ epssScore?: Double;
2031
+ /**
2032
+ * Information on the evidence of the vulnerability.
2033
+ */
2034
+ evidences?: EvidenceList;
2035
+ exploitObserved?: ExploitObserved;
2036
+ /**
2037
+ * The finding ARN that the vulnerability details are associated with.
2038
+ */
2039
+ findingArn?: FindingArn;
2040
+ /**
2041
+ * The reference URLs for the vulnerability data.
2042
+ */
2043
+ referenceUrls?: VulnerabilityReferenceUrls;
2044
+ /**
2045
+ * The risk score of the vulnerability.
2046
+ */
2047
+ riskScore?: RiskScore;
2048
+ /**
2049
+ * The known malware tools or kits that can exploit the vulnerability.
2050
+ */
2051
+ tools?: Tools;
2052
+ /**
2053
+ * The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
2054
+ */
2055
+ ttps?: Ttps;
2056
+ }
2057
+ export type FindingDetails = FindingDetail[];
2058
+ export interface FindingDetailsError {
2059
+ /**
2060
+ * The error code.
2061
+ */
2062
+ errorCode: FindingDetailsErrorCode;
2063
+ /**
2064
+ * The error message.
2065
+ */
2066
+ errorMessage: NonEmptyString;
2067
+ /**
2068
+ * The finding ARN that returned an error.
2069
+ */
2070
+ findingArn: FindingArn;
2071
+ }
2072
+ export type FindingDetailsErrorCode = "INTERNAL_ERROR"|"ACCESS_DENIED"|"FINDING_DETAILS_NOT_FOUND"|"INVALID_INPUT"|string;
2073
+ export type FindingDetailsErrorList = FindingDetailsError[];
1978
2074
  export type FindingList = Finding[];
1979
2075
  export type FindingStatus = "ACTIVE"|"SUPPRESSED"|"CLOSED"|string;
1980
2076
  export type FindingTitle = string;
@@ -3105,6 +3201,7 @@ declare namespace Inspector2 {
3105
3201
  export type ResourceStringFilterList = ResourceStringFilter[];
3106
3202
  export type ResourceStringInput = string;
3107
3203
  export type ResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_ECR_REPOSITORY"|"AWS_LAMBDA_FUNCTION"|string;
3204
+ export type RiskScore = number;
3108
3205
  export type Runtime = "NODEJS"|"NODEJS_12_X"|"NODEJS_14_X"|"NODEJS_16_X"|"JAVA_8"|"JAVA_8_AL2"|"JAVA_11"|"PYTHON_3_7"|"PYTHON_3_8"|"PYTHON_3_9"|"UNSUPPORTED"|"NODEJS_18_X"|"GO_1_X"|"JAVA_17"|"PYTHON_3_10"|string;
3109
3206
  export type SbomReportFormat = "CYCLONEDX_1_4"|"SPDX_2_3"|string;
3110
3207
  export interface ScanStatus {
@@ -3301,6 +3398,8 @@ declare namespace Inspector2 {
3301
3398
  vulnerabilityId?: String;
3302
3399
  }
3303
3400
  export type TitleSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
3401
+ export type Tool = string;
3402
+ export type Tools = Tool[];
3304
3403
  export type Ttp = string;
3305
3404
  export type Ttps = Ttp[];
3306
3405
  export interface UntagResourceRequest {