aws-sdk 2.801.0 → 2.805.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +25 -1
  2. package/README.md +1 -1
  3. package/apis/amplifybackend-2020-08-11.min.json +0 -8
  4. package/apis/batch-2016-08-10.min.json +81 -21
  5. package/apis/compute-optimizer-2019-11-01.min.json +110 -0
  6. package/apis/{profile-2020-08-15.examples.json → customer-profiles-2020-08-15.examples.json} +0 -0
  7. package/apis/{profile-2020-08-15.min.json → customer-profiles-2020-08-15.min.json} +3 -3
  8. package/apis/{profile-2020-08-15.paginators.json → customer-profiles-2020-08-15.paginators.json} +0 -0
  9. package/apis/dms-2016-01-01.min.json +9 -1
  10. package/apis/ec2-2016-11-15.min.json +4 -0
  11. package/apis/lambda-2015-03-31.examples.json +6 -6
  12. package/apis/license-manager-2018-08-01.min.json +957 -51
  13. package/apis/medialive-2017-10-14.min.json +240 -158
  14. package/apis/metadata.json +4 -3
  15. package/apis/rds-2014-10-31.min.json +200 -132
  16. package/apis/servicecatalog-appregistry-2020-06-24.min.json +80 -0
  17. package/apis/ssm-2014-11-06.min.json +348 -203
  18. package/clients/all.d.ts +1 -1
  19. package/clients/all.js +2 -2
  20. package/clients/amplifybackend.d.ts +74 -74
  21. package/clients/batch.d.ts +200 -133
  22. package/clients/computeoptimizer.d.ts +179 -22
  23. package/clients/{profile.d.ts → customerprofiles.d.ts} +63 -63
  24. package/clients/customerprofiles.js +18 -0
  25. package/clients/directoryservice.d.ts +24 -21
  26. package/clients/dms.d.ts +16 -0
  27. package/clients/ec2.d.ts +6 -2
  28. package/clients/kafka.d.ts +4 -4
  29. package/clients/lambda.d.ts +10 -10
  30. package/clients/licensemanager.d.ts +1350 -72
  31. package/clients/medialive.d.ts +80 -1
  32. package/clients/rds.d.ts +128 -43
  33. package/clients/servicecatalogappregistry.d.ts +61 -0
  34. package/clients/ssm.d.ts +197 -10
  35. package/clients/workspaces.d.ts +10 -10
  36. package/dist/aws-sdk-core-react-native.js +2 -2
  37. package/dist/aws-sdk-react-native.js +31 -27
  38. package/dist/aws-sdk.js +565 -343
  39. package/dist/aws-sdk.min.js +60 -60
  40. package/lib/config_service_placeholders.d.ts +2 -2
  41. package/lib/core.js +1 -1
  42. package/lib/services/s3.js +6 -2
  43. package/package.json +1 -1
  44. package/clients/profile.js +0 -18
