Module aws_lambda_powertools.utilities.parameters.types

Expand source code
from typing import Any, Optional

from aws_lambda_powertools.shared.types import Dict, List, Literal, TypedDict

TransformOptions = Literal["json", "binary", "auto", None]


class PutParameterResponse(TypedDict):
    Version: int
    Tier: str
    ResponseMetadata: dict


class SetSecretResponse(TypedDict):
    ARN: str
    Name: str
    VersionId: str
    VersionStages: Optional[List[str]]
    ReplicationStatus: Optional[List[Dict[str, Any]]]
    ResponseMetadata: dict

Classes

class PutParameterResponse (*args, **kwargs)

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)

Expand source code
class PutParameterResponse(TypedDict):
    Version: int
    Tier: str
    ResponseMetadata: dict

Ancestors

  • builtins.dict

Class variables

var ResponseMetadata : dict
var Tier : str
var Version : int
class SetSecretResponse (*args, **kwargs)

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)

Expand source code
class SetSecretResponse(TypedDict):
    ARN: str
    Name: str
    VersionId: str
    VersionStages: Optional[List[str]]
    ReplicationStatus: Optional[List[Dict[str, Any]]]
    ResponseMetadata: dict

Ancestors

  • builtins.dict

Class variables

var ARN : str
var Name : str
var ReplicationStatus : Optional[List[Dict[str, Any]]]
var ResponseMetadata : dict
var VersionId : str
var VersionStages : Optional[List[str]]