aws-sdk 2.1108.0 → 2.1111.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.
@@ -188,11 +188,11 @@ declare class Kendra extends Service {
188
188
  */
189
189
  describeFaq(callback?: (err: AWSError, data: Kendra.Types.DescribeFaqResponse) => void): Request<Kendra.Types.DescribeFaqResponse, AWSError>;
190
190
  /**
191
- * Describes an existing Amazon Kendra index
191
+ * Describes an existing Amazon Kendra index.
192
192
  */
193
193
  describeIndex(params: Kendra.Types.DescribeIndexRequest, callback?: (err: AWSError, data: Kendra.Types.DescribeIndexResponse) => void): Request<Kendra.Types.DescribeIndexResponse, AWSError>;
194
194
  /**
195
- * Describes an existing Amazon Kendra index
195
+ * Describes an existing Amazon Kendra index.
196
196
  */
197
197
  describeIndex(callback?: (err: AWSError, data: Kendra.Types.DescribeIndexResponse) => void): Request<Kendra.Types.DescribeIndexResponse, AWSError>;
198
198
  /**
@@ -316,11 +316,11 @@ declare class Kendra extends Service {
316
316
  */
317
317
  listGroupsOlderThanOrderingId(callback?: (err: AWSError, data: Kendra.Types.ListGroupsOlderThanOrderingIdResponse) => void): Request<Kendra.Types.ListGroupsOlderThanOrderingIdResponse, AWSError>;
318
318
  /**
319
- * Lists the Amazon Kendra indexes that you have created.
319
+ * Lists the Amazon Kendra indexes that you created.
320
320
  */
321
321
  listIndices(params: Kendra.Types.ListIndicesRequest, callback?: (err: AWSError, data: Kendra.Types.ListIndicesResponse) => void): Request<Kendra.Types.ListIndicesResponse, AWSError>;
322
322
  /**
323
- * Lists the Amazon Kendra indexes that you have created.
323
+ * Lists the Amazon Kendra indexes that you created.
324
324
  */
325
325
  listIndices(callback?: (err: AWSError, data: Kendra.Types.ListIndicesResponse) => void): Request<Kendra.Types.ListIndicesResponse, AWSError>;
326
326
  /**
@@ -702,6 +702,60 @@ declare namespace Kendra {
702
702
  export type BatchPutDocumentResponseFailedDocuments = BatchPutDocumentResponseFailedDocument[];
703
703
  export type _Blob = Buffer|Uint8Array|Blob|string;
704
704
  export type Boolean = boolean;
705
+ export interface BoxConfiguration {
706
+ /**
707
+ * The identifier of the Box Enterprise platform. You can find the enterprise ID in the Box Developer Console settings or when you create an app in Box and download your authentication credentials. For example, 801234567.
708
+ */
709
+ EnterpriseId: EnterpriseId;
710
+ /**
711
+ * The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Box platform. The secret must contain a JSON structure with the following keys: clientID—The identifier of the client OAuth 2.0 authentication application created in Box. clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box. publicKeyId—The identifier of the public key contained within an identity certificate. privateKey—A set of characters that make up an encryption key. passphrase—A set of characters that act like a password. You create an application in Box to generate the keys or credentials required for the secret. For more information, see Authentication for a Box data source.
712
+ */
713
+ SecretArn: SecretArn;
714
+ /**
715
+ * TRUE to use the Slack change log to determine which documents require updating in the index. Depending on the data source change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents.
716
+ */
717
+ UseChangeLog?: Boolean;
718
+ /**
719
+ * TRUE to index comments.
720
+ */
721
+ CrawlComments?: Boolean;
722
+ /**
723
+ * TRUE to index the contents of tasks.
724
+ */
725
+ CrawlTasks?: Boolean;
726
+ /**
727
+ * TRUE to index web links.
728
+ */
729
+ CrawlWebLinks?: Boolean;
730
+ /**
731
+ * A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box files to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.
732
+ */
733
+ FileFieldMappings?: DataSourceToIndexFieldMappingList;
734
+ /**
735
+ * A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box tasks to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.
736
+ */
737
+ TaskFieldMappings?: DataSourceToIndexFieldMappingList;
738
+ /**
739
+ * A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.
740
+ */
741
+ CommentFieldMappings?: DataSourceToIndexFieldMappingList;
742
+ /**
743
+ * A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box web links to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.
744
+ */
745
+ WebLinkFieldMappings?: DataSourceToIndexFieldMappingList;
746
+ /**
747
+ * A list of regular expression patterns to include certain files and folders in your Box platform. Files and folders that match the patterns are included in the index. Files and folders that don't match the patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.
748
+ */
749
+ InclusionPatterns?: DataSourceInclusionsExclusionsStrings;
750
+ /**
751
+ * A list of regular expression patterns to exclude certain files and folders from your Box platform. Files and folders that match the patterns are excluded from the index.Files and folders that don't match the patterns are included in the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.
752
+ */
753
+ ExclusionPatterns?: DataSourceInclusionsExclusionsStrings;
754
+ /**
755
+ * Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.
756
+ */
757
+ VpcConfiguration?: DataSourceVpcConfiguration;
758
+ }
705
759
  export interface CapacityUnitsConfiguration {
706
760
  /**
707
761
  * The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first.
@@ -1104,11 +1158,11 @@ declare namespace Kendra {
1104
1158
  */
1105
1159
  Edition?: IndexEdition;
1106
1160
  /**
1107
- * An Identity and Access Management(IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also the role used when you use the BatchPutDocument API to index documents from an Amazon S3 bucket.
1161
+ * An Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also the role you use when you call the BatchPutDocument API to index documents from an Amazon S3 bucket.
1108
1162
  */
1109
1163
  RoleArn: RoleArn;
1110
1164
  /**
1111
- * The identifier of the KMScustomer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
1165
+ * The identifier of the KMS customer managed key (CMK) that's used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
1112
1166
  */
1113
1167
  ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
1114
1168
  /**
@@ -1278,6 +1332,10 @@ declare namespace Kendra {
1278
1332
  * Provides the configuration information to connect to Slack as your data source.
1279
1333
  */
1280
1334
  SlackConfiguration?: SlackConfiguration;
1335
+ /**
1336
+ * Provides the configuration information to connect to Box as your data source.
1337
+ */
1338
+ BoxConfiguration?: BoxConfiguration;
1281
1339
  }
