Prepare release 3.0.5 (#4892)
This commit is contained in:
parent
58ff549b94
commit
19c5108ecd
34
CHANGELOG.md
34
CHANGELOG.md
@ -5,8 +5,42 @@ Moto Changelog
|
||||
-----
|
||||
Docker Digest for 3.0.5: <autopopulateddigest>
|
||||
|
||||
New Services:
|
||||
* Textract:
|
||||
* get_document_text_detection()
|
||||
* start_document_text_detection()
|
||||
|
||||
New Methods:
|
||||
* APIGateway:
|
||||
* delete_gateway_responses()
|
||||
* get_gateway_response()
|
||||
* get_gateway_responses()
|
||||
* put_gateway_response()
|
||||
* CloudTrail:
|
||||
* add_tags()
|
||||
* get_event_selectors()
|
||||
* get_insight_selectors()
|
||||
* list_tags()
|
||||
* put_event_selectors()
|
||||
* put_insight_selectors()
|
||||
* remove_tags()
|
||||
* update_trail()
|
||||
* CognitoIDP:
|
||||
* admin_set_user_mfa_preference()
|
||||
* S3Control:
|
||||
* create_access_point()
|
||||
* delete_access_point()
|
||||
* delete_access_point_policy()
|
||||
* get_access_point()
|
||||
* get_access_point_policy()
|
||||
* get_access_point_policy_status()
|
||||
|
||||
Miscellaneous:
|
||||
* APIGateway: put_integration() now supports the timeoutInMillis-parameter
|
||||
* AWSLambda: Made the docker image repository selectable via the `MOTO_DOCKER_LAMBDA_IMAGE` environment variable.
|
||||
* Batch: register_job_definition() now supports the parameters `platformCapabilities`, `propagateTags` and `retryStrategy`
|
||||
* IAM: list_entities_for_policy() now returns the RoleId/GroupId/UserId-attributes
|
||||
* S3Control is now available in ServerMode.
|
||||
|
||||
3.0.4
|
||||
-----
|
||||
|
@ -434,7 +434,7 @@
|
||||
|
||||
## budgets
|
||||
<details>
|
||||
<summary>31% implemented</summary>
|
||||
<summary>30% implemented</summary>
|
||||
|
||||
- [X] create_budget
|
||||
- [ ] create_budget_action
|
||||
@ -449,6 +449,7 @@
|
||||
- [ ] describe_budget_action_histories
|
||||
- [ ] describe_budget_actions_for_account
|
||||
- [ ] describe_budget_actions_for_budget
|
||||
- [ ] describe_budget_notifications_for_account
|
||||
- [ ] describe_budget_performance_history
|
||||
- [X] describe_budgets
|
||||
- [X] describe_notifications_for_budget
|
||||
@ -866,7 +867,7 @@
|
||||
|
||||
## cognito-idp
|
||||
<details>
|
||||
<summary>54% implemented</summary>
|
||||
<summary>55% implemented</summary>
|
||||
|
||||
- [X] add_custom_attributes
|
||||
- [X] admin_add_user_to_group
|
||||
@ -888,7 +889,7 @@
|
||||
- [X] admin_remove_user_from_group
|
||||
- [X] admin_reset_user_password
|
||||
- [ ] admin_respond_to_auth_challenge
|
||||
- [ ] admin_set_user_mfa_preference
|
||||
- [X] admin_set_user_mfa_preference
|
||||
- [X] admin_set_user_password
|
||||
- [ ] admin_set_user_settings
|
||||
- [ ] admin_update_auth_event_feedback
|
||||
@ -4347,7 +4348,7 @@
|
||||
|
||||
## s3
|
||||
<details>
|
||||
<summary>59% implemented</summary>
|
||||
<summary>58% implemented</summary>
|
||||
|
||||
- [X] abort_multipart_upload
|
||||
- [X] complete_multipart_upload
|
||||
@ -4395,6 +4396,7 @@
|
||||
- [ ] get_bucket_website
|
||||
- [X] get_object
|
||||
- [X] get_object_acl
|
||||
- [ ] get_object_attributes
|
||||
- [X] get_object_legal_hold
|
||||
- [X] get_object_lock_configuration
|
||||
- [ ] get_object_retention
|
||||
@ -4449,16 +4451,16 @@
|
||||
|
||||
## s3control
|
||||
<details>
|
||||
<summary>5% implemented</summary>
|
||||
<summary>15% implemented</summary>
|
||||
|
||||
- [ ] create_access_point
|
||||
- [X] create_access_point
|
||||
- [ ] create_access_point_for_object_lambda
|
||||
- [ ] create_bucket
|
||||
- [ ] create_job
|
||||
- [ ] create_multi_region_access_point
|
||||
- [ ] delete_access_point
|
||||
- [X] delete_access_point
|
||||
- [ ] delete_access_point_for_object_lambda
|
||||
- [ ] delete_access_point_policy
|
||||
- [X] delete_access_point_policy
|
||||
- [ ] delete_access_point_policy_for_object_lambda
|
||||
- [ ] delete_bucket
|
||||
- [ ] delete_bucket_lifecycle_configuration
|
||||
@ -4471,12 +4473,12 @@
|
||||
- [ ] delete_storage_lens_configuration_tagging
|
||||
- [ ] describe_job
|
||||
- [ ] describe_multi_region_access_point_operation
|
||||
- [ ] get_access_point
|
||||
- [X] get_access_point
|
||||
- [ ] get_access_point_configuration_for_object_lambda
|
||||
- [ ] get_access_point_for_object_lambda
|
||||
- [ ] get_access_point_policy
|
||||
- [X] get_access_point_policy
|
||||
- [ ] get_access_point_policy_for_object_lambda
|
||||
- [ ] get_access_point_policy_status
|
||||
- [X] get_access_point_policy_status
|
||||
- [ ] get_access_point_policy_status_for_object_lambda
|
||||
- [ ] get_bucket
|
||||
- [ ] get_bucket_lifecycle_configuration
|
||||
@ -5276,6 +5278,22 @@
|
||||
- [ ] untag_resource
|
||||
</details>
|
||||
|
||||
## textract
|
||||
<details>
|
||||
<summary>20% implemented</summary>
|
||||
|
||||
- [ ] analyze_document
|
||||
- [ ] analyze_expense
|
||||
- [ ] analyze_id
|
||||
- [ ] detect_document_text
|
||||
- [ ] get_document_analysis
|
||||
- [X] get_document_text_detection
|
||||
- [ ] get_expense_analysis
|
||||
- [ ] start_document_analysis
|
||||
- [X] start_document_text_detection
|
||||
- [ ] start_expense_analysis
|
||||
</details>
|
||||
|
||||
## timestream-write
|
||||
<details>
|
||||
<summary>80% implemented</summary>
|
||||
@ -5592,7 +5610,6 @@
|
||||
- sso-oidc
|
||||
- storagegateway
|
||||
- synthetics
|
||||
- textract
|
||||
- timestream-query
|
||||
- transfer
|
||||
- translate
|
||||
|
@ -40,6 +40,7 @@ budgets
|
||||
- [ ] describe_budget_action_histories
|
||||
- [ ] describe_budget_actions_for_account
|
||||
- [ ] describe_budget_actions_for_budget
|
||||
- [ ] describe_budget_notifications_for_account
|
||||
- [ ] describe_budget_performance_history
|
||||
- [X] describe_budgets
|
||||
|
||||
|
@ -45,7 +45,7 @@ cognito-idp
|
||||
- [X] admin_remove_user_from_group
|
||||
- [X] admin_reset_user_password
|
||||
- [ ] admin_respond_to_auth_challenge
|
||||
- [ ] admin_set_user_mfa_preference
|
||||
- [X] admin_set_user_mfa_preference
|
||||
- [X] admin_set_user_password
|
||||
- [ ] admin_set_user_settings
|
||||
- [ ] admin_update_auth_event_feedback
|
||||
|
@ -73,6 +73,7 @@ s3
|
||||
- [ ] get_bucket_website
|
||||
- [X] get_object
|
||||
- [X] get_object_acl
|
||||
- [ ] get_object_attributes
|
||||
- [X] get_object_legal_hold
|
||||
- [X] get_object_lock_configuration
|
||||
- [ ] get_object_retention
|
||||
|
@ -12,8 +12,6 @@
|
||||
s3control
|
||||
=========
|
||||
|
||||
.. autoclass:: moto.s3control.models.S3ControlBackend
|
||||
|
||||
|start-h3| Example usage |end-h3|
|
||||
|
||||
.. sourcecode:: python
|
||||
@ -27,14 +25,14 @@ s3control
|
||||
|
||||
|start-h3| Implemented features for this service |end-h3|
|
||||
|
||||
- [ ] create_access_point
|
||||
- [X] create_access_point
|
||||
- [ ] create_access_point_for_object_lambda
|
||||
- [ ] create_bucket
|
||||
- [ ] create_job
|
||||
- [ ] create_multi_region_access_point
|
||||
- [ ] delete_access_point
|
||||
- [X] delete_access_point
|
||||
- [ ] delete_access_point_for_object_lambda
|
||||
- [ ] delete_access_point_policy
|
||||
- [X] delete_access_point_policy
|
||||
- [ ] delete_access_point_policy_for_object_lambda
|
||||
- [ ] delete_bucket
|
||||
- [ ] delete_bucket_lifecycle_configuration
|
||||
@ -47,12 +45,16 @@ s3control
|
||||
- [ ] delete_storage_lens_configuration_tagging
|
||||
- [ ] describe_job
|
||||
- [ ] describe_multi_region_access_point_operation
|
||||
- [ ] get_access_point
|
||||
- [X] get_access_point
|
||||
- [ ] get_access_point_configuration_for_object_lambda
|
||||
- [ ] get_access_point_for_object_lambda
|
||||
- [ ] get_access_point_policy
|
||||
- [X] get_access_point_policy
|
||||
- [ ] get_access_point_policy_for_object_lambda
|
||||
- [ ] get_access_point_policy_status
|
||||
- [X] get_access_point_policy_status
|
||||
|
||||
We assume the policy status is always public
|
||||
|
||||
|
||||
- [ ] get_access_point_policy_status_for_object_lambda
|
||||
- [ ] get_bucket
|
||||
- [ ] get_bucket_lifecycle_configuration
|
||||
|
@ -8,9 +8,9 @@
|
||||
|
||||
</h3>
|
||||
|
||||
==========
|
||||
========
|
||||
textract
|
||||
==========
|
||||
========
|
||||
|
||||
.. autoclass:: moto.textract.models.TextractBackend
|
||||
|
||||
@ -27,19 +27,14 @@ textract
|
||||
|
||||
|start-h3| Implemented features for this service |end-h3|
|
||||
|
||||
- [ ] analyze_document
|
||||
- [ ] analyze_expense
|
||||
- [ ] analyze_id
|
||||
- [ ] can_paginate
|
||||
- [ ] detect_document_text
|
||||
- [ ] get_document_analysis
|
||||
- [X] get_document_text_detection
|
||||
- [ ] get_expense_analysis
|
||||
- [ ] get_paginator
|
||||
- [ ] get_waiter
|
||||
- [ ] start_document_analysis
|
||||
- [X] start_document_text_detection
|
||||
- [ ] start_expense_analysis
|
||||
- [ ] analyze_document
|
||||
- [ ] analyze_expense
|
||||
- [ ] analyze_id
|
||||
- [ ] detect_document_text
|
||||
- [ ] get_document_analysis
|
||||
- [X] get_document_text_detection
|
||||
- [ ] get_expense_analysis
|
||||
- [ ] start_document_analysis
|
||||
- [X] start_document_text_detection
|
||||
- [ ] start_expense_analysis
|
||||
|
||||
Pagination has not yet been implemented
|
||||
|
@ -1156,7 +1156,7 @@ Moto will run on port 5000 by default. This can be overwritten by setting an env
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
# This env var will be propagated to the Docker containers
|
||||
# This env var will be propagated to the Docker container running the Lambda functions
|
||||
MOTO_PORT=5000 moto_server
|
||||
|
||||
The Docker container uses the default network mode, `bridge`.
|
||||
@ -1172,7 +1172,11 @@ The following environment variables are available for fine-grained control over
|
||||
# Note that this option will be ignored if MOTO_DOCKER_NETWORK_NAME is also set
|
||||
MOTO_DOCKER_NETWORK_MODE=host moto_server
|
||||
|
||||
The Docker image can be overridden using an environment variable: ``MOTO_DOCKER_LAMBDA_IMAGE``.
|
||||
The Docker images used by Moto are taken from the `lambci/lambda`-repo by default. Use the following environment variable to configure a different repo:
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
MOTO_DOCKER_LAMBDA_IMAGE=mLupin/docker-lambda
|
||||
|
||||
.. note:: When using the decorators, a Docker container cannot reach Moto, as it does not run as a server. Any boto3-invocations used within your Lambda will try to connect to AWS.
|
||||
"""
|
||||
|
@ -43,14 +43,6 @@ class AccessPoint(BaseModel):
|
||||
|
||||
|
||||
class S3ControlBackend(BaseBackend):
|
||||
"""
|
||||
S3-Control cannot be accessed via the MotoServer without a modification of the hosts file on your system.
|
||||
This is due to the fact that the URL to the host is in the form of:
|
||||
ACCOUNT_ID.s3-control.amazonaws.com
|
||||
|
||||
That Account ID part is the problem. If you want to make use of the moto server, update your hosts file for `THE_ACCOUNT_ID_FOR_MOTO.localhost` and this will work fine.
|
||||
"""
|
||||
|
||||
def __init__(self, region_name=None):
|
||||
self.region_name = region_name
|
||||
self.public_access_block = None
|
||||
|
@ -1,5 +1,7 @@
|
||||
TestAccAWSAccessKey
|
||||
TestAccAWSAcmCertificateDataSource
|
||||
TestAccAWSAPIGatewayGatewayResponse
|
||||
TestAccAWSAPIGatewayStage
|
||||
TestAccAWSAPIGatewayV2Authorizer
|
||||
TestAccAWSAPIGatewayV2IntegrationResponse
|
||||
TestAccAWSAPIGatewayV2Model
|
||||
@ -26,7 +28,6 @@ TestAccAWSCloudWatchEventRule
|
||||
TestAccAWSCloudWatchEventTarget_ssmDocument
|
||||
TestAccAWSCloudwatchLogGroupDataSource
|
||||
TestAccAWSCloudWatchMetricAlarm
|
||||
TestAccAWSDAX
|
||||
TestAccAWSDataSourceCloudwatch
|
||||
TestAccAWSDataSourceElasticBeanstalkHostedZone
|
||||
TestAccAWSDataSourceIAMGroup
|
||||
@ -36,45 +37,60 @@ TestAccAWSDataSourceIAMPolicyDocument
|
||||
TestAccAWSDataSourceIAMRole
|
||||
TestAccAWSDataSourceIAMSessionContext
|
||||
TestAccAWSDataSourceIAMUser
|
||||
TestAccAWSDAX
|
||||
TestAccAWSDefaultSecurityGroup_
|
||||
TestAccAWSDefaultSubnet
|
||||
TestAccAWSDefaultTagsDataSource
|
||||
TestAccAWSDynamoDbTableItem
|
||||
TestAccAWSEc2CarrierGateway
|
||||
TestAccAWSEc2InstanceTypeOfferingDataSource
|
||||
TestAccAWSEc2InstanceTypeOfferingsDataSource
|
||||
TestAccAwsEc2ManagedPrefixList
|
||||
TestAccAWSEc2Tag
|
||||
TestAccAWSEc2TransitGateway
|
||||
TestAccAWSEc2TransitGatewayRoute
|
||||
TestAccAWSEc2TransitGatewayDataSource
|
||||
TestAccAWSEc2TransitGatewayPeeringAttachment
|
||||
TestAccAWSEc2TransitGatewayPeeringAttachmentDataSource
|
||||
TestAccAWSEc2TransitGatewayRoute
|
||||
TestAccAWSEc2TransitGatewayRouteTable
|
||||
TestAccAWSEc2TransitGatewayRouteTableDataSource
|
||||
TestAccAWSEc2TransitGatewayRouteTablePropagation
|
||||
TestAccAWSEc2TransitGatewayVpcAttachment_basic
|
||||
TestAccAWSEc2TransitGatewayVpcAttachment_disappears
|
||||
TestAccAWSEc2TransitGatewayVpcAttachmentAccepter
|
||||
TestAccAWSEc2TransitGatewayVpcAttachment_ApplianceModeSupport
|
||||
TestAccAWSEc2TransitGatewayVpcAttachment_basic
|
||||
TestAccAWSEc2TransitGatewayVpcAttachmentDataSource
|
||||
TestAccAWSEc2TransitGatewayVpcAttachment_disappears
|
||||
TestAccAWSEc2TransitGatewayVpcAttachment_DnsSupport
|
||||
TestAccAWSEc2TransitGatewayVpcAttachment_SharedTransitGateway
|
||||
TestAccAWSEc2TransitGatewayVpcAttachmentAccepter
|
||||
TestAccAWSEc2TransitGatewayVpcAttachmentDataSource
|
||||
TestAccAWSEc2TransitGatewayVpnAttachmentDataSource
|
||||
TestAccAWSEc2TransitGatewayPeeringAttachment
|
||||
TestAccAWSEc2TransitGatewayPeeringAttachmentDataSource
|
||||
TestAccAWSEcrLifecyclePolicy
|
||||
TestAccAWSEcrRegistryPolicy
|
||||
TestAccAWSEcrReplicationConfiguration
|
||||
TestAccAWSEcrRepository
|
||||
TestAccAWSEcrRepositoryDataSource
|
||||
TestAccAWSEcrRepositoryPolicy
|
||||
TestAccAWSEgressOnlyInternetGateway
|
||||
TestAccAWSElasticBeanstalkSolutionStackDataSource
|
||||
TestAccAWSElbHostedZoneId
|
||||
TestAccAWSElbServiceAccount
|
||||
TestAccAWSENI_basic
|
||||
TestAccAWSENI_disappears
|
||||
TestAccAWSENI_IPv6
|
||||
TestAccAWSENI_PrivateIpsCount
|
||||
TestAccAWSENI_SourceDestCheck
|
||||
TestAccAWSENI_Tags
|
||||
TestAccAWSFms
|
||||
TestAccAWSGroupMembership
|
||||
TestAccAWSIAMAccountAlias
|
||||
TestAccAWSIAMGroup_
|
||||
TestAccAWSIAMGroupPolicy
|
||||
TestAccAWSIAMGroupPolicyAttachment
|
||||
TestAccAWSIAMOpenIDConnectProvider
|
||||
TestAccAWSIAMPolicy_
|
||||
TestAccAWSIAMRole
|
||||
TestAccAWSIAMRolePolicy
|
||||
TestAccAWSIAMUserPolicy
|
||||
TestAccAWSInternetGateway
|
||||
TestAccAWSIotEndpointDataSource
|
||||
TestAccAWSIotThing
|
||||
TestAccAWSIPRanges
|
||||
@ -82,54 +98,33 @@ TestAccAWSKinesisStream
|
||||
TestAccAWSKmsAlias
|
||||
TestAccAWSKmsSecretDataSource
|
||||
TestAccAWSMq
|
||||
TestAccAWSNatGateway
|
||||
TestAccAWSPartition
|
||||
TestAccAWSProvider
|
||||
TestAccAWSRedshiftServiceAccount
|
||||
TestAccAWSRolePolicyAttachment
|
||||
TestAccAWSRouteTable_
|
||||
TestAccAWSRouteTableAssociation_
|
||||
TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
|
||||
TestAccAWSS3BucketPolicy
|
||||
TestAccAWSS3BucketPublicAccessBlock
|
||||
TestAccAWSS3ObjectCopy
|
||||
TestAccAWSSageMakerPrebuiltECRImage
|
||||
TestAccAWSSecurityGroup_
|
||||
TestAccAWSSecurityGroupRule_
|
||||
TestAccAWSServiceDiscovery
|
||||
TestAccAWSSNSSMSPreferences
|
||||
TestAccAWSSNSTopicPolicy
|
||||
TestAccAWSSageMakerPrebuiltECRImage
|
||||
TestAccAWSServiceDiscovery
|
||||
TestAccAWSSQSQueuePolicy
|
||||
TestAccAWSSSMDocument
|
||||
TestValidateSSMDocumentPermissions
|
||||
TestAccAWSSsmDocumentDataSource
|
||||
TestAccAWSSsmParameterDataSource
|
||||
TestAccAWSUserGroupMembership
|
||||
TestAccAWSUserPolicyAttachment
|
||||
TestAccAWSUserSSHKey
|
||||
TestAccAWSVpc_
|
||||
TestAccAWSAPIGatewayGatewayResponse
|
||||
TestAccAWSAPIGatewayStage
|
||||
TestAccAWSSsmDocumentDataSource
|
||||
TestAccAwsEc2ManagedPrefixList
|
||||
TestAccAWSEgressOnlyInternetGateway
|
||||
TestAccAWSSecurityGroup_
|
||||
TestAccAWSInternetGateway
|
||||
TestAccAWSSecurityGroupRule_
|
||||
TestAccAWSVpcEndpointService
|
||||
TestAccAWSVpnGateway
|
||||
TestAccAWSVpnGatewayAttachment
|
||||
TestAccAWSEc2CarrierGateway
|
||||
TestAccDataSourceAwsNetworkInterface_
|
||||
TestAccAWSNatGateway
|
||||
TestAccAWSRouteTable_
|
||||
TestAccAWSRouteTableAssociation_
|
||||
TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
|
||||
TestAccAWSENI_PrivateIpsCount
|
||||
TestAccAWSENI_SourceDestCheck
|
||||
TestAccAWSENI_Tags
|
||||
TestAccAWSENI_basic
|
||||
TestAccAWSENI_IPv6
|
||||
TestAccAWSENI_disappears
|
||||
TestAccAWSS3BucketPolicy
|
||||
TestAccAWSS3BucketPublicAccessBlock
|
||||
TestAccAWSS3ObjectCopy
|
||||
TestAccAWSIAMPolicy_
|
||||
TestAccAWSIAMGroup_
|
||||
TestAccAWSIAMRolePolicy
|
||||
TestAccAWSIAMUserPolicy
|
||||
TestAccAWSIAMGroupPolicy
|
||||
TestAccAWSDataSourceIAMRole
|
||||
TestAccAWSDataSourceIAMUser
|
||||
TestAccAWSIAMAccountAlias
|
||||
TestAccAWSIAMOpenIDConnectProvider
|
||||
TestAccAWSVpcEndpointService
|
||||
TestValidateSSMDocumentPermissions
|
||||
|
Loading…
Reference in New Issue
Block a user