import click
import boto3
#import botocore

@click.command()
#@click.argument('file_name')
@click.argument('bucket_name', default='bucket-psr-jupyter')
def main(bucket_name):
    s3 = boto3.client('s3')
    website_configuration = {
    'ErrorDocument': {'Key': 'error.html'},
    'IndexDocument': {'Suffix': 'index.html'},
    }
    s3.put_bucket_website(
        Bucket='bucket_name',
        WebsiteConfiguration=website_configuration
    )
if __name__ == "__main__":
    main()


ac94d525eac55d12306371ac5f23d3a815d7a887
<mask token>

<mask token>


@click.command()
@click.argument('bucket_name', default='bucket-psr-jupyter')
def main(bucket_name):
    s3 = boto3.client('s3')
    website_configuration = {'ErrorDocument': {'Key': 'error.html'},
        'IndexDocument': {'Suffix': 'index.html'}}
    s3.put_bucket_website(Bucket='bucket_name', WebsiteConfiguration=
        website_configuration)


<mask token>

<mask token>


@click.command()
@click.argument('bucket_name', default='bucket-psr-jupyter')
def main(bucket_name):
    s3 = boto3.client('s3')
    website_configuration = {'ErrorDocument': {'Key': 'error.html'},
        'IndexDocument': {'Suffix': 'index.html'}}
    s3.put_bucket_website(Bucket='bucket_name', WebsiteConfiguration=
        website_configuration)


if __name__ == '__main__':
    main()

import click
import boto3


@click.command()
@click.argument('bucket_name', default='bucket-psr-jupyter')
def main(bucket_name):
    s3 = boto3.client('s3')
    website_configuration = {'ErrorDocument': {'Key': 'error.html'},
        'IndexDocument': {'Suffix': 'index.html'}}
    s3.put_bucket_website(Bucket='bucket_name', WebsiteConfiguration=
        website_configuration)


if __name__ == '__main__':
    main()

import click
import boto3
#import botocore

@click.command()
#@click.argument('file_name')
@click.argument('bucket_name', default='bucket-psr-jupyter')
def main(bucket_name):
    s3 = boto3.client('s3')
    website_configuration = {
    'ErrorDocument': {'Key': 'error.html'},
    'IndexDocument': {'Suffix': 'index.html'},
    }
    s3.put_bucket_website(
        Bucket='bucket_name',
        WebsiteConfiguration=website_configuration
    )
if __name__ == "__main__":
    main()