1282
1340
  export type DataSourceDateFieldFormat = string;
1283
1341
  export type DataSourceFieldName = string;
@@ -1413,7 +1471,7 @@ declare namespace Kendra {
1413
1471
  IndexFieldName: IndexFieldName;
1414
1472
  }
1415
1473
  export type DataSourceToIndexFieldMappingList = DataSourceToIndexFieldMapping[];
1416
- export type DataSourceType = "S3"|"SHAREPOINT"|"DATABASE"|"SALESFORCE"|"ONEDRIVE"|"SERVICENOW"|"CUSTOM"|"CONFLUENCE"|"GOOGLEDRIVE"|"WEBCRAWLER"|"WORKDOCS"|"FSX"|"SLACK"|string;
1474
+ export type DataSourceType = "S3"|"SHAREPOINT"|"DATABASE"|"SALESFORCE"|"ONEDRIVE"|"SERVICENOW"|"CUSTOM"|"CONFLUENCE"|"GOOGLEDRIVE"|"WEBCRAWLER"|"WORKDOCS"|"FSX"|"SLACK"|"BOX"|string;
1417
1475
  export interface DataSourceVpcConfiguration {
1418
1476
  /**
1419
1477
  * A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.
@@ -1710,7 +1768,7 @@ declare namespace Kendra {
1710
1768
  }
1711
1769
  export interface DescribeIndexRequest {
1712
1770
  /**
1713
- * The name of the index to describe.
1771
+ * The identifier of the index to describe.
1714
1772
  */
1715
1773
  Id: IndexId;
1716
1774
  }
