S3 서비스
Amazon Q Developer를 사용해 S3 서비스를 위한 코드를 생성합니다.
예시 #1
버킷 생성
일반적인 프롬프트
Given a string bucket_name
and an AWS session object
Then Create a bucket with the given name
and return the bucket object if successful
otherwise return NonePython 프롬프트
VSCode에서 파일을 생성하고 이름을 s3.py로 지정하고 다음 코드를 입력합니다.
"""
Given a string bucket_name
and an AWS session object
Then Create a bucket with the given name
and return the bucket object if successful
otherwise return None
"""예시 #2
버킷 리스트 가져오기
일반적인 프롬프트
Python 프롬프트
VSCode에서 파일을 생성하고 이름을 s3.py로 지정하고 다음 코드를 입력합니다.
예시 #3
재귀적 삭제
일반적인 프롬프트
Python 프롬프트
VSCode에서 파일을 생성하고 이름을 s3.py로 지정하고 다음 코드를 입력합니다.
예시 #4
버킷 존재 여부
일반적인 프롬프트
Python 프롬프트
VSCode에서 파일을 생성하고 이름을 s3.py로 지정하고 다음 코드를 입력합니다.
Last updated