@@ -54,11 +54,11 @@ declare class Lambda extends Service {
54
54
  */
55
55
  createEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request<Lambda.Types.EventSourceMappingConfiguration, AWSError>;
56
56
  /**
57
- * Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a ZIP archive or image container that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing. 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 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 AWS 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 AWS services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.
57
+ * 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 AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing. 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 AWS 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 AWS services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.
58
58
  */
59
59
  createFunction(params: Lambda.Types.CreateFunctionRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
60
60
  /**
61
- * Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a ZIP archive or image container that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing. 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 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 AWS 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 AWS services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.
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 AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing. 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 AWS 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 AWS 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
64
  /**
@@ -454,11 +454,11 @@ declare class Lambda extends Service {
454
454
  */
455
455
  updateEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request<Lambda.Types.EventSourceMappingConfiguration, AWSError>;
456
456
  /**
457
- * Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing. The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version.
457
+ * Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing. The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version. For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function.
458
458
  */
459
459
  updateFunctionCode(params: Lambda.Types.UpdateFunctionCodeRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
460
460
  /**
461
- * Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing. The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version.
461
+ * Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing. The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version. For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function.
462
462
  */
463
463
  updateFunctionCode(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
464
464
  /**
@@ -845,7 +845,7 @@ declare namespace Lambda {
845
845
  */
846
846
  Timeout?: Timeout;
847
847
  /**
848
- * The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value must be a multiple of 64 MB.
848
+ * The amount of memory available to the function at runtime. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.
849
849
  */
850
850
  MemorySize?: MemorySize;
851
851
  /**
@@ -1191,7 +1191,7 @@ declare namespace Lambda {
1191
1191
  */
1192
1192
  Timeout?: Timeout;
1193
1193
  /**
1194
- * The memory that's allocated to the function.
1194
+ * The amount of memory available to the function at runtime.
1195
1195
  */
1196
1196
  MemorySize?: MemorySize;
1197
1197
  /**
@@ -1267,7 +1267,7 @@ declare namespace Lambda {
1267
1267
  */
1268
1268
  FileSystemConfigs?: FileSystemConfigList;
1269
1269
  /**
1270
- * The type of deployment package. Set to Image for container image and set Zip for ZIP archive.
1270
+ * The type of deployment package. Set to Image for container image and set Zip for .zip file archive.
1271
1271
  */
1272
1272
  PackageType?: PackageType;
1273
1273
  /**
@@ -1656,7 +1656,7 @@ declare namespace Lambda {
1656
1656
  export type KMSKeyArn = string;
1657
1657
  export type LastUpdateStatus = "Successful"|"Failed"|"InProgress"|string;
1658
1658
  export type LastUpdateStatusReason = string;
1659
- export type LastUpdateStatusReasonCode = "EniLimitExceeded"|"InsufficientRolePermissions"|"InvalidConfiguration"|"InternalError"|"SubnetOutOfIPAddresses"|"InvalidSubnet"|"InvalidSecurityGroup"|"ImageDeleted"|"ImageAccessDenied"|string;
1659
+ export type LastUpdateStatusReasonCode = "EniLimitExceeded"|"InsufficientRolePermissions"|"InvalidConfiguration"|"InternalError"|"SubnetOutOfIPAddresses"|"InvalidSubnet"|"InvalidSecurityGroup"|"ImageDeleted"|"ImageAccessDenied"|"InvalidImage"|string;
1660
1660
  export interface Layer {
1661
1661
  /**
1662
1662
  * The Amazon Resource Name (ARN) of the function layer.
@@ -2328,7 +2328,7 @@ declare namespace Lambda {
2328
2328
  export type SourceOwner = string;
2329
2329
  export type State = "Pending"|"Active"|"Inactive"|"Failed"|string;
2330
2330
  export type StateReason = string;
2331
- export type StateReasonCode = "Idle"|"Creating"|"Restoring"|"EniLimitExceeded"|"InsufficientRolePermissions"|"InvalidConfiguration"|"InternalError"|"SubnetOutOfIPAddresses"|"InvalidSubnet"|"InvalidSecurityGroup"|"ImageDeleted"|"ImageAccessDenied"|string;
2331
+ export type StateReasonCode = "Idle"|"Creating"|"Restoring"|"EniLimitExceeded"|"InsufficientRolePermissions"|"InvalidConfiguration"|"InternalError"|"SubnetOutOfIPAddresses"|"InvalidSubnet"|"InvalidSecurityGroup"|"ImageDeleted"|"ImageAccessDenied"|"InvalidImage"|string;
2332
2332
  export type StatementId = string;
2333
2333
  export type String = string;
2334
2334
  export type StringList = String[];
@@ -2532,7 +2532,7 @@ declare namespace Lambda {
2532
2532
  */
2533
2533
  Timeout?: Timeout;
2534
2534
  /**
2535
- * The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value must be a multiple of 64 MB.
2535
+ * The amount of memory available to the function at runtime. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.
2536
2536
  */
2537
2537
  MemorySize?: MemorySize;
2538
2538
  /**