@@ -1720,7 +1778,7 @@ declare namespace Kendra {
1720
1778
  */
1721
1779
  Name?: IndexName;
1722
1780
  /**
1723
- * The name of the index.
1781
+ * The identifier of the index.
1724
1782
  */
1725
1783
  Id?: IndexId;
1726
1784
  /**
@@ -1732,7 +1790,7 @@ declare namespace Kendra {
1732
1790
  */
1733
1791
  RoleArn?: RoleArn;
1734
1792
  /**
1735
- * The identifier of the KMScustomer master key (CMK) used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.
1793
+ * The identifier of the KMScustomer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.
1736
1794
  */
1737
1795
  ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
1738
1796
  /**
@@ -1740,7 +1798,7 @@ declare namespace Kendra {
1740
1798
  */
1741
1799
  Status?: IndexStatus;
1742
1800
  /**
1743
- * The description of the index.
1801
+ * The description for the index.
1744
1802
  */
1745
1803
  Description?: Description;
1746
1804
  /**
@@ -1760,11 +1818,11 @@ declare namespace Kendra {
1760
1818
  */
1761
1819
  IndexStatistics?: IndexStatistics;
1762
1820
  /**
1763
- * When th eStatus field value is FAILED, the ErrorMessage field contains a message that explains why.
1821
+ * When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
1764
1822
  */
1765
1823
  ErrorMessage?: ErrorMessage;
1766
1824
  /**
1767
- * For Enterprise edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A 0 for the query capacity or the storage capacity indicates that the index is using the default capacity for the index.
1825
+ * For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.
1768
1826
  */
1769
1827
  CapacityUnits?: CapacityUnitsConfiguration;
1770
1828
  /**
@@ -2177,6 +2235,7 @@ declare namespace Kendra {
2177
2235
  export type Duration = string;
2178
2236
  export type Endpoint = string;
2179
2237
  export type EndpointType = "HOME"|string;
2238
+ export type EnterpriseId = string;
2180
2239
  export interface EntityConfiguration {
2181
2240
  /**
2182
2241
  * The identifier of a user or group in your Amazon Web Services SSO identity source. For example, a user ID could be an email.
@@ -2589,7 +2648,7 @@ declare namespace Kendra {
2589
2648
  export type Importance = number;
2590
2649
  export interface IndexConfigurationSummary {
2591
2650
  /**
2592
- * The name of the index.
2651
+ * The identifier of the index.
2593
2652
  */
2594
2653
  Name?: IndexName;
2595
2654
  /**
@@ -4085,7 +4144,7 @@ declare namespace Kendra {
4085
4144
  */
4086
4145
  DocumentMetadataConfigurationUpdates?: DocumentMetadataConfigurationList;
4087
4146
  /**
4088
- * Sets the number of additional storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day. If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
4147
+ * Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls. If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
4089
4148
  */
4090
4149
  CapacityUnits?: CapacityUnitsConfiguration;
4091
4150
  /**
@@ -61,6 +61,14 @@ declare class Lambda extends Service {
61
61
  * Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. You set the package type to Image if the deployment package is a container image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. You set the package type to Zip if the deployment package is a .zip file archive. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, the default value is x86-64. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function. If another account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.
62
62
  */
63
63
  createFunction(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
64
+ /**
65
+ * Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your function.
66
+ */
67
+ createFunctionUrlConfig(params: Lambda.Types.CreateFunctionUrlConfigRequest, callback?: (err: AWSError, data: Lambda.Types.CreateFunctionUrlConfigResponse) => void): Request<Lambda.Types.CreateFunctionUrlConfigResponse, AWSError>;
68
+ /**
69
+ * Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your function.
70
+ */
71
+ createFunctionUrlConfig(callback?: (err: AWSError, data: Lambda.Types.CreateFunctionUrlConfigResponse) => void): Request<Lambda.Types.CreateFunctionUrlConfigResponse, AWSError>;
64
72
  /**
65
73
  * Deletes a Lambda function alias.
66
74
  */
@@ -117,6 +125,14 @@ declare class Lambda extends Service {
117
125
  * Deletes the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
118
126
  */
119
127
  deleteFunctionEventInvokeConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
128
+ /**
129
+ * Deletes a Lambda function URL. When you delete a function URL, you can't recover it. Creating a new function URL results in a different URL address.
130
+ */
131
+ deleteFunctionUrlConfig(params: Lambda.Types.DeleteFunctionUrlConfigRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
132
+ /**
133
+ * Deletes a Lambda function URL. When you delete a function URL, you can't recover it. Creating a new function URL results in a different URL address.
134
+ */
135
+ deleteFunctionUrlConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
120
136
  /**
121
137
  * Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.
122
138
  */
@@ -205,6 +221,14 @@ declare class Lambda extends Service {
205
221
  * Retrieves the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
206
222
  */
207
223
  getFunctionEventInvokeConfig(callback?: (err: AWSError, data: Lambda.Types.FunctionEventInvokeConfig) => void): Request<Lambda.Types.FunctionEventInvokeConfig, AWSError>;
224
+ /**
225
+ * Returns details about a Lambda function URL.
226
+ */
227
+ getFunctionUrlConfig(params: Lambda.Types.GetFunctionUrlConfigRequest, callback?: (err: AWSError, data: Lambda.Types.GetFunctionUrlConfigResponse) => void): Request<Lambda.Types.GetFunctionUrlConfigResponse, AWSError>;
228
+ /**
229
+ * Returns details about a Lambda function URL.
230
+ */
231
+ getFunctionUrlConfig(callback?: (err: AWSError, data: Lambda.Types.GetFunctionUrlConfigResponse) => void): Request<Lambda.Types.GetFunctionUrlConfigResponse, AWSError>;
208
232
  /**
209
233
  * Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
210
234
  */
@@ -293,6 +317,14 @@ declare class Lambda extends Service {
293
317
  * Retrieves a list of configurations for asynchronous invocation for a function. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
294
318
  */
295
319
  listFunctionEventInvokeConfigs(callback?: (err: AWSError, data: Lambda.Types.ListFunctionEventInvokeConfigsResponse) => void): Request<Lambda.Types.ListFunctionEventInvokeConfigsResponse, AWSError>;
320
+ /**
321
+ * Returns a list of Lambda function URLs for the specified function.
322
+ */
323
+ listFunctionUrlConfigs(params: Lambda.Types.ListFunctionUrlConfigsRequest, callback?: (err: AWSError, data: Lambda.Types.ListFunctionUrlConfigsResponse) => void): Request<Lambda.Types.ListFunctionUrlConfigsResponse, AWSError>;
324
+ /**
325
+ * Returns a list of Lambda function URLs for the specified function.
326
+ */
327
+ listFunctionUrlConfigs(callback?: (err: AWSError, data: Lambda.Types.ListFunctionUrlConfigsResponse) => void): Request<Lambda.Types.ListFunctionUrlConfigsResponse, AWSError>;
296
328
  /**
297
329
  * Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call. Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version. The ListFunctions action returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or version, use GetFunction.
298
330
  */
@@ -477,6 +509,14 @@ declare class Lambda extends Service {
477
509
  * Updates the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
478
510
  */
479
511
  updateFunctionEventInvokeConfig(callback?: (err: AWSError, data: Lambda.Types.FunctionEventInvokeConfig) => void): Request<Lambda.Types.FunctionEventInvokeConfig, AWSError>;
512
+ /**
513
+ * Updates the configuration for a Lambda function URL.
514
+ */
515
+ updateFunctionUrlConfig(params: Lambda.Types.UpdateFunctionUrlConfigRequest, callback?: (err: AWSError, data: Lambda.Types.UpdateFunctionUrlConfigResponse) => void): Request<Lambda.Types.UpdateFunctionUrlConfigResponse, AWSError>;
516
+ /**
517
+ * Updates the configuration for a Lambda function URL.
518
+ */
519
+ updateFunctionUrlConfig(callback?: (err: AWSError, data: Lambda.Types.UpdateFunctionUrlConfigResponse) => void): Request<Lambda.Types.UpdateFunctionUrlConfigResponse, AWSError>;
480
520
  /**
481
521
  * Waits for the functionExists state by periodically calling the underlying Lambda.getFunctionoperation every 1 seconds (at most 20 times).
482
522
  */
@@ -633,6 +673,10 @@ declare namespace Lambda {
633
673
  * The identifier for your organization in Organizations. Use this to grant permissions to all the Amazon Web Services accounts under this organization.
634
674
  */
635
675
  PrincipalOrgID?: PrincipalOrgID;
676
+ /**
677
+ * The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
678
+ */
679
+ FunctionUrlAuthType?: FunctionUrlAuthType;
636
680
  }
637
681
  export interface AddPermissionResponse {
638
682
  /**
@@ -676,6 +720,9 @@ declare namespace Lambda {
676
720
  */
677
721
  AdditionalVersionWeights?: AdditionalVersionWeights;
678
722
  }
723
+ export type AllowCredentials = boolean;
724
+ export type AllowMethodsList = Method[];
725
+ export type AllowOriginsList = Origin[];
679
726
  export interface AllowedPublishers {
680
727
  /**
681
728
  * The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
@@ -734,6 +781,32 @@ declare namespace Lambda {
734
781
  */
735
782
  ReservedConcurrentExecutions?: ReservedConcurrentExecutions;
736
783
  }
784
+ export interface Cors {
785
+ /**
786
+ * Whether to allow cookies or other credentials in requests to your function URL. The default is false.
787
+ */
788
+ AllowCredentials?: AllowCredentials;
789
+ /**
790
+ * The HTTP headers that origins can include in requests to your function URL. For example: Date, Keep-Alive, X-Custom-Header.
791
+ */
792
+ AllowHeaders?: HeadersList;
793
+ /**
794
+ * The HTTP methods that are allowed when calling your function URL. For example: GET, POST, DELETE, or the wildcard character (*).
795
+ */
796
+ AllowMethods?: AllowMethodsList;
797
+ /**
798
+ * The origins that can access your function URL. You can list any number of specific origins, separated by a comma. For example: https://www.example.com, http://localhost:60905. Alternatively, you can grant access to all origins using the wildcard character (*).
799
+ */
800
+ AllowOrigins?: AllowOriginsList;
801
+ /**
802
+ * The HTTP headers in your function response that you want to expose to origins that call your function URL. For example: Date, Keep-Alive, X-Custom-Header.
803
+ */
804
+ ExposeHeaders?: HeadersList;
805
+ /**
806
+ * The maximum amount of time, in seconds, that web browsers can cache results of a preflight request. By default, this is set to 0, which means that the browser doesn't cache results.
807
+ */
808
+ MaxAge?: MaxAge;
809
+ }
737
810
  export interface CreateAliasRequest {
738
811
  /**
739
812
  * The name of the Lambda function. Name formats Function name - MyFunction. Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. Partial ARN - 123456789012:function:MyFunction. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
@@ -944,6 +1017,46 @@ declare namespace Lambda {
944
1017
  */
945
1018
  EphemeralStorage?: EphemeralStorage;
946
1019
  }
1020
+ export interface CreateFunctionUrlConfigRequest {
1021
+ /**
1022
+ * The name of the Lambda function. Name formats Function name - my-function. Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN - 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
1023
+ */
1024
+ FunctionName: FunctionName;
1025
+ /**
1026
+ * The alias name.
1027
+ */
1028
+ Qualifier?: FunctionUrlQualifier;
1029
+ /**
1030
+ * The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
1031
+ */
1032
+ AuthType: FunctionUrlAuthType;
1033
+ /**
1034
+ * The cross-origin resource sharing (CORS) settings for your function URL.
1035
+ */
1036
+ Cors?: Cors;
1037
+ }
1038
+ export interface CreateFunctionUrlConfigResponse {
1039
+ /**
1040
+ * The HTTP URL endpoint for your function.
1041
+ */
1042
+ FunctionUrl: FunctionUrl;
1043
+ /**
1044
+ * The Amazon Resource Name (ARN) of your function.
1045
+ */
1046
+ FunctionArn: FunctionArn;
1047
+ /**
1048
+ * The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
1049
+ */
1050
+ AuthType: FunctionUrlAuthType;
1051
+ /**
1052
+ * The cross-origin resource sharing (CORS) settings for your function URL.
1053
+ */
1054
+ Cors?: Cors;
1055
+ /**
1056
+ * When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
1057
+ */
1058
+ CreationTime: Timestamp;
1059
+ }
947
1060
  export type _Date = Date;
948
1061
  export interface DeadLetterConfig {
949
1062
  /**
@@ -1007,6 +1120,16 @@ declare namespace Lambda {
1007
1120
  */
1008
1121
  Qualifier?: Qualifier;
1009
1122
  }
1123
+ export interface DeleteFunctionUrlConfigRequest {
1124
+ /**
1125
+ * The name of the Lambda function. Name formats Function name - my-function. Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN - 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
1126
+ */
1127
+ FunctionName: FunctionName;
1128
+ /**
1129
+ * The alias name.
1130
+ */
1131
+ Qualifier?: FunctionUrlQualifier;
1132
+ }
1010
1133
  export interface DeleteLayerVersionRequest {
1011
1134
  /**
1012
1135
  * The name or Amazon Resource Name (ARN) of the layer.
@@ -1405,6 +1528,36 @@ declare namespace Lambda {
1405
1528
  export type FunctionName = string;
1406
1529
  export type FunctionResponseType = "ReportBatchItemFailures"|string;
1407
1530
  export type FunctionResponseTypeList = FunctionResponseType[];
1531
+ export type FunctionUrl = string;
1532
+ export type FunctionUrlAuthType = "NONE"|"AWS_IAM"|string;
1533
+ export interface FunctionUrlConfig {
1534
+ /**
1535
+ * The HTTP URL endpoint for your function.
1536
+ */
1537
+ FunctionUrl: FunctionUrl;
1538
+ /**
1539
+ * The Amazon Resource Name (ARN) of your function.
1540
+ */
1541
+ FunctionArn: FunctionArn;
1542
+ /**
1543
+ * When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
1544
+ */
1545
+ CreationTime: Timestamp;
1546
+ /**
1547
+ * When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
1548
+ */
1549
+ LastModifiedTime: Timestamp;
1550
+ /**
1551
+ * The cross-origin resource sharing (CORS) settings for your function URL.
1552
+ */
1553
+ Cors?: Cors;
1554
+ /**
1555
+ * The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
1556
+ */
1557
+ AuthType: FunctionUrlAuthType;
1558
+ }
1559
+ export type FunctionUrlConfigList = FunctionUrlConfig[];
1560
+ export type FunctionUrlQualifier = string;
1408
1561
  export type FunctionVersion = "ALL"|string;
1409
1562
  export interface GetAccountSettingsRequest {
1410
1563
  }
@@ -1522,6 +1675,42 @@ declare namespace Lambda {
1522
1675
  */
1523
1676
  Concurrency?: Concurrency;
1524
1677
  }
1678
+ export interface GetFunctionUrlConfigRequest {
1679
+ /**
1680
+ * The name of the Lambda function. Name formats Function name - my-function. Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN - 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
1681
+ */
1682
+ FunctionName: FunctionName;
1683
+ /**
1684
+ * The alias name.
1685
+ */
1686
+ Qualifier?: FunctionUrlQualifier;
1687
+ }
1688
+ export interface GetFunctionUrlConfigResponse {
1689
+ /**
1690
+ * The HTTP URL endpoint for your function.
1691
+ */
1692
+ FunctionUrl: FunctionUrl;
1693
+ /**
1694
+ * The Amazon Resource Name (ARN) of your function.
1695
+ */
1696
+ FunctionArn: FunctionArn;
1697
+ /**
1698
+ * The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
1699
+ */
1700
+ AuthType: FunctionUrlAuthType;
1701
+ /**
1702
+ * The cross-origin resource sharing (CORS) settings for your function URL.
1703
+ */
1704
+ Cors?: Cors;
1705
+ /**
1706
+ * When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
1707
+ */
1708
+ CreationTime: Timestamp;
1709
+ /**
1710
+ * When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
1711
+ */
1712
+ LastModifiedTime: Timestamp;
1713
+ }
1525
1714
  export interface GetLayerVersionByArnRequest {
1526
1715
  /**
1527
1716
  * The ARN of the layer version.
@@ -1653,6 +1842,8 @@ declare namespace Lambda {
1653
1842
  LastModified?: Timestamp;
1654
1843
  }
1655
1844
  export type Handler = string;
1845
+ export type Header = string;
1846
+ export type HeadersList = Header[];
1656
1847
  export type HttpStatus = number;
1657
1848
  export interface ImageConfig {
1658
1849
  /**
@@ -1971,6 +2162,30 @@ declare namespace Lambda {
1971
2162
  */
1972
2163
  NextMarker?: String;
1973
2164
  }
2165
+ export interface ListFunctionUrlConfigsRequest {
2166
+ /**
2167
+ * The name of the Lambda function. Name formats Function name - my-function. Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN - 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
2168
+ */
2169
+ FunctionName: FunctionName;
2170
+ /**
2171
+ * Specify the pagination token that's returned by a previous request to retrieve the next page of results.
2172
+ */
2173
+ Marker?: String;
2174
+ /**
2175
+ * The maximum number of function URLs to return in the response. Note that ListFunctionUrlConfigs returns a maximum of 50 items in each response, even if you set the number higher.
2176
+ */
2177
+ MaxItems?: MaxItems;
2178
+ }
2179
+ export interface ListFunctionUrlConfigsResponse {
2180
+ /**
2181
+ * A list of function URL configurations.
2182
+ */
2183
+ FunctionUrlConfigs: FunctionUrlConfigList;
2184
+ /**
2185
+ * The pagination token that's included if more results are available.
2186
+ */
2187
+ NextMarker?: String;
2188
+ }
1974
2189
  export interface ListFunctionsByCodeSigningConfigRequest {
1975
2190
  /**
1976
2191
  * The The Amazon Resource Name (ARN) of the code signing configuration.
@@ -2147,7 +2362,9 @@ declare namespace Lambda {
2147
2362
  export type LogType = "None"|"Tail"|string;
2148
2363
  export type Long = number;
2149
2364
  export type MasterRegion = string;
2365
+ export type MaxAge = number;
2150
2366
  export type MaxFunctionEventInvokeConfigListItems = number;
2367
+ export type MaxItems = number;
2151
2368
  export type MaxLayerListItems = number;
2152
2369
  export type MaxListItems = number;
2153
2370
  export type MaxProvisionedConcurrencyConfigListItems = number;
@@ -2157,6 +2374,7 @@ declare namespace Lambda {
2157
2374
  export type MaximumRetryAttempts = number;
2158
2375
  export type MaximumRetryAttemptsEventSourceMapping = number;
2159
2376
  export type MemorySize = number;
2377
+ export type Method = string;
2160
2378
  export type NameSpacedFunctionArn = string;
2161
2379
  export type NamespacedFunctionName = string;
2162
2380
  export type NamespacedStatementId = string;
@@ -2174,6 +2392,7 @@ declare namespace Lambda {
2174
2392
  Destination?: DestinationArn;
2175
2393
  }
2176
2394
  export type OrganizationId = string;
2395
+ export type Origin = string;
2177
2396
  export type PackageType = "Zip"|"Image"|string;
2178
2397
  export type ParallelizationFactor = number;
2179
2398
  export type Pattern = string;
@@ -2749,6 +2968,50 @@ declare namespace Lambda {
2749
2968
  */
2750
2969
  DestinationConfig?: DestinationConfig;
2751
2970
  }
2971
+ export interface UpdateFunctionUrlConfigRequest {
2972
+ /**
2973
+ * The name of the Lambda function. Name formats Function name - my-function. Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN - 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
2974
+ */
2975
+ FunctionName: FunctionName;
2976
+ /**
2977
+ * The alias name.
2978
+ */
2979
+ Qualifier?: FunctionUrlQualifier;
2980
+ /**
2981
+ * The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
2982
+ */
2983
+ AuthType?: FunctionUrlAuthType;
2984
+ /**
2985
+ * The cross-origin resource sharing (CORS) settings for your function URL.
2986
+ */
2987
+ Cors?: Cors;
2988
+ }
2989
+ export interface UpdateFunctionUrlConfigResponse {
2990
+ /**
2991
+ * The HTTP URL endpoint for your function.
2992
+ */
2993
+ FunctionUrl: FunctionUrl;
2994
+ /**
2995
+ * The Amazon Resource Name (ARN) of your function.
2996
+ */
2997
+ FunctionArn: FunctionArn;
2998
+ /**
2999
+ * The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
3000
+ */
3001
+ AuthType: FunctionUrlAuthType;
3002
+ /**
3003
+ * The cross-origin resource sharing (CORS) settings for your function URL.
3004
+ */
3005
+ Cors?: Cors;
3006
+ /**
3007
+ * When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
3008
+ */
3009
+ CreationTime: Timestamp;
3010
+ /**
3011
+ * When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
3012
+ */
3013
+ LastModifiedTime: Timestamp;
3014
+ }
2752
3015
  export type Version = string;
2753
3016
  export interface VpcConfig {
2754
3017
  /**
@@ -1152,6 +1152,7 @@ declare namespace MediaConvert {
1152
1152
  export type CmfcAudioTrackType = "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT"|"ALTERNATE_AUDIO_AUTO_SELECT"|"ALTERNATE_AUDIO_NOT_AUTO_SELECT"|string;
1153
1153
  export type CmfcDescriptiveVideoServiceFlag = "DONT_FLAG"|"FLAG"|string;
1154
1154
  export type CmfcIFrameOnlyManifest = "INCLUDE"|"EXCLUDE"|string;
1155
+ export type CmfcKlvMetadata = "PASSTHROUGH"|"NONE"|string;
1155
1156
  export type CmfcScte35Esam = "INSERT"|"NONE"|string;
1156
1157
  export type CmfcScte35Source = "PASSTHROUGH"|"NONE"|string;
1157
1158
  export interface CmfcSettings {
@@ -1179,6 +1180,10 @@ declare namespace MediaConvert {
1179
1180
  * Choose Include (INCLUDE) to have MediaConvert generate an HLS child manifest that lists only the I-frames for this rendition, in addition to your regular manifest for this rendition. You might use this manifest as part of a workflow that creates preview functions for your video. MediaConvert adds both the I-frame only child manifest and the regular child manifest to the parent manifest. When you don't need the I-frame only child manifest, keep the default value Exclude (EXCLUDE).
1180
1181
  */
1181
1182
  IFrameOnlyManifest?: CmfcIFrameOnlyManifest;
1183
+ /**
1184
+ * Applies to CMAF outputs. Use this setting to specify whether the service inserts the KLV metadata from the input in this output.
1185
+ */
1186
+ KlvMetadata?: CmfcKlvMetadata;
1182
1187
  /**
1183
1188
  * Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT to put SCTE-35 markers in this output at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).
1184
1189
  */
@@ -3708,6 +3713,7 @@ Within your job settings, all of your DVB-Sub settings must be identical.
3708
3713
  export type M2tsEbpPlacement = "VIDEO_AND_AUDIO_PIDS"|"VIDEO_PID"|string;
3709
3714
  export type M2tsEsRateInPes = "INCLUDE"|"EXCLUDE"|string;
3710
3715
  export type M2tsForceTsVideoEbpOrder = "FORCE"|"DEFAULT"|string;
3716
+ export type M2tsKlvMetadata = "PASSTHROUGH"|"NONE"|string;
3711
3717
  export type M2tsNielsenId3 = "INSERT"|"NONE"|string;
3712
3718
  export type M2tsPcrControl = "PCR_EVERY_PES_PACKET"|"CONFIGURED_PCR_PERIOD"|string;
3713
3719
  export type M2tsRateMode = "VBR"|"CBR"|string;
@@ -3789,6 +3795,10 @@ Within your job settings, all of your DVB-Sub settings must be identical.
3789
3795
  * The length, in seconds, of each fragment. Only used with EBP markers.
3790
3796
  */
3791
3797
  FragmentTime?: __doubleMin0;
3798
+ /**
3799
+ * Applies to MPEG-TS outputs. Use this setting to specify whether the service inserts the KLV metadata from the input in this output.
3800
+ */
3801
+ KlvMetadata?: M2tsKlvMetadata;
3792
3802
  /**
3793
3803
  * Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.
3794
3804
  */
@@ -4101,6 +4111,7 @@ Within your job settings, all of your DVB-Sub settings must be identical.
4101
4111
  export type MpdAccessibilityCaptionHints = "INCLUDE"|"EXCLUDE"|string;
4102
4112
  export type MpdAudioDuration = "DEFAULT_CODEC_DURATION"|"MATCH_VIDEO_DURATION"|string;
4103
4113
  export type MpdCaptionContainerType = "RAW"|"FRAGMENTED_MP4"|string;
4114
+ export type MpdKlvMetadata = "NONE"|"PASSTHROUGH"|string;
4104
4115
  export type MpdScte35Esam = "INSERT"|"NONE"|string;
4105
4116
  export type MpdScte35Source = "PASSTHROUGH"|"NONE"|string;
4106
4117
  export interface MpdSettings {
@@ -4116,6 +4127,10 @@ Within your job settings, all of your DVB-Sub settings must be identical.
4116
4127
  * Use this setting only in DASH output groups that include sidecar TTML or IMSC captions. You specify sidecar captions in a separate output from your audio and video. Choose Raw (RAW) for captions in a single XML file in a raw container. Choose Fragmented MPEG-4 (FRAGMENTED_MP4) for captions in XML format contained within fragmented MP4 files. This set of fragmented MP4 files is separate from your video and audio fragmented MP4 files.
4117
4128
  */
4118
4129
  CaptionContainerType?: MpdCaptionContainerType;
4130
+ /**
4131
+ * Applies to DASH ISO outputs. Use this setting to specify whether the service inserts the KLV metadata from the input in this output.
4132
+ */
4133
+ KlvMetadata?: MpdKlvMetadata;
4119
4134
  /**
4120
4135
  * Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT to put SCTE-35 markers in this output at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).
4121
4136
  */
@@ -5638,7 +5653,7 @@ Within your job settings, all of your DVB-Sub settings must be identical.
5638
5653
  */
5639
5654
  Accessibility?: WebvttAccessibilitySubs;
5640
5655
  /**
5641
- * Set Style passthrough (StylePassthrough) to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use simplified output captions.
5656
+ * To use the available style, color, and position information from your input captions: Set Style passthrough (stylePassthrough) to Enabled (ENABLED). MediaConvert uses default settings when style and position information is missing from your input captions. To recreate the input captions exactly: Set Style passthrough to Strict (STRICT). MediaConvert automatically applies timing adjustments, including adjustments for frame rate conversion, ad avails, and input clipping. Your input captions format must be WebVTT. To ignore the style and position information from your input captions and use simplified output captions: Set Style passthrough to Disabled (DISABLED), or leave blank.
5642
5657
  */
5643
5658
  StylePassthrough?: WebvttStylePassthrough;
5644
5659
  }
@@ -5656,7 +5671,7 @@ Within your job settings, all of your DVB-Sub settings must be identical.
5656
5671
  */
5657
5672
  RenditionName?: __string;
5658
5673
  }
5659
- export type WebvttStylePassthrough = "ENABLED"|"DISABLED"|string;
5674
+ export type WebvttStylePassthrough = "ENABLED"|"DISABLED"|"STRICT"|string;
5660
5675
  export type Xavc4kIntraCbgProfileClass = "CLASS_100"|"CLASS_300"|"CLASS_480"|string;
5661
5676
  export interface Xavc4kIntraCbgProfileSettings {
5662
5677
  /**