aws-sdk 2.746.0 → 2.750.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 +23 -1
- package/README.md +1 -1
- package/apis/apigatewayv2-2018-11-29.min.json +66 -0
- package/apis/cloudfront-2020-05-31.min.json +3 -0
- package/apis/codebuild-2016-10-06.min.json +6 -2
- package/apis/elasticloadbalancingv2-2015-12-01.min.json +53 -50
- package/apis/glue-2017-03-31.min.json +158 -91
- package/apis/glue-2017-03-31.paginators.json +5 -0
- package/apis/kinesisanalyticsv2-2018-05-23.min.json +16 -13
- package/apis/metadata.json +8 -0
- package/apis/quicksight-2018-04-01.min.json +65 -59
- package/apis/redshift-data-2019-12-20.examples.json +5 -0
- package/apis/redshift-data-2019-12-20.min.json +381 -0
- package/apis/redshift-data-2019-12-20.paginators.json +39 -0
- package/apis/s3-2006-03-01.examples.json +117 -117
- package/apis/s3-2006-03-01.min.json +431 -83
- package/apis/sso-admin-2020-07-20.examples.json +5 -0
- package/apis/sso-admin-2020-07-20.min.json +759 -0
- package/apis/sso-admin-2020-07-20.paginators.json +63 -0
- package/apis/workspaces-2015-04-08.min.json +10 -6
- package/apis/xray-2016-04-12.min.json +81 -61
- package/clients/all.d.ts +2 -0
- package/clients/all.js +3 -1
- package/clients/apigatewayv2.d.ts +100 -34
- package/clients/cloudfront.d.ts +11 -7
- package/clients/codebuild.d.ts +14 -6
- package/clients/ebs.d.ts +7 -7
- package/clients/elbv2.d.ts +18 -4
- package/clients/glue.d.ts +81 -2
- package/clients/kinesisanalyticsv2.d.ts +2 -1
- package/clients/lexmodelbuildingservice.d.ts +12 -12
- package/clients/quicksight.d.ts +16 -0
- package/clients/redshiftdata.d.ts +614 -0
- package/clients/redshiftdata.js +18 -0
- package/clients/s3.d.ts +389 -41
- package/clients/ssm.d.ts +10 -10
- package/clients/ssoadmin.d.ts +1059 -0
- package/clients/ssoadmin.js +18 -0
- package/clients/workspaces.d.ts +9 -3
- package/clients/xray.d.ts +66 -8
- package/dist/aws-sdk-core-react-native.js +6 -5
- package/dist/aws-sdk-react-native.js +93 -18
- package/dist/aws-sdk.js +589 -202
- package/dist/aws-sdk.min.js +70 -69
- package/lib/config_service_placeholders.d.ts +4 -0
- package/lib/core.js +1 -1
- package/lib/credentials/ec2_metadata_credentials.d.ts +5 -1
- package/lib/credentials/ec2_metadata_credentials.js +12 -1
- package/lib/protocol/json.js +3 -2
- package/lib/request.js +1 -1
- package/package.json +1 -1
|
@@ -243,6 +243,14 @@ declare class ApiGatewayV2 extends Service {
|
|
|
243
243
|
*
|
|
244
244
|
*/
|
|
245
245
|
exportApi(callback?: (err: AWSError, data: ApiGatewayV2.Types.ExportApiResponse) => void): Request<ApiGatewayV2.Types.ExportApiResponse, AWSError>;
|
|
246
|
+
/**
|
|
247
|
+
* Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
|
|
248
|
+
*/
|
|
249
|
+
resetAuthorizersCache(params: ApiGatewayV2.Types.ResetAuthorizersCacheRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
250
|
+
/**
|
|
251
|
+
* Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
|
|
252
|
+
*/
|
|
253
|
+
resetAuthorizersCache(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
246
254
|
/**
|
|
247
255
|
* Gets an Api resource.
|
|
248
256
|
*/
|
|
@@ -676,7 +684,7 @@ declare namespace ApiGatewayV2 {
|
|
|
676
684
|
export type AuthorizationType = "NONE"|"AWS_IAM"|"CUSTOM"|"JWT"|string;
|
|
677
685
|
export interface Authorizer {
|
|
678
686
|
/**
|
|
679
|
-
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify
|
|
687
|
+
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, don't specify this parameter. Supported only for REQUEST authorizers.
|
|
680
688
|
*/
|
|
681
689
|
AuthorizerCredentialsArn?: Arn;
|
|
682
690
|
/**
|
|
@@ -684,20 +692,28 @@ declare namespace ApiGatewayV2 {
|
|
|
684
692
|
*/
|
|
685
693
|
AuthorizerId?: Id;
|
|
686
694
|
/**
|
|
687
|
-
*
|
|
695
|
+
* Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.
|
|
696
|
+
*/
|
|
697
|
+
AuthorizerPayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
698
|
+
/**
|
|
699
|
+
* The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
|
|
688
700
|
*/
|
|
689
701
|
AuthorizerResultTtlInSeconds?: IntegerWithLengthBetween0And3600;
|
|
690
702
|
/**
|
|
691
|
-
* The authorizer type.
|
|
703
|
+
* The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).
|
|
692
704
|
*/
|
|
693
705
|
AuthorizerType?: AuthorizerType;
|
|
694
706
|
/**
|
|
695
|
-
* The authorizer's Uniform Resource Identifier (URI).
|
|
707
|
+
* The authorizer's Uniform Resource Identifier (URI). For REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form: arn:aws:apigateway:{region}:lambda:path/{service_api}
|
|
696
708
|
, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.
|
|
697
709
|
*/
|
|
698
710
|
AuthorizerUri?: UriWithLengthBetween1And2048;
|
|
699
711
|
/**
|
|
700
|
-
*
|
|
712
|
+
* Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
|
|
713
|
+
*/
|
|
714
|
+
EnableSimpleResponses?: __boolean;
|
|
715
|
+
/**
|
|
716
|
+
* The identity source for which authorization is requested. For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs. For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example $request.header.Authorization.
|
|
701
717
|
*/
|
|
702
718
|
IdentitySource?: IdentitySourceList;
|
|
703
719
|
/**
|
|
@@ -899,15 +915,19 @@ declare namespace ApiGatewayV2 {
|
|
|
899
915
|
*/
|
|
900
916
|
ApiId: __string;
|
|
901
917
|
/**
|
|
902
|
-
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify
|
|
918
|
+
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, don't specify this parameter. Supported only for REQUEST authorizers.
|
|
903
919
|
*/
|
|
904
920
|
AuthorizerCredentialsArn?: Arn;
|
|
905
921
|
/**
|
|
906
|
-
*
|
|
922
|
+
* Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.
|
|
923
|
+
*/
|
|
924
|
+
AuthorizerPayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
925
|
+
/**
|
|
926
|
+
* The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
|
|
907
927
|
*/
|
|
908
928
|
AuthorizerResultTtlInSeconds?: IntegerWithLengthBetween0And3600;
|
|
909
929
|
/**
|
|
910
|
-
* The authorizer type.
|
|
930
|
+
* The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).
|
|
911
931
|
*/
|
|
912
932
|
AuthorizerType: AuthorizerType;
|
|
913
933
|
/**
|
|
@@ -916,7 +936,11 @@ declare namespace ApiGatewayV2 {
|
|
|
916
936
|
*/
|
|
917
937
|
AuthorizerUri?: UriWithLengthBetween1And2048;
|
|
918
938
|
/**
|
|
919
|
-
*
|
|
939
|
+
* Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
|
|
940
|
+
*/
|
|
941
|
+
EnableSimpleResponses?: __boolean;
|
|
942
|
+
/**
|
|
943
|
+
* The identity source for which authorization is requested. For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs. For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example $request.header.Authorization.
|
|
920
944
|
*/
|
|
921
945
|
IdentitySource: IdentitySourceList;
|
|
922
946
|
/**
|
|
@@ -934,7 +958,7 @@ declare namespace ApiGatewayV2 {
|
|
|
934
958
|
}
|
|
935
959
|
export interface CreateAuthorizerResponse {
|
|
936
960
|
/**
|
|
937
|
-
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify
|
|
961
|
+
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, don't specify this parameter. Supported only for REQUEST authorizers.
|
|
938
962
|
*/
|
|
939
963
|
AuthorizerCredentialsArn?: Arn;
|
|
940
964
|
/**
|
|
@@ -942,20 +966,28 @@ declare namespace ApiGatewayV2 {
|
|
|
942
966
|
*/
|
|
943
967
|
AuthorizerId?: Id;
|
|
944
968
|
/**
|
|
945
|
-
*
|
|
969
|
+
* Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.
|
|
970
|
+
*/
|
|
971
|
+
AuthorizerPayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
972
|
+
/**
|
|
973
|
+
* The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
|
|
946
974
|
*/
|
|
947
975
|
AuthorizerResultTtlInSeconds?: IntegerWithLengthBetween0And3600;
|
|
948
976
|
/**
|
|
949
|
-
* The authorizer type.
|
|
977
|
+
* The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).
|
|
950
978
|
*/
|
|
951
979
|
AuthorizerType?: AuthorizerType;
|
|
952
980
|
/**
|
|
953
|
-
* The authorizer's Uniform Resource Identifier (URI).
|
|
981
|
+
* The authorizer's Uniform Resource Identifier (URI). For REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form: arn:aws:apigateway:{region}:lambda:path/{service_api}
|
|
954
982
|
, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.
|
|
955
983
|
*/
|
|
956
984
|
AuthorizerUri?: UriWithLengthBetween1And2048;
|
|
957
985
|
/**
|
|
958
|
-
*
|
|
986
|
+
* Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
|
|
987
|
+
*/
|
|
988
|
+
EnableSimpleResponses?: __boolean;
|
|
989
|
+
/**
|
|
990
|
+
* The identity source for which authorization is requested. For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs. For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example $request.header.Authorization.
|
|
959
991
|
*/
|
|
960
992
|
IdentitySource?: IdentitySourceList;
|
|
961
993
|
/**
|
|
@@ -1307,7 +1339,7 @@ declare namespace ApiGatewayV2 {
|
|
|
1307
1339
|
*/
|
|
1308
1340
|
AuthorizationScopes?: AuthorizationScopes;
|
|
1309
1341
|
/**
|
|
1310
|
-
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
|
|
1342
|
+
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
|
|
1311
1343
|
*/
|
|
1312
1344
|
AuthorizationType?: AuthorizationType;
|
|
1313
1345
|
/**
|
|
@@ -1357,7 +1389,7 @@ declare namespace ApiGatewayV2 {
|
|
|
1357
1389
|
*/
|
|
1358
1390
|
AuthorizationScopes?: AuthorizationScopes;
|
|
1359
1391
|
/**
|
|
1360
|
-
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
|
|
1392
|
+
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
|
|
1361
1393
|
*/
|
|
1362
1394
|
AuthorizationType?: AuthorizationType;
|
|
1363
1395
|
/**
|
|
@@ -1883,6 +1915,16 @@ declare namespace ApiGatewayV2 {
|
|
|
1883
1915
|
body?: ExportedApi;
|
|
1884
1916
|
}
|
|
1885
1917
|
export type ExportedApi = Buffer|Uint8Array|Blob|string;
|
|
1918
|
+
export interface ResetAuthorizersCacheRequest {
|
|
1919
|
+
/**
|
|
1920
|
+
* The API identifier.
|
|
1921
|
+
*/
|
|
1922
|
+
ApiId: __string;
|
|
1923
|
+
/**
|
|
1924
|
+
* The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.
|
|
1925
|
+
*/
|
|
1926
|
+
StageName: __string;
|
|
1927
|
+
}
|
|
1886
1928
|
export interface GetApiMappingRequest {
|
|
1887
1929
|
/**
|
|
1888
1930
|
* The API mapping identifier.
|
|
@@ -2035,7 +2077,7 @@ declare namespace ApiGatewayV2 {
|
|
|
2035
2077
|
}
|
|
2036
2078
|
export interface GetAuthorizerResponse {
|
|
2037
2079
|
/**
|
|
2038
|
-
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify
|
|
2080
|
+
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, don't specify this parameter. Supported only for REQUEST authorizers.
|
|
2039
2081
|
*/
|
|
2040
2082
|
AuthorizerCredentialsArn?: Arn;
|
|
2041
2083
|
/**
|
|
@@ -2043,20 +2085,28 @@ declare namespace ApiGatewayV2 {
|
|
|
2043
2085
|
*/
|
|
2044
2086
|
AuthorizerId?: Id;
|
|
2045
2087
|
/**
|
|
2046
|
-
*
|
|
2088
|
+
* Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.
|
|
2089
|
+
*/
|
|
2090
|
+
AuthorizerPayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
2091
|
+
/**
|
|
2092
|
+
* The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
|
|
2047
2093
|
*/
|
|
2048
2094
|
AuthorizerResultTtlInSeconds?: IntegerWithLengthBetween0And3600;
|
|
2049
2095
|
/**
|
|
2050
|
-
* The authorizer type.
|
|
2096
|
+
* The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).
|
|
2051
2097
|
*/
|
|
2052
2098
|
AuthorizerType?: AuthorizerType;
|
|
2053
2099
|
/**
|
|
2054
|
-
* The authorizer's Uniform Resource Identifier (URI).
|
|
2100
|
+
* The authorizer's Uniform Resource Identifier (URI). For REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form: arn:aws:apigateway:{region}:lambda:path/{service_api}
|
|
2055
2101
|
, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.
|
|
2056
2102
|
*/
|
|
2057
2103
|
AuthorizerUri?: UriWithLengthBetween1And2048;
|
|
2058
2104
|
/**
|
|
2059
|
-
*
|
|
2105
|
+
* Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
|
|
2106
|
+
*/
|
|
2107
|
+
EnableSimpleResponses?: __boolean;
|
|
2108
|
+
/**
|
|
2109
|
+
* The identity source for which authorization is requested. For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs. For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example $request.header.Authorization.
|
|
2060
2110
|
*/
|
|
2061
2111
|
IdentitySource?: IdentitySourceList;
|
|
2062
2112
|
/**
|
|
@@ -2477,7 +2527,7 @@ declare namespace ApiGatewayV2 {
|
|
|
2477
2527
|
*/
|
|
2478
2528
|
AuthorizationScopes?: AuthorizationScopes;
|
|
2479
2529
|
/**
|
|
2480
|
-
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
|
|
2530
|
+
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
|
|
2481
2531
|
*/
|
|
2482
2532
|
AuthorizationType?: AuthorizationType;
|
|
2483
2533
|
/**
|
|
@@ -3095,7 +3145,7 @@ declare namespace ApiGatewayV2 {
|
|
|
3095
3145
|
*/
|
|
3096
3146
|
AuthorizationScopes?: AuthorizationScopes;
|
|
3097
3147
|
/**
|
|
3098
|
-
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
|
|
3148
|
+
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
|
|
3099
3149
|
*/
|
|
3100
3150
|
AuthorizationType?: AuthorizationType;
|
|
3101
3151
|
/**
|
|
@@ -3445,7 +3495,7 @@ declare namespace ApiGatewayV2 {
|
|
|
3445
3495
|
*/
|
|
3446
3496
|
ApiId: __string;
|
|
3447
3497
|
/**
|
|
3448
|
-
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify
|
|
3498
|
+
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, don't specify this parameter.
|
|
3449
3499
|
*/
|
|
3450
3500
|
AuthorizerCredentialsArn?: Arn;
|
|
3451
3501
|
/**
|
|
@@ -3453,11 +3503,15 @@ declare namespace ApiGatewayV2 {
|
|
|
3453
3503
|
*/
|
|
3454
3504
|
AuthorizerId: __string;
|
|
3455
3505
|
/**
|
|
3456
|
-
*
|
|
3506
|
+
* Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.
|
|
3507
|
+
*/
|
|
3508
|
+
AuthorizerPayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
3509
|
+
/**
|
|
3510
|
+
* The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
|
|
3457
3511
|
*/
|
|
3458
3512
|
AuthorizerResultTtlInSeconds?: IntegerWithLengthBetween0And3600;
|
|
3459
3513
|
/**
|
|
3460
|
-
* The authorizer type.
|
|
3514
|
+
* The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).
|
|
3461
3515
|
*/
|
|
3462
3516
|
AuthorizerType?: AuthorizerType;
|
|
3463
3517
|
/**
|
|
@@ -3466,7 +3520,11 @@ declare namespace ApiGatewayV2 {
|
|
|
3466
3520
|
*/
|
|
3467
3521
|
AuthorizerUri?: UriWithLengthBetween1And2048;
|
|
3468
3522
|
/**
|
|
3469
|
-
*
|
|
3523
|
+
* Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
|
|
3524
|
+
*/
|
|
3525
|
+
EnableSimpleResponses?: __boolean;
|
|
3526
|
+
/**
|
|
3527
|
+
* The identity source for which authorization is requested. For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs. For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example $request.header.Authorization.
|
|
3470
3528
|
*/
|
|
3471
3529
|
IdentitySource?: IdentitySourceList;
|
|
3472
3530
|
/**
|
|
@@ -3484,7 +3542,7 @@ declare namespace ApiGatewayV2 {
|
|
|
3484
3542
|
}
|
|
3485
3543
|
export interface UpdateAuthorizerResponse {
|
|
3486
3544
|
/**
|
|
3487
|
-
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify
|
|
3545
|
+
* Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, don't specify this parameter. Supported only for REQUEST authorizers.
|
|
3488
3546
|
*/
|
|
3489
3547
|
AuthorizerCredentialsArn?: Arn;
|
|
3490
3548
|
/**
|
|
@@ -3492,20 +3550,28 @@ declare namespace ApiGatewayV2 {
|
|
|
3492
3550
|
*/
|
|
3493
3551
|
AuthorizerId?: Id;
|
|
3494
3552
|
/**
|
|
3495
|
-
*
|
|
3553
|
+
* Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.
|
|
3554
|
+
*/
|
|
3555
|
+
AuthorizerPayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
3556
|
+
/**
|
|
3557
|
+
* The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
|
|
3496
3558
|
*/
|
|
3497
3559
|
AuthorizerResultTtlInSeconds?: IntegerWithLengthBetween0And3600;
|
|
3498
3560
|
/**
|
|
3499
|
-
* The authorizer type.
|
|
3561
|
+
* The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).
|
|
3500
3562
|
*/
|
|
3501
3563
|
AuthorizerType?: AuthorizerType;
|
|
3502
3564
|
/**
|
|
3503
|
-
* The authorizer's Uniform Resource Identifier (URI).
|
|
3565
|
+
* The authorizer's Uniform Resource Identifier (URI). For REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form: arn:aws:apigateway:{region}:lambda:path/{service_api}
|
|
3504
3566
|
, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.
|
|
3505
3567
|
*/
|
|
3506
3568
|
AuthorizerUri?: UriWithLengthBetween1And2048;
|
|
3507
3569
|
/**
|
|
3508
|
-
*
|
|
3570
|
+
* Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs
|
|
3571
|
+
*/
|
|
3572
|
+
EnableSimpleResponses?: __boolean;
|
|
3573
|
+
/**
|
|
3574
|
+
* The identity source for which authorization is requested. For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs. For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example $request.header.Authorization.
|
|
3509
3575
|
*/
|
|
3510
3576
|
IdentitySource?: IdentitySourceList;
|
|
3511
3577
|
/**
|
|
@@ -3872,7 +3938,7 @@ declare namespace ApiGatewayV2 {
|
|
|
3872
3938
|
*/
|
|
3873
3939
|
AuthorizationScopes?: AuthorizationScopes;
|
|
3874
3940
|
/**
|
|
3875
|
-
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
|
|
3941
|
+
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
|
|
3876
3942
|
*/
|
|
3877
3943
|
AuthorizationType?: AuthorizationType;
|
|
3878
3944
|
/**
|
|
@@ -3926,7 +3992,7 @@ declare namespace ApiGatewayV2 {
|
|
|
3926
3992
|
*/
|
|
3927
3993
|
AuthorizationScopes?: AuthorizationScopes;
|
|
3928
3994
|
/**
|
|
3929
|
-
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
|
|
3995
|
+
* The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
|
|
3930
3996
|
*/
|
|
3931
3997
|
AuthorizationType?: AuthorizationType;
|
|
3932
3998
|
/**
|
package/clients/cloudfront.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ declare class CloudFront extends CloudFrontCustomizations {
|
|
|
14
14
|
constructor(options?: CloudFront.Types.ClientConfiguration)
|
|
15
15
|
config: Config & CloudFront.Types.ClientConfiguration;
|
|
16
16
|
/**
|
|
17
|
-
* Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors. When it’s attached to a cache behavior, the cache policy determines the following: The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache. The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find an object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use
|
|
17
|
+
* Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors. When it’s attached to a cache behavior, the cache policy determines the following: The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache. The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find an object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy. For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide.
|
|
18
18
|
*/
|
|
19
19
|
createCachePolicy(params: CloudFront.Types.CreateCachePolicyRequest, callback?: (err: AWSError, data: CloudFront.Types.CreateCachePolicyResult) => void): Request<CloudFront.Types.CreateCachePolicyResult, AWSError>;
|
|
20
20
|
/**
|
|
21
|
-
* Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors. When it’s attached to a cache behavior, the cache policy determines the following: The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache. The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find an object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use
|
|
21
|
+
* Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors. When it’s attached to a cache behavior, the cache policy determines the following: The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache. The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find an object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy. For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide.
|
|
22
22
|
*/
|
|
23
23
|
createCachePolicy(callback?: (err: AWSError, data: CloudFront.Types.CreateCachePolicyResult) => void): Request<CloudFront.Types.CreateCachePolicyResult, AWSError>;
|
|
24
24
|
/**
|
|
@@ -78,11 +78,11 @@ declare class CloudFront extends CloudFrontCustomizations {
|
|
|
78
78
|
*/
|
|
79
79
|
createMonitoringSubscription(callback?: (err: AWSError, data: CloudFront.Types.CreateMonitoringSubscriptionResult) => void): Request<CloudFront.Types.CreateMonitoringSubscriptionResult, AWSError>;
|
|
80
80
|
/**
|
|
81
|
-
* Creates an origin request policy. After you create an origin request policy, you can attach it to one or more cache behaviors. When it’s attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following: The request body and the URL path (without the domain name) from the viewer request. The headers that CloudFront automatically includes in every origin request, including Host, User-Agent, and X-Amz-Cf-Id. All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront. CloudFront sends a request when it can’t find a valid object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use
|
|
81
|
+
* Creates an origin request policy. After you create an origin request policy, you can attach it to one or more cache behaviors. When it’s attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following: The request body and the URL path (without the domain name) from the viewer request. The headers that CloudFront automatically includes in every origin request, including Host, User-Agent, and X-Amz-Cf-Id. All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront. CloudFront sends a request when it can’t find a valid object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy. For more information about origin request policies, see Controlling origin requests in the Amazon CloudFront Developer Guide.
|
|
82
82
|
*/
|
|
83
83
|
createOriginRequestPolicy(params: CloudFront.Types.CreateOriginRequestPolicyRequest, callback?: (err: AWSError, data: CloudFront.Types.CreateOriginRequestPolicyResult) => void): Request<CloudFront.Types.CreateOriginRequestPolicyResult, AWSError>;
|
|
84
84
|
/**
|
|
85
|
-
* Creates an origin request policy. After you create an origin request policy, you can attach it to one or more cache behaviors. When it’s attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following: The request body and the URL path (without the domain name) from the viewer request. The headers that CloudFront automatically includes in every origin request, including Host, User-Agent, and X-Amz-Cf-Id. All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront. CloudFront sends a request when it can’t find a valid object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use
|
|
85
|
+
* Creates an origin request policy. After you create an origin request policy, you can attach it to one or more cache behaviors. When it’s attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following: The request body and the URL path (without the domain name) from the viewer request. The headers that CloudFront automatically includes in every origin request, including Host, User-Agent, and X-Amz-Cf-Id. All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront. CloudFront sends a request when it can’t find a valid object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy. For more information about origin request policies, see Controlling origin requests in the Amazon CloudFront Developer Guide.
|
|
86
86
|
*/
|
|
87
87
|
createOriginRequestPolicy(callback?: (err: AWSError, data: CloudFront.Types.CreateOriginRequestPolicyResult) => void): Request<CloudFront.Types.CreateOriginRequestPolicyResult, AWSError>;
|
|
88
88
|
/**
|
|
@@ -390,11 +390,11 @@ declare class CloudFront extends CloudFrontCustomizations {
|
|
|
390
390
|
*/
|
|
391
391
|
listDistributionsByOriginRequestPolicyId(callback?: (err: AWSError, data: CloudFront.Types.ListDistributionsByOriginRequestPolicyIdResult) => void): Request<CloudFront.Types.ListDistributionsByOriginRequestPolicyIdResult, AWSError>;
|
|
392
392
|
/**
|
|
393
|
-
* Gets a list of
|
|
393
|
+
* Gets a list of distributions that have a cache behavior that’s associated with the specified real-time log configuration. You can specify the real-time log configuration by its name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to list distributions for. You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
|
|
394
394
|
*/
|
|
395
395
|
listDistributionsByRealtimeLogConfig(params: CloudFront.Types.ListDistributionsByRealtimeLogConfigRequest, callback?: (err: AWSError, data: CloudFront.Types.ListDistributionsByRealtimeLogConfigResult) => void): Request<CloudFront.Types.ListDistributionsByRealtimeLogConfigResult, AWSError>;
|
|
396
396
|
/**
|
|
397
|
-
* Gets a list of
|
|
397
|
+
* Gets a list of distributions that have a cache behavior that’s associated with the specified real-time log configuration. You can specify the real-time log configuration by its name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to list distributions for. You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
|
|
398
398
|
*/
|
|
399
399
|
listDistributionsByRealtimeLogConfig(callback?: (err: AWSError, data: CloudFront.Types.ListDistributionsByRealtimeLogConfigResult) => void): Request<CloudFront.Types.ListDistributionsByRealtimeLogConfigResult, AWSError>;
|
|
400
400
|
/**
|
|
@@ -2836,9 +2836,13 @@ declare namespace CloudFront {
|
|
|
2836
2836
|
}
|
|
2837
2837
|
export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
2838
2838
|
/**
|
|
2839
|
-
* A flag that
|
|
2839
|
+
* A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin. This field is related to the EnableAcceptEncodingBrotli field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following: Normalizes the value of the viewer’s Accept-Encoding header Includes the normalized header in the cache key Includes the normalized header in the request to the origin If one or both of these fields are true, you should not whitelist the Accept-Encoding header in the cache policy or in an origin request policy attached to the same cache behavior. For more information, see Cache compressed objects in the Amazon CloudFront Developer Guide. If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it’s not included in the cache key and it’s not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.
|
|
2840
2840
|
*/
|
|
2841
2841
|
EnableAcceptEncodingGzip: boolean;
|
|
2842
|
+
/**
|
|
2843
|
+
* A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin. This field is related to the EnableAcceptEncodingGzip field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following: Normalizes the value of the viewer’s Accept-Encoding header Includes the normalized header in the cache key Includes the normalized header in the request to the origin If one or both of these fields are true, you should not whitelist the Accept-Encoding header in the cache policy or in an origin request policy attached to the same cache behavior. For more information, see Cache compressed objects in the Amazon CloudFront Developer Guide. If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it’s not included in the cache key and it’s not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.
|
|
2844
|
+
*/
|
|
2845
|
+
EnableAcceptEncodingBrotli?: boolean;
|
|
2842
2846
|
/**
|
|
2843
2847
|
* An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
|
2844
2848
|
*/
|
package/clients/codebuild.d.ts
CHANGED
|
@@ -108,11 +108,11 @@ declare class CodeBuild extends Service {
|
|
|
108
108
|
*/
|
|
109
109
|
deleteReport(callback?: (err: AWSError, data: CodeBuild.Types.DeleteReportOutput) => void): Request<CodeBuild.Types.DeleteReportOutput, AWSError>;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Deletes a report group. Before you delete a report group, you must delete its reports.
|
|
112
112
|
*/
|
|
113
113
|
deleteReportGroup(params: CodeBuild.Types.DeleteReportGroupInput, callback?: (err: AWSError, data: CodeBuild.Types.DeleteReportGroupOutput) => void): Request<CodeBuild.Types.DeleteReportGroupOutput, AWSError>;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* Deletes a report group. Before you delete a report group, you must delete its reports.
|
|
116
116
|
*/
|
|
117
117
|
deleteReportGroup(callback?: (err: AWSError, data: CodeBuild.Types.DeleteReportGroupOutput) => void): Request<CodeBuild.Types.DeleteReportGroupOutput, AWSError>;
|
|
118
118
|
/**
|
|
@@ -1123,9 +1123,13 @@ declare namespace CodeBuild {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
export interface DeleteReportGroupInput {
|
|
1125
1125
|
/**
|
|
1126
|
-
*
|
|
1126
|
+
* The ARN of the report group to delete.
|
|
1127
1127
|
*/
|
|
1128
1128
|
arn: NonEmptyString;
|
|
1129
|
+
/**
|
|
1130
|
+
* If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call DeleteReportGroup for a report group that contains one or more reports, an exception is thrown.
|
|
1131
|
+
*/
|
|
1132
|
+
deleteReports?: Boolean;
|
|
1129
1133
|
}
|
|
1130
1134
|
export interface DeleteReportGroupOutput {
|
|
1131
1135
|
}
|
|
@@ -1281,7 +1285,7 @@ declare namespace CodeBuild {
|
|
|
1281
1285
|
*/
|
|
1282
1286
|
value: String;
|
|
1283
1287
|
/**
|
|
1284
|
-
* The type of environment variable. Valid values include: PARAMETER_STORE: An environment variable stored in Amazon EC2 Systems Manager Parameter Store. To learn how to specify a parameter store environment variable, see
|
|
1288
|
+
* The type of environment variable. Valid values include: PARAMETER_STORE: An environment variable stored in Amazon EC2 Systems Manager Parameter Store. To learn how to specify a parameter store environment variable, see env/parameter-store in the AWS CodeBuild User Guide. PLAINTEXT: An environment variable in plain text format. This is the default value. SECRETS_MANAGER: An environment variable stored in AWS Secrets Manager. To learn how to specify a secrets manager environment variable, see env/secrets-manager in the AWS CodeBuild User Guide.
|
|
1285
1289
|
*/
|
|
1286
1290
|
type?: EnvironmentVariableType;
|
|
1287
1291
|
}
|
|
@@ -1908,7 +1912,7 @@ declare namespace CodeBuild {
|
|
|
1908
1912
|
*/
|
|
1909
1913
|
type: EnvironmentType;
|
|
1910
1914
|
/**
|
|
1911
|
-
* The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats: For an image tag: registry
|
|
1915
|
+
* The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats: For an image tag: <registry>/<repository>:<tag>. For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be aws/codebuild/standard:4.0. To specify the latest version of this image, this would be aws/codebuild/standard:latest. For an image digest: <registry>/<repository>@<digest>. For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
|
|
1912
1916
|
*/
|
|
1913
1917
|
image: NonEmptyString;
|
|
1914
1918
|
/**
|
|
@@ -2596,9 +2600,13 @@ declare namespace CodeBuild {
|
|
|
2596
2600
|
}
|
|
2597
2601
|
export interface TestCaseFilter {
|
|
2598
2602
|
/**
|
|
2599
|
-
*
|
|
2603
|
+
* The status used to filter test cases. A TestCaseFilter can have one status. Valid values are: SUCCEEDED FAILED ERROR SKIPPED UNKNOWN
|
|
2600
2604
|
*/
|
|
2601
2605
|
status?: String;
|
|
2606
|
+
/**
|
|
2607
|
+
* A keyword that is used to filter on the name or the prefix of the test cases. Only test cases where the keyword is a substring of the name or the prefix will be returned.
|
|
2608
|
+
*/
|
|
2609
|
+
keyword?: String;
|
|
2602
2610
|
}
|
|
2603
2611
|
export type TestCases = TestCase[];
|
|
2604
2612
|
export interface TestReportSummary {
|
package/clients/ebs.d.ts
CHANGED
|
@@ -29,27 +29,27 @@ declare class EBS extends Service {
|
|
|
29
29
|
*/
|
|
30
30
|
getSnapshotBlock(callback?: (err: AWSError, data: EBS.Types.GetSnapshotBlockResponse) => void): Request<EBS.Types.GetSnapshotBlockResponse, AWSError>;
|
|
31
31
|
/**
|
|
32
|
-
* Returns
|
|
32
|
+
* Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.
|
|
33
33
|
*/
|
|
34
34
|
listChangedBlocks(params: EBS.Types.ListChangedBlocksRequest, callback?: (err: AWSError, data: EBS.Types.ListChangedBlocksResponse) => void): Request<EBS.Types.ListChangedBlocksResponse, AWSError>;
|
|
35
35
|
/**
|
|
36
|
-
* Returns
|
|
36
|
+
* Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.
|
|
37
37
|
*/
|
|
38
38
|
listChangedBlocks(callback?: (err: AWSError, data: EBS.Types.ListChangedBlocksResponse) => void): Request<EBS.Types.ListChangedBlocksResponse, AWSError>;
|
|
39
39
|
/**
|
|
40
|
-
* Returns
|
|
40
|
+
* Returns information about the blocks in an Amazon Elastic Block Store snapshot.
|
|
41
41
|
*/
|
|
42
42
|
listSnapshotBlocks(params: EBS.Types.ListSnapshotBlocksRequest, callback?: (err: AWSError, data: EBS.Types.ListSnapshotBlocksResponse) => void): Request<EBS.Types.ListSnapshotBlocksResponse, AWSError>;
|
|
43
43
|
/**
|
|
44
|
-
* Returns
|
|
44
|
+
* Returns information about the blocks in an Amazon Elastic Block Store snapshot.
|
|
45
45
|
*/
|
|
46
46
|
listSnapshotBlocks(callback?: (err: AWSError, data: EBS.Types.ListSnapshotBlocksResponse) => void): Request<EBS.Types.ListSnapshotBlocksResponse, AWSError>;
|
|
47
47
|
/**
|
|
48
|
-
* Writes a block of data to a
|
|
48
|
+
* Writes a block of data to a snapshot. If the specified block contains data, the existing data is overwritten. The target snapshot must be in the pending state. Data written to a snapshot must be aligned with 512-byte sectors.
|
|
49
49
|
*/
|
|
50
50
|
putSnapshotBlock(params: EBS.Types.PutSnapshotBlockRequest, callback?: (err: AWSError, data: EBS.Types.PutSnapshotBlockResponse) => void): Request<EBS.Types.PutSnapshotBlockResponse, AWSError>;
|
|
51
51
|
/**
|
|
52
|
-
* Writes a block of data to a
|
|
52
|
+
* Writes a block of data to a snapshot. If the specified block contains data, the existing data is overwritten. The target snapshot must be in the pending state. Data written to a snapshot must be aligned with 512-byte sectors.
|
|
53
53
|
*/
|
|
54
54
|
putSnapshotBlock(callback?: (err: AWSError, data: EBS.Types.PutSnapshotBlockResponse) => void): Request<EBS.Types.PutSnapshotBlockResponse, AWSError>;
|
|
55
55
|
/**
|
|
@@ -255,7 +255,7 @@ declare namespace EBS {
|
|
|
255
255
|
*/
|
|
256
256
|
SnapshotId: SnapshotId;
|
|
257
257
|
/**
|
|
258
|
-
* The block index of the block in which to write the data. A block index is
|
|
258
|
+
* The block index of the block in which to write the data. A block index is a logical index in units of 512 KiB blocks. To identify the block index, divide the logical offset of the data in the logical volume by the block size (logical offset of data/524288). The logical offset of the data must be 512 KiB aligned.
|
|
259
259
|
*/
|
|
260
260
|
BlockIndex: BlockIndex;
|
|
261
261
|
/**
|