localstack/aws/api/s3control/__init__.py
File __init__.py
has 2268 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
from datetime import datetime
from typing import Dict, List, Optional, TypedDict
from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
S3ControlApi
has 92 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class S3ControlApi:
service = "s3control"
version = "2018-08-20"
@handler("AssociateAccessGrantsIdentityCenter")
Function create_job
has 13 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_job(
Function create_bucket
has 12 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_bucket(
Function create_access_grant
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_access_grant(
Function list_access_grants
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_access_grants(
Function create_access_point
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_access_point(
Function get_data_access
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_data_access(
Function list_access_grants_locations
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_access_grants_locations(
Function list_access_points
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_access_points(
Function list_jobs
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_jobs(
Function create_access_grants_location
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_access_grants_location(
Function put_bucket_versioning
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_bucket_versioning(
Function put_bucket_policy
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_bucket_policy(
Function update_job_status
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def update_job_status(
Function list_regional_buckets
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_regional_buckets(
Function put_storage_lens_configuration
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_storage_lens_configuration(
Function create_access_grants_instance
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_access_grants_instance(
Function delete_multi_region_access_point
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def delete_multi_region_access_point(
Function list_access_grants_instances
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_access_grants_instances(
Function create_access_point_for_object_lambda
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_access_point_for_object_lambda(
Function create_multi_region_access_point
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_multi_region_access_point(
Function create_storage_lens_group
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_storage_lens_group(
Function list_access_points_for_object_lambda
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_access_points_for_object_lambda(
Function put_access_point_configuration_for_object_lambda
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_access_point_configuration_for_object_lambda(
Function put_storage_lens_configuration_tagging
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_storage_lens_configuration_tagging(
Function put_access_point_policy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_access_point_policy(
Function tag_resource
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def tag_resource(
Function update_job_priority
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def update_job_priority(
Function put_access_point_policy_for_object_lambda
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_access_point_policy_for_object_lambda(
Function put_bucket_tagging
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_bucket_tagging(
Function list_multi_region_access_points
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_multi_region_access_points(
Function put_bucket_lifecycle_configuration
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_bucket_lifecycle_configuration(
Function put_job_tagging
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_job_tagging(
Function put_access_grants_instance_resource_policy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_access_grants_instance_resource_policy(
Function put_bucket_replication
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_bucket_replication(
Function put_multi_region_access_point_policy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def put_multi_region_access_point_policy(
Function submit_multi_region_access_point_routes
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def submit_multi_region_access_point_routes(
Function untag_resource
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def untag_resource(
Function update_storage_lens_group
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def update_storage_lens_group(
Function update_access_grants_location
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def update_access_grants_location(