aws-sdk 2.1069.0 → 2.1073.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/CHANGELOG.md +21 -1
- package/README.md +1 -1
- package/apis/apprunner-2020-05-15.min.json +171 -15
- package/apis/apprunner-2020-05-15.paginators.json +5 -0
- package/apis/auditmanager-2017-07-25.min.json +5 -1
- package/apis/cloudformation-2010-05-15.min.json +86 -25
- package/apis/kendra-2019-02-03.min.json +80 -55
- package/apis/lookoutvision-2020-11-20.min.json +0 -1
- package/apis/pinpoint-2016-12-01.min.json +2 -1
- package/apis/s3control-2018-08-20.min.json +152 -52
- package/apis/sagemaker-2017-07-24.min.json +123 -122
- package/apis/synthetics-2017-10-11.min.json +11 -3
- package/apis/wafv2-2019-07-29.min.json +216 -104
- package/clients/apprunner.d.ts +179 -12
- package/clients/auditmanager.d.ts +2 -2
- package/clients/cloudformation.d.ts +408 -265
- package/clients/eventbridge.d.ts +8 -8
- package/clients/kendra.d.ts +95 -59
- package/clients/lookoutvision.d.ts +4 -4
- package/clients/pinpoint.d.ts +4 -0
- package/clients/s3control.d.ts +137 -10
- package/clients/sagemaker.d.ts +6 -1
- package/clients/sns.d.ts +2 -2
- package/clients/ssmincidents.d.ts +1 -1
- package/clients/synthetics.d.ts +15 -5
- package/clients/wafv2.d.ts +155 -0
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +12 -12
- package/dist/aws-sdk.js +89 -28
- package/dist/aws-sdk.min.js +88 -88
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/wafv2.d.ts
CHANGED
|
@@ -131,6 +131,14 @@ declare class WAFV2 extends Service {
|
|
|
131
131
|
* Disassociates a web ACL from a regional application resource. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To disassociate a web ACL, provide an empty web ACL ID in the CloudFront call UpdateDistribution. For information, see UpdateDistribution.
|
|
132
132
|
*/
|
|
133
133
|
disassociateWebACL(callback?: (err: AWSError, data: WAFV2.Types.DisassociateWebACLResponse) => void): Request<WAFV2.Types.DisassociateWebACLResponse, AWSError>;
|
|
134
|
+
/**
|
|
135
|
+
* Generates a presigned download URL for the specified release of the mobile SDK. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
136
|
+
*/
|
|
137
|
+
generateMobileSdkReleaseUrl(params: WAFV2.Types.GenerateMobileSdkReleaseUrlRequest, callback?: (err: AWSError, data: WAFV2.Types.GenerateMobileSdkReleaseUrlResponse) => void): Request<WAFV2.Types.GenerateMobileSdkReleaseUrlResponse, AWSError>;
|
|
138
|
+
/**
|
|
139
|
+
* Generates a presigned download URL for the specified release of the mobile SDK. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
140
|
+
*/
|
|
141
|
+
generateMobileSdkReleaseUrl(callback?: (err: AWSError, data: WAFV2.Types.GenerateMobileSdkReleaseUrlResponse) => void): Request<WAFV2.Types.GenerateMobileSdkReleaseUrlResponse, AWSError>;
|
|
134
142
|
/**
|
|
135
143
|
* Retrieves the specified IPSet.
|
|
136
144
|
*/
|
|
@@ -155,6 +163,14 @@ declare class WAFV2 extends Service {
|
|
|
155
163
|
* Retrieves the specified managed rule set. This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.
|
|
156
164
|
*/
|
|
157
165
|
getManagedRuleSet(callback?: (err: AWSError, data: WAFV2.Types.GetManagedRuleSetResponse) => void): Request<WAFV2.Types.GetManagedRuleSetResponse, AWSError>;
|
|
166
|
+
/**
|
|
167
|
+
* Retrieves information for the specified mobile SDK release, including release notes and tags. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
168
|
+
*/
|
|
169
|
+
getMobileSdkRelease(params: WAFV2.Types.GetMobileSdkReleaseRequest, callback?: (err: AWSError, data: WAFV2.Types.GetMobileSdkReleaseResponse) => void): Request<WAFV2.Types.GetMobileSdkReleaseResponse, AWSError>;
|
|
170
|
+
/**
|
|
171
|
+
* Retrieves information for the specified mobile SDK release, including release notes and tags. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
172
|
+
*/
|
|
173
|
+
getMobileSdkRelease(callback?: (err: AWSError, data: WAFV2.Types.GetMobileSdkReleaseResponse) => void): Request<WAFV2.Types.GetMobileSdkReleaseResponse, AWSError>;
|
|
158
174
|
/**
|
|
159
175
|
* Returns the IAM policy that is attached to the specified rule group. You must be the owner of the rule group to perform this operation.
|
|
160
176
|
*/
|
|
@@ -251,6 +267,14 @@ declare class WAFV2 extends Service {
|
|
|
251
267
|
* Retrieves the managed rule sets that you own. This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.
|
|
252
268
|
*/
|
|
253
269
|
listManagedRuleSets(callback?: (err: AWSError, data: WAFV2.Types.ListManagedRuleSetsResponse) => void): Request<WAFV2.Types.ListManagedRuleSetsResponse, AWSError>;
|
|
270
|
+
/**
|
|
271
|
+
* Retrieves a list of the available releases for the mobile SDK and the specified device platform. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
272
|
+
*/
|
|
273
|
+
listMobileSdkReleases(params: WAFV2.Types.ListMobileSdkReleasesRequest, callback?: (err: AWSError, data: WAFV2.Types.ListMobileSdkReleasesResponse) => void): Request<WAFV2.Types.ListMobileSdkReleasesResponse, AWSError>;
|
|
274
|
+
/**
|
|
275
|
+
* Retrieves a list of the available releases for the mobile SDK and the specified device platform. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF.
|
|
276
|
+
*/
|
|
277
|
+
listMobileSdkReleases(callback?: (err: AWSError, data: WAFV2.Types.ListMobileSdkReleasesResponse) => void): Request<WAFV2.Types.ListMobileSdkReleasesResponse, AWSError>;
|
|
254
278
|
/**
|
|
255
279
|
* Retrieves an array of RegexPatternSetSummary objects for the regex pattern sets that you manage.
|
|
256
280
|
*/
|
|
@@ -868,6 +892,7 @@ declare namespace WAFV2 {
|
|
|
868
892
|
}
|
|
869
893
|
export interface DisassociateWebACLResponse {
|
|
870
894
|
}
|
|
895
|
+
export type DownloadUrl = string;
|
|
871
896
|
export type EntityDescription = string;
|
|
872
897
|
export type EntityId = string;
|
|
873
898
|
export type EntityName = string;
|
|
@@ -880,6 +905,7 @@ declare namespace WAFV2 {
|
|
|
880
905
|
export type ExcludedRules = ExcludedRule[];
|
|
881
906
|
export type FailureReason = "TOKEN_MISSING"|"TOKEN_EXPIRED"|string;
|
|
882
907
|
export type FallbackBehavior = "MATCH"|"NO_MATCH"|string;
|
|
908
|
+
export type FieldIdentifier = string;
|
|
883
909
|
export interface FieldToMatch {
|
|
884
910
|
/**
|
|
885
911
|
* Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive. Example JSON: "SingleHeader": { "Name": "haystack" }
|
|
@@ -977,6 +1003,22 @@ declare namespace WAFV2 {
|
|
|
977
1003
|
}
|
|
978
1004
|
export type ForwardedIPHeaderName = string;
|
|
979
1005
|
export type ForwardedIPPosition = "FIRST"|"LAST"|"ANY"|string;
|
|
1006
|
+
export interface GenerateMobileSdkReleaseUrlRequest {
|
|
1007
|
+
/**
|
|
1008
|
+
* The device platform.
|
|
1009
|
+
*/
|
|
1010
|
+
Platform: Platform;
|
|
1011
|
+
/**
|
|
1012
|
+
* The release version. For the latest available version, specify LATEST.
|
|
1013
|
+
*/
|
|
1014
|
+
ReleaseVersion: VersionKeyString;
|
|
1015
|
+
}
|
|
1016
|
+
export interface GenerateMobileSdkReleaseUrlResponse {
|
|
1017
|
+
/**
|
|
1018
|
+
* The presigned download URL for the specified SDK release.
|
|
1019
|
+
*/
|
|
1020
|
+
Url?: DownloadUrl;
|
|
1021
|
+
}
|
|
980
1022
|
export interface GeoMatchStatement {
|
|
981
1023
|
/**
|
|
982
1024
|
* An array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the ISO 3166 international standard.
|
|
@@ -1047,6 +1089,22 @@ declare namespace WAFV2 {
|
|
|
1047
1089
|
*/
|
|
1048
1090
|
LockToken?: LockToken;
|
|
1049
1091
|
}
|
|
1092
|
+
export interface GetMobileSdkReleaseRequest {
|
|
1093
|
+
/**
|
|
1094
|
+
* The device platform.
|
|
1095
|
+
*/
|
|
1096
|
+
Platform: Platform;
|
|
1097
|
+
/**
|
|
1098
|
+
* The release version. For the latest available version, specify LATEST.
|
|
1099
|
+
*/
|
|
1100
|
+
ReleaseVersion: VersionKeyString;
|
|
1101
|
+
}
|
|
1102
|
+
export interface GetMobileSdkReleaseResponse {
|
|
1103
|
+
/**
|
|
1104
|
+
* Information for a specified SDK release, including release notes and tags.
|
|
1105
|
+
*/
|
|
1106
|
+
MobileSdkRelease?: MobileSdkRelease;
|
|
1107
|
+
}
|
|
1050
1108
|
export interface GetPermissionPolicyRequest {
|
|
1051
1109
|
/**
|
|
1052
1110
|
* The Amazon Resource Name (ARN) of the rule group for which you want to get the policy.
|
|
@@ -1214,6 +1272,10 @@ declare namespace WAFV2 {
|
|
|
1214
1272
|
* A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
|
|
1215
1273
|
*/
|
|
1216
1274
|
LockToken?: LockToken;
|
|
1275
|
+
/**
|
|
1276
|
+
* The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group AWSManagedRulesATPRuleSet. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see WAF application integration in the WAF Developer Guide.
|
|
1277
|
+
*/
|
|
1278
|
+
ApplicationIntegrationURL?: OutputUrl;
|
|
1217
1279
|
}
|
|
1218
1280
|
export interface HTTPHeader {
|
|
1219
1281
|
/**
|
|
@@ -1528,6 +1590,30 @@ declare namespace WAFV2 {
|
|
|
1528
1590
|
ManagedRuleSets?: ManagedRuleSetSummaries;
|
|
1529
1591
|
}
|
|
1530
1592
|
export type ListMaxItems = number;
|
|
1593
|
+
export interface ListMobileSdkReleasesRequest {
|
|
1594
|
+
/**
|
|
1595
|
+
* The device platform to retrieve the list for.
|
|
1596
|
+
*/
|
|
1597
|
+
Platform: Platform;
|
|
1598
|
+
/**
|
|
1599
|
+
* When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
|
|
1600
|
+
*/
|
|
1601
|
+
NextMarker?: NextMarker;
|
|
1602
|
+
/**
|
|
1603
|
+
* The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a NextMarker value that you can use in a subsequent call to get the next batch of objects.
|
|
1604
|
+
*/
|
|
1605
|
+
Limit?: PaginationLimit;
|
|
1606
|
+
}
|
|
1607
|
+
export interface ListMobileSdkReleasesResponse {
|
|
1608
|
+
/**
|
|
1609
|
+
* High level information for the available SDK releases.
|
|
1610
|
+
*/
|
|
1611
|
+
ReleaseSummaries?: ReleaseSummaries;
|
|
1612
|
+
/**
|
|
1613
|
+
* When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
|
|
1614
|
+
*/
|
|
1615
|
+
NextMarker?: NextMarker;
|
|
1616
|
+
}
|
|
1531
1617
|
export interface ListRegexPatternSetsRequest {
|
|
1532
1618
|
/**
|
|
1533
1619
|
* Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1. API and SDKs - For all calls, use the Region endpoint us-east-1.
|
|
@@ -1675,6 +1761,26 @@ declare namespace WAFV2 {
|
|
|
1675
1761
|
*/
|
|
1676
1762
|
DefaultBehavior: FilterBehavior;
|
|
1677
1763
|
}
|
|
1764
|
+
export type LoginPathString = string;
|
|
1765
|
+
export interface ManagedRuleGroupConfig {
|
|
1766
|
+
/**
|
|
1767
|
+
* The login endpoint for your application. For example https://example.com/web/login.
|
|
1768
|
+
*/
|
|
1769
|
+
LoginPath?: LoginPathString;
|
|
1770
|
+
/**
|
|
1771
|
+
* The payload type for your login endpoint, either JSON or form encoded.
|
|
1772
|
+
*/
|
|
1773
|
+
PayloadType?: PayloadType;
|
|
1774
|
+
/**
|
|
1775
|
+
* Details about your login page username field.
|
|
1776
|
+
*/
|
|
1777
|
+
UsernameField?: UsernameField;
|
|
1778
|
+
/**
|
|
1779
|
+
* Details about your login page password field.
|
|
1780
|
+
*/
|
|
1781
|
+
PasswordField?: PasswordField;
|
|
1782
|
+
}
|
|
1783
|
+
export type ManagedRuleGroupConfigs = ManagedRuleGroupConfig[];
|
|
1678
1784
|
export interface ManagedRuleGroupStatement {
|
|
1679
1785
|
/**
|
|
1680
1786
|
* The name of the managed rule group vendor. You use this, along with the rule group name, to identify the rule group.
|
|
@@ -1696,6 +1802,10 @@ declare namespace WAFV2 {
|
|
|
1696
1802
|
* An optional nested statement that narrows the scope of the web requests that are evaluated by the managed rule group. Requests are only evaluated by the rule group if they match the scope-down statement. You can use any nestable Statement in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement.
|
|
1697
1803
|
*/
|
|
1698
1804
|
ScopeDownStatement?: Statement;
|
|
1805
|
+
/**
|
|
1806
|
+
* Additional information that's used by a managed rule group. Most managed rule groups don't require this. Use this for the account takeover prevention managed rule group AWSManagedRulesATPRuleSet, to provide information about the sign-in page of your application.
|
|
1807
|
+
*/
|
|
1808
|
+
ManagedRuleGroupConfigs?: ManagedRuleGroupConfigs;
|
|
1699
1809
|
}
|
|
1700
1810
|
export type ManagedRuleGroupSummaries = ManagedRuleGroupSummary[];
|
|
1701
1811
|
export interface ManagedRuleGroupSummary {
|
|
@@ -1809,6 +1919,24 @@ declare namespace WAFV2 {
|
|
|
1809
1919
|
export interface Method {
|
|
1810
1920
|
}
|
|
1811
1921
|
export type MetricName = string;
|
|
1922
|
+
export interface MobileSdkRelease {
|
|
1923
|
+
/**
|
|
1924
|
+
* The release version.
|
|
1925
|
+
*/
|
|
1926
|
+
ReleaseVersion?: VersionKeyString;
|
|
1927
|
+
/**
|
|
1928
|
+
* The timestamp of the release.
|
|
1929
|
+
*/
|
|
1930
|
+
Timestamp?: Timestamp;
|
|
1931
|
+
/**
|
|
1932
|
+
* Notes describing the release.
|
|
1933
|
+
*/
|
|
1934
|
+
ReleaseNotes?: ReleaseNotes;
|
|
1935
|
+
/**
|
|
1936
|
+
* Tags that are associated with the release.
|
|
1937
|
+
*/
|
|
1938
|
+
Tags?: TagList;
|
|
1939
|
+
}
|
|
1812
1940
|
export type NextMarker = string;
|
|
1813
1941
|
export interface NoneAction {
|
|
1814
1942
|
}
|
|
@@ -1824,6 +1952,7 @@ declare namespace WAFV2 {
|
|
|
1824
1952
|
*/
|
|
1825
1953
|
Statements: Statements;
|
|
1826
1954
|
}
|
|
1955
|
+
export type OutputUrl = string;
|
|
1827
1956
|
export interface OverrideAction {
|
|
1828
1957
|
/**
|
|
1829
1958
|
* Override the rule group evaluation result to count only. This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.
|
|
@@ -1835,6 +1964,14 @@ declare namespace WAFV2 {
|
|
|
1835
1964
|
None?: NoneAction;
|
|
1836
1965
|
}
|
|
1837
1966
|
export type PaginationLimit = number;
|
|
1967
|
+
export interface PasswordField {
|
|
1968
|
+
/**
|
|
1969
|
+
* The name of the password field. For example /form/password.
|
|
1970
|
+
*/
|
|
1971
|
+
Identifier: FieldIdentifier;
|
|
1972
|
+
}
|
|
1973
|
+
export type PayloadType = "JSON"|"FORM_ENCODED"|string;
|
|
1974
|
+
export type Platform = "IOS"|"ANDROID"|string;
|
|
1838
1975
|
export type PolicyString = string;
|
|
1839
1976
|
export type PopulationSize = number;
|
|
1840
1977
|
export type PositionalConstraint = "EXACTLY"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CONTAINS_WORD"|string;
|
|
@@ -2009,6 +2146,18 @@ declare namespace WAFV2 {
|
|
|
2009
2146
|
}
|
|
2010
2147
|
export type RegexPatternString = string;
|
|
2011
2148
|
export type RegularExpressionList = Regex[];
|
|
2149
|
+
export type ReleaseNotes = string;
|
|
2150
|
+
export type ReleaseSummaries = ReleaseSummary[];
|
|
2151
|
+
export interface ReleaseSummary {
|
|
2152
|
+
/**
|
|
2153
|
+
* The release version.
|
|
2154
|
+
*/
|
|
2155
|
+
ReleaseVersion?: VersionKeyString;
|
|
2156
|
+
/**
|
|
2157
|
+
* The timestamp of the release.
|
|
2158
|
+
*/
|
|
2159
|
+
Timestamp?: Timestamp;
|
|
2160
|
+
}
|
|
2012
2161
|
export type ResourceArn = string;
|
|
2013
2162
|
export type ResourceArns = ResourceArn[];
|
|
2014
2163
|
export type ResourceType = "APPLICATION_LOAD_BALANCER"|"API_GATEWAY"|"APPSYNC"|string;
|
|
@@ -2576,6 +2725,12 @@ declare namespace WAFV2 {
|
|
|
2576
2725
|
}
|
|
2577
2726
|
export interface UriPath {
|
|
2578
2727
|
}
|
|
2728
|
+
export interface UsernameField {
|
|
2729
|
+
/**
|
|
2730
|
+
* The name of the username field. For example /form/username.
|
|
2731
|
+
*/
|
|
2732
|
+
Identifier: FieldIdentifier;
|
|
2733
|
+
}
|
|
2579
2734
|
export type VendorName = string;
|
|
2580
2735
|
export type VersionKeyString = string;
|
|
2581
2736
|
export interface VersionToPublish {
|