aws_codeseeder.services
Submodules
Package Contents
Functions
|
|
|
|
|
get_sts_info _summary_ |
|
|
|
Run function with decorrelated Jitter. |
- aws_codeseeder.services.boto3_client(service_name: Literal[cloudformation], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) mypy_boto3_cloudformation.CloudFormationClient
- aws_codeseeder.services.boto3_client(service_name: Literal[cloudwatch], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) mypy_boto3_cloudwatch.CloudWatchClient
- aws_codeseeder.services.boto3_client(service_name: Literal[codebuild], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) mypy_boto3_codebuild.CodeBuildClient
- aws_codeseeder.services.boto3_client(service_name: Literal[iam], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) mypy_boto3_iam.IAMClient
- aws_codeseeder.services.boto3_client(service_name: Literal[logs], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) mypy_boto3_logs.CloudWatchLogsClient
- aws_codeseeder.services.boto3_client(service_name: Literal[s3], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) mypy_boto3_s3.S3Client
- aws_codeseeder.services.boto3_client(service_name: Literal[sts], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) mypy_boto3_sts.STSClient
- aws_codeseeder.services.boto3_client(service_name: str, session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) botocore.client.BaseClient
- aws_codeseeder.services.boto3_resource(service_name: Literal[iam], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) mypy_boto3_iam.IAMServiceResource
- aws_codeseeder.services.boto3_resource(service_name: Literal[s3], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) mypy_boto3_s3.S3ServiceResource
- aws_codeseeder.services.boto3_resource(service_name: str, session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = ...) boto3.resources.base.ServiceResource
- aws_codeseeder.services.get_region(session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = None) str
- aws_codeseeder.services.get_sts_info(session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = None) Tuple[str, str, str]
get_sts_info _summary_
- Parameters
session (Optional[Union[Callable[[], boto3.Session], boto3.Session]], optional) – _description_, by default None
- Returns
returns the account id, role arn, and aws partition of the session provided
- Return type
Tuple[str, str, str]
- aws_codeseeder.services.set_boto3_session(session: boto3.Session) None
- aws_codeseeder.services.try_it(f: Callable[Ellipsis, Any], ex: Any, base: float = 1.0, max_num_tries: int = 3, **kwargs: Any) Any
Run function with decorrelated Jitter.
Reference: https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/