Comparing version 2.1631.0 to 2.1632.0
@@ -8,2 +8,5 @@ { | ||
"protocol": "rest-json", | ||
"protocols": [ | ||
"rest-json" | ||
], | ||
"serviceFullName": "Amazon CodeGuru Security", | ||
@@ -314,2 +317,3 @@ "serviceId": "CodeGuru Security", | ||
}, | ||
"errorMessage": {}, | ||
"numberOfRevisions": { | ||
@@ -642,2 +646,4 @@ "type": "long" | ||
"itemCount": { | ||
"deprecated": true, | ||
"deprecatedMessage": "This shape is not used.", | ||
"type": "integer" | ||
@@ -644,0 +650,0 @@ }, |
@@ -8,2 +8,5 @@ { | ||
"protocol": "rest-json", | ||
"protocols": [ | ||
"rest-json" | ||
], | ||
"serviceFullName": "AWS Launch Wizard", | ||
@@ -38,2 +41,5 @@ "serviceId": "Launch Wizard", | ||
}, | ||
"tags": { | ||
"shape": "S8" | ||
}, | ||
"workloadName": {} | ||
@@ -98,2 +104,3 @@ } | ||
}, | ||
"deploymentArn": {}, | ||
"id": {}, | ||
@@ -107,2 +114,5 @@ "name": {}, | ||
"status": {}, | ||
"tags": { | ||
"shape": "S8" | ||
}, | ||
"workloadName": {} | ||
@@ -146,2 +156,62 @@ } | ||
}, | ||
"GetWorkloadDeploymentPattern": { | ||
"http": { | ||
"requestUri": "/getWorkloadDeploymentPattern", | ||
"responseCode": 200 | ||
}, | ||
"input": { | ||
"type": "structure", | ||
"required": [ | ||
"deploymentPatternName", | ||
"workloadName" | ||
], | ||
"members": { | ||
"deploymentPatternName": {}, | ||
"workloadName": {} | ||
} | ||
}, | ||
"output": { | ||
"type": "structure", | ||
"members": { | ||
"workloadDeploymentPattern": { | ||
"type": "structure", | ||
"members": { | ||
"deploymentPatternName": {}, | ||
"description": {}, | ||
"displayName": {}, | ||
"specifications": { | ||
"type": "list", | ||
"member": { | ||
"type": "structure", | ||
"members": { | ||
"allowedValues": { | ||
"type": "list", | ||
"member": {} | ||
}, | ||
"conditionals": { | ||
"type": "list", | ||
"member": { | ||
"type": "structure", | ||
"members": { | ||
"comparator": {}, | ||
"name": {}, | ||
"value": {} | ||
} | ||
} | ||
}, | ||
"description": {}, | ||
"name": {}, | ||
"required": {} | ||
} | ||
} | ||
}, | ||
"status": {}, | ||
"statusMessage": {}, | ||
"workloadName": {}, | ||
"workloadVersionName": {} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ListDeploymentEvents": { | ||
@@ -237,2 +307,29 @@ "http": { | ||
}, | ||
"ListTagsForResource": { | ||
"http": { | ||
"method": "GET", | ||
"requestUri": "/tags/{resourceArn}", | ||
"responseCode": 200 | ||
}, | ||
"input": { | ||
"type": "structure", | ||
"required": [ | ||
"resourceArn" | ||
], | ||
"members": { | ||
"resourceArn": { | ||
"location": "uri", | ||
"locationName": "resourceArn" | ||
} | ||
} | ||
}, | ||
"output": { | ||
"type": "structure", | ||
"members": { | ||
"tags": { | ||
"shape": "S8" | ||
} | ||
} | ||
} | ||
}, | ||
"ListWorkloadDeploymentPatterns": { | ||
@@ -308,2 +405,59 @@ "http": { | ||
} | ||
}, | ||
"TagResource": { | ||
"http": { | ||
"requestUri": "/tags/{resourceArn}", | ||
"responseCode": 200 | ||
}, | ||
"input": { | ||
"type": "structure", | ||
"required": [ | ||
"resourceArn", | ||
"tags" | ||
], | ||
"members": { | ||
"resourceArn": { | ||
"location": "uri", | ||
"locationName": "resourceArn" | ||
}, | ||
"tags": { | ||
"shape": "S8" | ||
} | ||
} | ||
}, | ||
"output": { | ||
"type": "structure", | ||
"members": {} | ||
} | ||
}, | ||
"UntagResource": { | ||
"http": { | ||
"method": "DELETE", | ||
"requestUri": "/tags/{resourceArn}", | ||
"responseCode": 200 | ||
}, | ||
"input": { | ||
"type": "structure", | ||
"required": [ | ||
"resourceArn", | ||
"tagKeys" | ||
], | ||
"members": { | ||
"resourceArn": { | ||
"location": "uri", | ||
"locationName": "resourceArn" | ||
}, | ||
"tagKeys": { | ||
"location": "querystring", | ||
"locationName": "tagKeys", | ||
"type": "list", | ||
"member": {} | ||
} | ||
} | ||
}, | ||
"output": { | ||
"type": "structure", | ||
"members": {} | ||
}, | ||
"idempotent": true | ||
} | ||
@@ -317,4 +471,9 @@ }, | ||
"sensitive": true | ||
}, | ||
"S8": { | ||
"type": "map", | ||
"key": {}, | ||
"value": {} | ||
} | ||
} | ||
} |
@@ -15,31 +15,31 @@ import {Request} from '../lib/request'; | ||
/** | ||
* Returns a list of all requested findings. | ||
* Returns a list of requested findings from standard scans. | ||
*/ | ||
batchGetFindings(params: CodeGuruSecurity.Types.BatchGetFindingsRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.BatchGetFindingsResponse) => void): Request<CodeGuruSecurity.Types.BatchGetFindingsResponse, AWSError>; | ||
/** | ||
* Returns a list of all requested findings. | ||
* Returns a list of requested findings from standard scans. | ||
*/ | ||
batchGetFindings(callback?: (err: AWSError, data: CodeGuruSecurity.Types.BatchGetFindingsResponse) => void): Request<CodeGuruSecurity.Types.BatchGetFindingsResponse, AWSError>; | ||
/** | ||
* Use to create a scan using code uploaded to an S3 bucket. | ||
* Use to create a scan using code uploaded to an Amazon S3 bucket. | ||
*/ | ||
createScan(params: CodeGuruSecurity.Types.CreateScanRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.CreateScanResponse) => void): Request<CodeGuruSecurity.Types.CreateScanResponse, AWSError>; | ||
/** | ||
* Use to create a scan using code uploaded to an S3 bucket. | ||
* Use to create a scan using code uploaded to an Amazon S3 bucket. | ||
*/ | ||
createScan(callback?: (err: AWSError, data: CodeGuruSecurity.Types.CreateScanResponse) => void): Request<CodeGuruSecurity.Types.CreateScanResponse, AWSError>; | ||
/** | ||
* Generates a pre-signed URL and request headers used to upload a code resource. You can upload your code resource to the URL and add the request headers using any HTTP client. | ||
* 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. | ||
*/ | ||
createUploadUrl(params: CodeGuruSecurity.Types.CreateUploadUrlRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.CreateUploadUrlResponse) => void): Request<CodeGuruSecurity.Types.CreateUploadUrlResponse, AWSError>; | ||
/** | ||
* Generates a pre-signed URL and request headers used to upload a code resource. You can upload your code resource to the URL and add the request headers using any HTTP client. | ||
* 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. | ||
*/ | ||
createUploadUrl(callback?: (err: AWSError, data: CodeGuruSecurity.Types.CreateUploadUrlResponse) => void): Request<CodeGuruSecurity.Types.CreateUploadUrlResponse, AWSError>; | ||
/** | ||
* Use to get account level configuration. | ||
* Use to get the encryption configuration for an account. | ||
*/ | ||
getAccountConfiguration(params: CodeGuruSecurity.Types.GetAccountConfigurationRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.GetAccountConfigurationResponse) => void): Request<CodeGuruSecurity.Types.GetAccountConfigurationResponse, AWSError>; | ||
/** | ||
* Use to get account level configuration. | ||
* Use to get the encryption configuration for an account. | ||
*/ | ||
@@ -56,7 +56,7 @@ getAccountConfiguration(callback?: (err: AWSError, data: CodeGuruSecurity.Types.GetAccountConfigurationResponse) => void): Request<CodeGuruSecurity.Types.GetAccountConfigurationResponse, AWSError>; | ||
/** | ||
* Returns top level metrics about 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. | ||
* 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. | ||
*/ | ||
getMetricsSummary(params: CodeGuruSecurity.Types.GetMetricsSummaryRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.GetMetricsSummaryResponse) => void): Request<CodeGuruSecurity.Types.GetMetricsSummaryResponse, AWSError>; | ||
/** | ||
* Returns top level metrics about 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. | ||
* 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. | ||
*/ | ||
@@ -81,7 +81,7 @@ getMetricsSummary(callback?: (err: AWSError, data: CodeGuruSecurity.Types.GetMetricsSummaryResponse) => void): Request<CodeGuruSecurity.Types.GetMetricsSummaryResponse, AWSError>; | ||
/** | ||
* Returns a list of all the standard scans in an account. Does not return express scans. | ||
* Returns a list of all scans in an account. Does not return EXPRESS scans. | ||
*/ | ||
listScans(params: CodeGuruSecurity.Types.ListScansRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.ListScansResponse) => void): Request<CodeGuruSecurity.Types.ListScansResponse, AWSError>; | ||
/** | ||
* Returns a list of all the standard scans in an account. Does not return express scans. | ||
* Returns a list of all scans in an account. Does not return EXPRESS scans. | ||
*/ | ||
@@ -114,7 +114,7 @@ listScans(callback?: (err: AWSError, data: CodeGuruSecurity.Types.ListScansResponse) => void): Request<CodeGuruSecurity.Types.ListScansResponse, AWSError>; | ||
/** | ||
* Use to update account-level configuration with an encryption key. | ||
* Use to update the encryption configuration for an account. | ||
*/ | ||
updateAccountConfiguration(params: CodeGuruSecurity.Types.UpdateAccountConfigurationRequest, callback?: (err: AWSError, data: CodeGuruSecurity.Types.UpdateAccountConfigurationResponse) => void): Request<CodeGuruSecurity.Types.UpdateAccountConfigurationResponse, AWSError>; | ||
/** | ||
* Use to update account-level configuration with an encryption key. | ||
* Use to update the encryption configuration for an account. | ||
*/ | ||
@@ -126,19 +126,19 @@ updateAccountConfiguration(callback?: (err: AWSError, data: CodeGuruSecurity.Types.UpdateAccountConfigurationResponse) => void): Request<CodeGuruSecurity.Types.UpdateAccountConfigurationResponse, AWSError>; | ||
/** | ||
* The number of closed findings of each severity in an account on the specified date. | ||
* The number of closed findings of each severity on the specified date. | ||
*/ | ||
closedFindings?: FindingMetricsValuePerSeverity; | ||
/** | ||
* The date from which the finding metrics were retrieved. | ||
* The date from which the findings metrics were retrieved. | ||
*/ | ||
date?: Timestamp; | ||
/** | ||
* The average time it takes to close findings of each severity in days. | ||
* The average time in days it takes to close findings of each severity as of a specified date. | ||
*/ | ||
meanTimeToClose?: FindingMetricsValuePerSeverity; | ||
/** | ||
* The number of new findings of each severity in account on the specified date. | ||
* The number of new findings of each severity on the specified date. | ||
*/ | ||
newFindings?: FindingMetricsValuePerSeverity; | ||
/** | ||
* The number of open findings of each severity in an account as of the specified date. | ||
* The number of open findings of each severity as of the specified date. | ||
*/ | ||
@@ -179,3 +179,3 @@ openFindings?: FindingMetricsValuePerSeverity; | ||
/** | ||
* A list of all requested findings. | ||
* A list of all findings which were successfully fetched. | ||
*/ | ||
@@ -217,7 +217,7 @@ findings: Findings; | ||
/** | ||
* The identifier for an input resource used to create a scan. | ||
* The identifier for the resource object to be scanned. | ||
*/ | ||
resourceId: ResourceId; | ||
/** | ||
* The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource. Only allowed for a STANDARD scan type. If not specified, it will be auto generated. | ||
* The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource. Only allowed for a STANDARD scan type. | ||
*/ | ||
@@ -264,3 +264,3 @@ scanName: ScanName; | ||
/** | ||
* The identifier for the uploaded code resource. | ||
* The identifier for the uploaded code resource. Pass this to CreateScan to use the uploaded resources. | ||
*/ | ||
@@ -273,3 +273,3 @@ codeArtifactId: Uuid; | ||
/** | ||
* A pre-signed S3 URL. You can upload the code file you want to scan and add the required requestHeaders using any HTTP client. | ||
* A pre-signed S3 URL. You can upload the code file you want to scan with the required requestHeaders using any HTTP client. | ||
*/ | ||
@@ -282,3 +282,3 @@ s3Url: S3Url; | ||
/** | ||
* The KMS key ARN to use for encryption. This must be provided as a header when uploading your code resource. | ||
* The KMS key ARN that is used for encryption. If an AWS-managed key is used for encryption, returns empty. | ||
*/ | ||
@@ -288,2 +288,3 @@ kmsKeyArn?: KmsKeyArn; | ||
export type ErrorCode = "DUPLICATE_IDENTIFIER"|"ITEM_DOES_NOT_EXIST"|"INTERNAL_ERROR"|"INVALID_FINDING_ID"|"INVALID_SCAN_NAME"|string; | ||
export type ErrorMessage = string; | ||
export interface FilePath { | ||
@@ -333,3 +334,3 @@ /** | ||
/** | ||
* The identifier for the component that generated a finding such as AWSCodeGuruSecurity or AWSInspector. | ||
* The identifier for the component that generated a finding such as AmazonCodeGuruSecurity. | ||
*/ | ||
@@ -354,3 +355,3 @@ generatorId?: String; | ||
/** | ||
* The severity of the finding. | ||
* 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. | ||
*/ | ||
@@ -392,19 +393,19 @@ severity?: Severity; | ||
/** | ||
* The severity of the finding is critical and should be addressed immediately. | ||
* A numeric value corresponding to a critical finding. | ||
*/ | ||
critical?: Double; | ||
/** | ||
* The severity of the finding is high and should be addressed as a near-term priority. | ||
* A numeric value corresponding to a high severity finding. | ||
*/ | ||
high?: Double; | ||
/** | ||
* The finding is related to quality or readability improvements and not considered actionable. | ||
* A numeric value corresponding to an informational finding. | ||
*/ | ||
info?: Double; | ||
/** | ||
* The severity of the finding is low and does require action on its own. | ||
* A numeric value corresponding to a low severity finding. | ||
*/ | ||
low?: Double; | ||
/** | ||
* The severity of the finding is medium and should be addressed as a mid-term priority. | ||
* A numeric value corresponding to a medium severity finding. | ||
*/ | ||
@@ -419,3 +420,3 @@ medium?: Double; | ||
/** | ||
* An EncryptionConfig object that contains the KMS key ARN to use for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, call UpdateAccountConfiguration. | ||
* 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. | ||
*/ | ||
@@ -426,3 +427,3 @@ encryptionConfig: EncryptionConfig; | ||
/** | ||
* 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. | ||
* 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. | ||
*/ | ||
@@ -456,3 +457,3 @@ maxResults?: GetFindingsRequestMaxResultsInteger; | ||
/** | ||
* The date you want to retrieve summary metrics from, rounded to the nearest day. The date must be within the past two years since metrics data is only stored for two years. If a date outside of this range is passed, the response will be empty. | ||
* The date you want to retrieve summary metrics from, rounded to the nearest day. The date must be within the past two years. | ||
*/ | ||
@@ -487,2 +488,6 @@ date: Timestamp; | ||
/** | ||
* Details about the error that causes a scan to fail to be retrieved. | ||
*/ | ||
errorMessage?: ErrorMessage; | ||
/** | ||
* The number of times a scan has been re-run on a revised resource. | ||
@@ -504,3 +509,3 @@ */ | ||
/** | ||
* The current state of the scan. Pass either InProgress, Successful, or Failed. | ||
* The current state of the scan. Returns either InProgress, Successful, or Failed. | ||
*/ | ||
@@ -519,7 +524,7 @@ scanState: ScanState; | ||
/** | ||
* The end date of the interval which you want to retrieve metrics from. | ||
* The end date of the interval which you want to retrieve metrics from. Round to the nearest day. | ||
*/ | ||
endDate: Timestamp; | ||
/** | ||
* 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. | ||
* 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. | ||
*/ | ||
@@ -532,3 +537,3 @@ maxResults?: ListFindingsMetricsRequestMaxResultsInteger; | ||
/** | ||
* The start date of the interval which you want to retrieve metrics from. | ||
* The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day. | ||
*/ | ||
@@ -550,3 +555,3 @@ startDate: Timestamp; | ||
/** | ||
* 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. | ||
* 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. | ||
*/ | ||
@@ -572,3 +577,3 @@ maxResults?: ListScansRequestMaxResultsInteger; | ||
/** | ||
* The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan. | ||
* The ARN of the ScanName object. You can retrieve this ARN by calling CreateScan, ListScans, or GetScan. | ||
*/ | ||
@@ -586,3 +591,3 @@ resourceArn: ScanNameArn; | ||
/** | ||
* A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open findings in an account. | ||
* A list of CategoryWithFindingNum objects for the top 5 finding categories with the most findings. | ||
*/ | ||
@@ -595,11 +600,11 @@ categoriesWithMostFindings?: CategoriesWithMostFindings; | ||
/** | ||
* The number of open findings of each severity in an account. | ||
* The number of open findings of each severity. | ||
*/ | ||
openFindings?: FindingMetricsValuePerSeverity; | ||
/** | ||
* A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings in an account. | ||
* A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings. | ||
*/ | ||
scansWithMostOpenCriticalFindings?: ScansWithMostOpenCriticalFindings; | ||
/** | ||
* A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings in an account. | ||
* A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings. | ||
*/ | ||
@@ -634,7 +639,7 @@ scansWithMostOpenFindings?: ScansWithMostOpenFindings; | ||
/** | ||
* The identifier for the resource. | ||
* The scanName of the scan that was run on the resource. | ||
*/ | ||
id?: String; | ||
/** | ||
* The identifier for a section of the resource, such as an AWS Lambda layer. | ||
* The identifier for a section of the resource. | ||
*/ | ||
@@ -645,3 +650,3 @@ subResourceId?: String; | ||
/** | ||
* The identifier for the code file uploaded to the resource where a finding was detected. | ||
* The identifier for the code file uploaded to the resource object. Returned by CreateUploadUrl when you upload resources to be scanned. | ||
*/ | ||
@@ -655,3 +660,3 @@ codeArtifactId?: Uuid; | ||
/** | ||
* The number of open findings generated by a scan. | ||
* The number of findings generated by a scan. | ||
*/ | ||
@@ -700,3 +705,3 @@ findingNumber?: Integer; | ||
/** | ||
* The suggested code to add to your file. | ||
* The suggested code fix. If applicable, includes code patch to replace your source code. | ||
*/ | ||
@@ -715,3 +720,3 @@ code?: String; | ||
/** | ||
* The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan. | ||
* The ARN of the ScanName object. You can retrieve this ARN by calling CreateScan, ListScans, or GetScan. | ||
*/ | ||
@@ -730,3 +735,3 @@ resourceArn: ScanNameArn; | ||
/** | ||
* The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan. | ||
* The ARN of the ScanName object. You can retrieve this ARN by calling CreateScan, ListScans, or GetScan. | ||
*/ | ||
@@ -743,3 +748,3 @@ resourceArn: ScanNameArn; | ||
/** | ||
* The KMS key ARN you want to use for encryption. Defaults to service-side encryption if missing. | ||
* 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. | ||
*/ | ||
@@ -750,3 +755,3 @@ encryptionConfig: EncryptionConfig; | ||
/** | ||
* An EncryptionConfig object that contains the KMS key ARN to use for encryption. | ||
* 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. | ||
*/ | ||
@@ -766,3 +771,3 @@ encryptionConfig: EncryptionConfig; | ||
/** | ||
* The number of times the vulnerability appears in your code. | ||
* The number of times the vulnerability appears in your code. | ||
*/ | ||
@@ -769,0 +774,0 @@ itemCount?: Integer; |
@@ -47,2 +47,10 @@ import {Request} from '../lib/request'; | ||
/** | ||
* Returns details for a given workload and deployment pattern, including the available specifications. You can use the ListWorkloads operation to discover the available workload names and the ListWorkloadDeploymentPatterns operation to discover the available deployment pattern names of a given workload. | ||
*/ | ||
getWorkloadDeploymentPattern(params: LaunchWizard.Types.GetWorkloadDeploymentPatternInput, callback?: (err: AWSError, data: LaunchWizard.Types.GetWorkloadDeploymentPatternOutput) => void): Request<LaunchWizard.Types.GetWorkloadDeploymentPatternOutput, AWSError>; | ||
/** | ||
* Returns details for a given workload and deployment pattern, including the available specifications. You can use the ListWorkloads operation to discover the available workload names and the ListWorkloadDeploymentPatterns operation to discover the available deployment pattern names of a given workload. | ||
*/ | ||
getWorkloadDeploymentPattern(callback?: (err: AWSError, data: LaunchWizard.Types.GetWorkloadDeploymentPatternOutput) => void): Request<LaunchWizard.Types.GetWorkloadDeploymentPatternOutput, AWSError>; | ||
/** | ||
* Lists the events of a deployment. | ||
@@ -64,19 +72,44 @@ */ | ||
/** | ||
* Lists the workload deployment patterns. | ||
* Lists the tags associated with a specified resource. | ||
*/ | ||
listTagsForResource(params: LaunchWizard.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: LaunchWizard.Types.ListTagsForResourceOutput) => void): Request<LaunchWizard.Types.ListTagsForResourceOutput, AWSError>; | ||
/** | ||
* Lists the tags associated with a specified resource. | ||
*/ | ||
listTagsForResource(callback?: (err: AWSError, data: LaunchWizard.Types.ListTagsForResourceOutput) => void): Request<LaunchWizard.Types.ListTagsForResourceOutput, AWSError>; | ||
/** | ||
* Lists the workload deployment patterns for a given workload name. You can use the ListWorkloads operation to discover the available workload names. | ||
*/ | ||
listWorkloadDeploymentPatterns(params: LaunchWizard.Types.ListWorkloadDeploymentPatternsInput, callback?: (err: AWSError, data: LaunchWizard.Types.ListWorkloadDeploymentPatternsOutput) => void): Request<LaunchWizard.Types.ListWorkloadDeploymentPatternsOutput, AWSError>; | ||
/** | ||
* Lists the workload deployment patterns. | ||
* Lists the workload deployment patterns for a given workload name. You can use the ListWorkloads operation to discover the available workload names. | ||
*/ | ||
listWorkloadDeploymentPatterns(callback?: (err: AWSError, data: LaunchWizard.Types.ListWorkloadDeploymentPatternsOutput) => void): Request<LaunchWizard.Types.ListWorkloadDeploymentPatternsOutput, AWSError>; | ||
/** | ||
* Lists the workloads. | ||
* Lists the available workload names. You can use the ListWorkloadDeploymentPatterns operation to discover the available deployment patterns for a given workload. | ||
*/ | ||
listWorkloads(params: LaunchWizard.Types.ListWorkloadsInput, callback?: (err: AWSError, data: LaunchWizard.Types.ListWorkloadsOutput) => void): Request<LaunchWizard.Types.ListWorkloadsOutput, AWSError>; | ||
/** | ||
* Lists the workloads. | ||
* Lists the available workload names. You can use the ListWorkloadDeploymentPatterns operation to discover the available deployment patterns for a given workload. | ||
*/ | ||
listWorkloads(callback?: (err: AWSError, data: LaunchWizard.Types.ListWorkloadsOutput) => void): Request<LaunchWizard.Types.ListWorkloadsOutput, AWSError>; | ||
/** | ||
* Adds the specified tags to the given resource. | ||
*/ | ||
tagResource(params: LaunchWizard.Types.TagResourceInput, callback?: (err: AWSError, data: LaunchWizard.Types.TagResourceOutput) => void): Request<LaunchWizard.Types.TagResourceOutput, AWSError>; | ||
/** | ||
* Adds the specified tags to the given resource. | ||
*/ | ||
tagResource(callback?: (err: AWSError, data: LaunchWizard.Types.TagResourceOutput) => void): Request<LaunchWizard.Types.TagResourceOutput, AWSError>; | ||
/** | ||
* Removes the specified tags from the given resource. | ||
*/ | ||
untagResource(params: LaunchWizard.Types.UntagResourceInput, callback?: (err: AWSError, data: LaunchWizard.Types.UntagResourceOutput) => void): Request<LaunchWizard.Types.UntagResourceOutput, AWSError>; | ||
/** | ||
* Removes the specified tags from the given resource. | ||
*/ | ||
untagResource(callback?: (err: AWSError, data: LaunchWizard.Types.UntagResourceOutput) => void): Request<LaunchWizard.Types.UntagResourceOutput, AWSError>; | ||
} | ||
declare namespace LaunchWizard { | ||
export type AllowedValues = ValueString[]; | ||
export type Boolean = boolean; | ||
@@ -97,8 +130,12 @@ export interface CreateDeploymentInput { | ||
/** | ||
* The settings specified for the deployment. For more information on the specifications required for creating a deployment, see Workload specifications. | ||
* The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern operation. | ||
*/ | ||
specifications: DeploymentSpecifications; | ||
/** | ||
* The name of the workload. You can use the ListWorkloadDeploymentPatterns operation to discover supported values for this parameter. | ||
* The tags to add to the deployment. | ||
*/ | ||
tags?: Tags; | ||
/** | ||
* The name of the workload. You can use the ListWorkloads operation to discover supported values for this parameter. | ||
*/ | ||
workloadName: WorkloadName; | ||
@@ -128,2 +165,16 @@ } | ||
} | ||
export interface DeploymentConditionalField { | ||
/** | ||
* The comparator of the condition. Valid values: Equal | NotEqual | ||
*/ | ||
comparator?: String; | ||
/** | ||
* The name of the deployment condition. | ||
*/ | ||
name?: String; | ||
/** | ||
* The value of the condition. | ||
*/ | ||
value?: String; | ||
} | ||
export interface DeploymentData { | ||
@@ -139,2 +190,6 @@ /** | ||
/** | ||
* The Amazon Resource Name (ARN) of the deployment. | ||
*/ | ||
deploymentArn?: String; | ||
/** | ||
* The ID of the deployment. | ||
@@ -156,3 +211,3 @@ */ | ||
/** | ||
* The specifications of the deployment. For more information on specifications for each deployment, see Workload specifications. | ||
* The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern operation. | ||
*/ | ||
@@ -165,2 +220,6 @@ specifications?: DeploymentSpecifications; | ||
/** | ||
* Information about the tags attached to a deployment. | ||
*/ | ||
tags?: Tags; | ||
/** | ||
* The name of the workload. | ||
@@ -238,2 +297,25 @@ */ | ||
export type DeploymentSpecifications = {[key: string]: ValueString}; | ||
export type DeploymentSpecificationsData = DeploymentSpecificationsField[]; | ||
export interface DeploymentSpecificationsField { | ||
/** | ||
* The allowed values of the deployment specification. | ||
*/ | ||
allowedValues?: AllowedValues; | ||
/** | ||
* The conditionals used for the deployment specification. | ||
*/ | ||
conditionals?: SpecificationsConditionalData; | ||
/** | ||
* The description of the deployment specification. | ||
*/ | ||
description?: String; | ||
/** | ||
* The name of the deployment specification. | ||
*/ | ||
name?: String; | ||
/** | ||
* Indicates if the deployment specification is required. | ||
*/ | ||
required?: String; | ||
} | ||
export type DeploymentStatus = "COMPLETED"|"CREATING"|"DELETE_IN_PROGRESS"|"DELETE_INITIATING"|"DELETE_FAILED"|"DELETED"|"FAILED"|"IN_PROGRESS"|"VALIDATING"|string; | ||
@@ -253,2 +335,18 @@ export type EventStatus = "CANCELED"|"CANCELING"|"COMPLETED"|"CREATED"|"FAILED"|"IN_PROGRESS"|"PENDING"|"TIMED_OUT"|string; | ||
} | ||
export interface GetWorkloadDeploymentPatternInput { | ||
/** | ||
* The name of the deployment pattern. | ||
*/ | ||
deploymentPatternName: DeploymentPatternName; | ||
/** | ||
* The name of the workload. | ||
*/ | ||
workloadName: WorkloadName; | ||
} | ||
export interface GetWorkloadDeploymentPatternOutput { | ||
/** | ||
* Details about the workload deployment pattern. | ||
*/ | ||
workloadDeploymentPattern?: WorkloadDeploymentPatternData; | ||
} | ||
export interface GetWorkloadInput { | ||
@@ -293,3 +391,3 @@ /** | ||
/** | ||
* Filters to scope the results. The following filters are supported: WORKLOAD_NAME DEPLOYMENT_STATUS | ||
* Filters to scope the results. The following filters are supported: WORKLOAD_NAME - The name used in deployments. DEPLOYMENT_STATUS - COMPLETED | CREATING | DELETE_IN_PROGRESS | DELETE_INITIATING | DELETE_FAILED | DELETED | FAILED | IN_PROGRESS | VALIDATING | ||
*/ | ||
@@ -316,2 +414,14 @@ filters?: DeploymentFilterList; | ||
} | ||
export interface ListTagsForResourceInput { | ||
/** | ||
* The Amazon Resource Name (ARN) of the resource. | ||
*/ | ||
resourceArn: String; | ||
} | ||
export interface ListTagsForResourceOutput { | ||
/** | ||
* Information about the tags. | ||
*/ | ||
tags?: Tags; | ||
} | ||
export interface ListWorkloadDeploymentPatternsInput { | ||
@@ -366,4 +476,33 @@ /** | ||
export type NextToken = string; | ||
export type SpecificationsConditionalData = DeploymentConditionalField[]; | ||
export type String = string; | ||
export type TagKey = string; | ||
export type TagKeyList = TagKey[]; | ||
export interface TagResourceInput { | ||
/** | ||
* The Amazon Resource Name (ARN) of the resource. | ||
*/ | ||
resourceArn: String; | ||
/** | ||
* One or more tags to attach to the resource. | ||
*/ | ||
tags: Tags; | ||
} | ||
export interface TagResourceOutput { | ||
} | ||
export type TagValue = string; | ||
export type Tags = {[key: string]: TagValue}; | ||
export type Timestamp = Date; | ||
export interface UntagResourceInput { | ||
/** | ||
* The Amazon Resource Name (ARN) of the resource. | ||
*/ | ||
resourceArn: String; | ||
/** | ||
* Keys identifying the tags to remove. | ||
*/ | ||
tagKeys: TagKeyList; | ||
} | ||
export interface UntagResourceOutput { | ||
} | ||
export type ValueString = string; | ||
@@ -411,2 +550,36 @@ export interface WorkloadData { | ||
export type WorkloadDataSummaryList = WorkloadDataSummary[]; | ||
export interface WorkloadDeploymentPatternData { | ||
/** | ||
* The name of the deployment pattern. | ||
*/ | ||
deploymentPatternName?: DeploymentPatternName; | ||
/** | ||
* The description of the deployment pattern. | ||
*/ | ||
description?: String; | ||
/** | ||
* The display name of the deployment pattern. | ||
*/ | ||
displayName?: String; | ||
/** | ||
* The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern operation. | ||
*/ | ||
specifications?: DeploymentSpecificationsData; | ||
/** | ||
* The status of the deployment pattern. | ||
*/ | ||
status?: WorkloadDeploymentPatternStatus; | ||
/** | ||
* The status message of the deployment pattern. | ||
*/ | ||
statusMessage?: String; | ||
/** | ||
* The workload name of the deployment pattern. | ||
*/ | ||
workloadName?: WorkloadName; | ||
/** | ||
* The workload version name of the deployment pattern. | ||
*/ | ||
workloadVersionName?: WorkloadVersionName; | ||
} | ||
export interface WorkloadDeploymentPatternDataSummary { | ||
@@ -413,0 +586,0 @@ /** |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
VERSION: '2.1631.0', | ||
VERSION: '2.1632.0', | ||
@@ -26,0 +26,0 @@ /** |
{ | ||
"name": "aws-sdk", | ||
"description": "AWS SDK for JavaScript", | ||
"version": "2.1631.0", | ||
"version": "2.1632.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Amazon Web Services", |
@@ -67,3 +67,3 @@ # AWS SDK for JavaScript | ||
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1631.0.min.js"></script> | ||
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1632.0.min.js"></script> | ||
@@ -70,0 +70,0 @@ You can also build a custom browser SDK with your specified set of AWS services. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95773835
1873751