aws-sdk 2.1614.0 → 2.1615.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/budgets-2016-10-20.min.json +102 -21
- package/apis/resiliencehub-2020-04-30.min.json +63 -14
- package/apis/resiliencehub-2020-04-30.paginators.json +6 -0
- package/apis/route53profiles-2018-05-10.min.json +3 -0
- package/clients/b2bi.d.ts +7 -7
- package/clients/budgets.d.ts +84 -1
- package/clients/resiliencehub.d.ts +80 -15
- package/clients/route53profiles.d.ts +4 -4
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +5 -5
- package/dist/aws-sdk.js +3 -3
- package/dist/aws-sdk.min.js +2 -2
- package/lib/core.js +1 -1
- package/package.json +1 -1
@@ -219,6 +219,14 @@ declare class Resiliencehub extends Service {
|
|
219
219
|
* List of compliance drifts that were detected while running an assessment.
|
220
220
|
*/
|
221
221
|
listAppAssessmentComplianceDrifts(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppAssessmentComplianceDriftsResponse) => void): Request<Resiliencehub.Types.ListAppAssessmentComplianceDriftsResponse, AWSError>;
|
222
|
+
/**
|
223
|
+
* Indicates the list of resource drifts that were detected while running an assessment.
|
224
|
+
*/
|
225
|
+
listAppAssessmentResourceDrifts(params: Resiliencehub.Types.ListAppAssessmentResourceDriftsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAppAssessmentResourceDriftsResponse) => void): Request<Resiliencehub.Types.ListAppAssessmentResourceDriftsResponse, AWSError>;
|
226
|
+
/**
|
227
|
+
* Indicates the list of resource drifts that were detected while running an assessment.
|
228
|
+
*/
|
229
|
+
listAppAssessmentResourceDrifts(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppAssessmentResourceDriftsResponse) => void): Request<Resiliencehub.Types.ListAppAssessmentResourceDriftsResponse, AWSError>;
|
222
230
|
/**
|
223
231
|
* Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
|
224
232
|
*/
|
@@ -1672,7 +1680,7 @@ declare namespace Resiliencehub {
|
|
1672
1680
|
*/
|
1673
1681
|
policy: ResiliencyPolicy;
|
1674
1682
|
}
|
1675
|
-
export type DifferenceType = "NotEqual"|string;
|
1683
|
+
export type DifferenceType = "NotEqual"|"Added"|"Removed"|string;
|
1676
1684
|
export interface DisruptionCompliance {
|
1677
1685
|
/**
|
1678
1686
|
* The Recovery Point Objective (RPO) that is achievable, in seconds.
|
@@ -1721,7 +1729,7 @@ declare namespace Resiliencehub {
|
|
1721
1729
|
export type DocumentName = string;
|
1722
1730
|
export type Double = number;
|
1723
1731
|
export type DriftStatus = "NotChecked"|"NotDetected"|"Detected"|string;
|
1724
|
-
export type DriftType = "ApplicationCompliance"|string;
|
1732
|
+
export type DriftType = "ApplicationCompliance"|"AppComponentResiliencyComplianceStatus"|string;
|
1725
1733
|
export type EksNamespace = string;
|
1726
1734
|
export type EksNamespaceList = EksNamespace[];
|
1727
1735
|
export interface EksSource {
|
@@ -1881,6 +1889,30 @@ declare namespace Resiliencehub {
|
|
1881
1889
|
*/
|
1882
1890
|
nextToken?: NextToken;
|
1883
1891
|
}
|
1892
|
+
export interface ListAppAssessmentResourceDriftsRequest {
|
1893
|
+
/**
|
1894
|
+
* Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
1895
|
+
*/
|
1896
|
+
assessmentArn: Arn;
|
1897
|
+
/**
|
1898
|
+
* Indicates the maximum number of drift results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
|
1899
|
+
*/
|
1900
|
+
maxResults?: MaxResults;
|
1901
|
+
/**
|
1902
|
+
* Null, or the token from a previous call to get the next set of results.
|
1903
|
+
*/
|
1904
|
+
nextToken?: NextToken;
|
1905
|
+
}
|
1906
|
+
export interface ListAppAssessmentResourceDriftsResponse {
|
1907
|
+
/**
|
1908
|
+
* Null, or the token from a previous call to get the next set of results.
|
1909
|
+
*/
|
1910
|
+
nextToken?: NextToken;
|
1911
|
+
/**
|
1912
|
+
* Indicates all the resource drifts detected for an assessed entity.
|
1913
|
+
*/
|
1914
|
+
resourceDrifts: ResourceDriftList;
|
1915
|
+
}
|
1884
1916
|
export interface ListAppAssessmentsRequest {
|
1885
1917
|
/**
|
1886
1918
|
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
@@ -2177,7 +2209,7 @@ declare namespace Resiliencehub {
|
|
2177
2209
|
/**
|
2178
2210
|
* Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
2179
2211
|
*/
|
2180
|
-
assessmentArn
|
2212
|
+
assessmentArn?: Arn;
|
2181
2213
|
/**
|
2182
2214
|
* Maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
|
2183
2215
|
*/
|
@@ -2425,7 +2457,7 @@ declare namespace Resiliencehub {
|
|
2425
2457
|
*/
|
2426
2458
|
resourceName?: EntityName;
|
2427
2459
|
/**
|
2428
|
-
*
|
2460
|
+
* Type of resource.
|
2429
2461
|
*/
|
2430
2462
|
resourceType: String255;
|
2431
2463
|
/**
|
@@ -2739,6 +2771,29 @@ declare namespace Resiliencehub {
|
|
2739
2771
|
*/
|
2740
2772
|
status: ResourceResolutionStatusType;
|
2741
2773
|
}
|
2774
|
+
export interface ResourceDrift {
|
2775
|
+
/**
|
2776
|
+
* Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
2777
|
+
*/
|
2778
|
+
appArn?: Arn;
|
2779
|
+
/**
|
2780
|
+
* Version of the application whose resources have drifted.
|
2781
|
+
*/
|
2782
|
+
appVersion?: EntityVersion;
|
2783
|
+
/**
|
2784
|
+
* Indicates if the resource was added or removed.
|
2785
|
+
*/
|
2786
|
+
diffType?: DifferenceType;
|
2787
|
+
/**
|
2788
|
+
* Reference identifier of the resource drift.
|
2789
|
+
*/
|
2790
|
+
referenceId?: EntityId;
|
2791
|
+
/**
|
2792
|
+
* Identifier of the drifted resource.
|
2793
|
+
*/
|
2794
|
+
resourceIdentifier?: ResourceIdentifier;
|
2795
|
+
}
|
2796
|
+
export type ResourceDriftList = ResourceDrift[];
|
2742
2797
|
export interface ResourceError {
|
2743
2798
|
/**
|
2744
2799
|
* Identifier of the logical resource.
|
@@ -2764,23 +2819,33 @@ declare namespace Resiliencehub {
|
|
2764
2819
|
*/
|
2765
2820
|
resourceErrors?: ResourceErrorList;
|
2766
2821
|
}
|
2822
|
+
export interface ResourceIdentifier {
|
2823
|
+
/**
|
2824
|
+
* Logical identifier of the drifted resource.
|
2825
|
+
*/
|
2826
|
+
logicalResourceId?: LogicalResourceId;
|
2827
|
+
/**
|
2828
|
+
* Type of the drifted resource.
|
2829
|
+
*/
|
2830
|
+
resourceType?: String255;
|
2831
|
+
}
|
2767
2832
|
export type ResourceImportStatusType = "Pending"|"InProgress"|"Failed"|"Success"|string;
|
2768
2833
|
export type ResourceImportStrategyType = "AddOnly"|"ReplaceAll"|string;
|
2769
2834
|
export interface ResourceMapping {
|
2770
2835
|
/**
|
2771
|
-
*
|
2836
|
+
* Name of the application this resource is mapped to when the mappingType is AppRegistryApp.
|
2772
2837
|
*/
|
2773
2838
|
appRegistryAppName?: EntityName;
|
2774
2839
|
/**
|
2775
|
-
* Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource
|
2840
|
+
* Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the mappingType is EKS. This parameter accepts values in "eks-cluster/namespace" format.
|
2776
2841
|
*/
|
2777
2842
|
eksSourceName?: String255;
|
2778
2843
|
/**
|
2779
|
-
*
|
2844
|
+
* Name of the CloudFormation stack this resource is mapped to when the mappingType is CfnStack.
|
2780
2845
|
*/
|
2781
2846
|
logicalStackName?: String255;
|
2782
2847
|
/**
|
2783
|
-
* Specifies the type of resource mapping.
|
2848
|
+
* Specifies the type of resource mapping.
|
2784
2849
|
*/
|
2785
2850
|
mappingType: ResourceMappingType;
|
2786
2851
|
/**
|
@@ -2788,15 +2853,15 @@ declare namespace Resiliencehub {
|
|
2788
2853
|
*/
|
2789
2854
|
physicalResourceId: PhysicalResourceId;
|
2790
2855
|
/**
|
2791
|
-
* Name of the
|
2856
|
+
* Name of the Resource Groups that this resource is mapped to when the mappingType is ResourceGroup.
|
2792
2857
|
*/
|
2793
2858
|
resourceGroupName?: EntityName;
|
2794
2859
|
/**
|
2795
|
-
* Name of the resource that
|
2860
|
+
* Name of the resource that this resource is mapped to when the mappingType is Resource.
|
2796
2861
|
*/
|
2797
2862
|
resourceName?: EntityName;
|
2798
2863
|
/**
|
2799
|
-
*
|
2864
|
+
* Name of the Terraform source that this resource is mapped to when the mappingType is Terraform.
|
2800
2865
|
*/
|
2801
2866
|
terraformSourceName?: String255;
|
2802
2867
|
}
|
@@ -2817,19 +2882,19 @@ declare namespace Resiliencehub {
|
|
2817
2882
|
export type S3Url = string;
|
2818
2883
|
export interface ScoringComponentResiliencyScore {
|
2819
2884
|
/**
|
2820
|
-
* Number of recommendations that were excluded from the assessment. For example, if the
|
2885
|
+
* Number of recommendations that were excluded from the assessment. For example, if the excludedCount for Alarms coverage scoring component is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.
|
2821
2886
|
*/
|
2822
2887
|
excludedCount?: Long;
|
2823
2888
|
/**
|
2824
|
-
* Number of
|
2889
|
+
* Number of recommendations that must be implemented to obtain the maximum possible score for the scoring component. For SOPs, alarms, and tests, these are the number of recommendations that must be implemented. For compliance, these are the number of Application Components that have breached the resiliency policy. For example, if the outstandingCount for Alarms coverage scoring component is 5, it indicates that 5 Amazon CloudWatch alarms need to be implemented to achieve the maximum possible score.
|
2825
2890
|
*/
|
2826
2891
|
outstandingCount?: Long;
|
2827
2892
|
/**
|
2828
|
-
* Maximum possible score that can be obtained for the scoring component.
|
2893
|
+
* Maximum possible score that can be obtained for the scoring component. For example, if the possibleScore is 20 points, it indicates the maximum possible score you can achieve for the scoring component when you run a new assessment after implementing all the Resilience Hub recommendations.
|
2829
2894
|
*/
|
2830
2895
|
possibleScore?: Double;
|
2831
2896
|
/**
|
2832
|
-
* Resiliency score
|
2897
|
+
* Resiliency score points given for the scoring component. The score is always less than or equal to the possibleScore.
|
2833
2898
|
*/
|
2834
2899
|
score?: Double;
|
2835
2900
|
}
|
@@ -12,11 +12,11 @@ declare class Route53Profiles extends Service {
|
|
12
12
|
constructor(options?: Route53Profiles.Types.ClientConfiguration)
|
13
13
|
config: Config & Route53Profiles.Types.ClientConfiguration;
|
14
14
|
/**
|
15
|
-
* Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with
|
15
|
+
* Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities.
|
16
16
|
*/
|
17
17
|
associateProfile(params: Route53Profiles.Types.AssociateProfileRequest, callback?: (err: AWSError, data: Route53Profiles.Types.AssociateProfileResponse) => void): Request<Route53Profiles.Types.AssociateProfileResponse, AWSError>;
|
18
18
|
/**
|
19
|
-
* Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with
|
19
|
+
* Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities.
|
20
20
|
*/
|
21
21
|
associateProfile(callback?: (err: AWSError, data: Route53Profiles.Types.AssociateProfileResponse) => void): Request<Route53Profiles.Types.AssociateProfileResponse, AWSError>;
|
22
22
|
/**
|
@@ -181,7 +181,7 @@ declare namespace Route53Profiles {
|
|
181
181
|
*/
|
182
182
|
ResourceArn: Arn;
|
183
183
|
/**
|
184
|
-
* If you are adding a DNS Firewall rule group, include also a priority
|
184
|
+
* If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value. The allowed values for priority are between 100 and 9900.
|
185
185
|
*/
|
186
186
|
ResourceProperties?: ResourceProperties;
|
187
187
|
}
|
@@ -585,7 +585,7 @@ declare namespace Route53Profiles {
|
|
585
585
|
*/
|
586
586
|
ProfileResourceAssociationId: ResourceId;
|
587
587
|
/**
|
588
|
-
* If you are adding a DNS Firewall rule group, include also a priority
|
588
|
+
* If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value. The allowed values for priority are between 100 and 9900.
|
589
589
|
*/
|
590
590
|
ResourceProperties?: ResourceProperties;
|
591
591
|
}
|