Skip to content

Type definitions#

Index > ServerlessApplicationRepository > Type definitions

Auto-generated documentation for ServerlessApplicationRepository type annotations stubs module mypy-boto3-serverlessrepo.

ApplicationPolicyStatementUnionTypeDef#

# ApplicationPolicyStatementUnionTypeDef definition

ApplicationPolicyStatementUnionTypeDef = Union[
    ApplicationPolicyStatementTypeDef,  # (1)
    ApplicationPolicyStatementOutputTypeDef,  # (2)
]
  1. See ApplicationPolicyStatementTypeDef
  2. See ApplicationPolicyStatementOutputTypeDef

ApplicationDependencySummaryTypeDef#

# ApplicationDependencySummaryTypeDef definition

class ApplicationDependencySummaryTypeDef(TypedDict):
    ApplicationId: str,
    SemanticVersion: str,

ApplicationPolicyStatementOutputTypeDef#

# ApplicationPolicyStatementOutputTypeDef definition

class ApplicationPolicyStatementOutputTypeDef(TypedDict):
    Actions: List[str],
    Principals: List[str],
    PrincipalOrgIDs: NotRequired[List[str]],
    StatementId: NotRequired[str],

ApplicationPolicyStatementTypeDef#

# ApplicationPolicyStatementTypeDef definition

class ApplicationPolicyStatementTypeDef(TypedDict):
    Actions: Sequence[str],
    Principals: Sequence[str],
    PrincipalOrgIDs: NotRequired[Sequence[str]],
    StatementId: NotRequired[str],

ApplicationSummaryTypeDef#

# ApplicationSummaryTypeDef definition

class ApplicationSummaryTypeDef(TypedDict):
    ApplicationId: str,
    Author: str,
    Description: str,
    Name: str,
    CreationTime: NotRequired[str],
    HomePageUrl: NotRequired[str],
    Labels: NotRequired[List[str]],
    SpdxLicenseId: NotRequired[str],

CreateApplicationRequestRequestTypeDef#

# CreateApplicationRequestRequestTypeDef definition

class CreateApplicationRequestRequestTypeDef(TypedDict):
    Author: str,
    Description: str,
    Name: str,
    HomePageUrl: NotRequired[str],
    Labels: NotRequired[Sequence[str]],
    LicenseBody: NotRequired[str],
    LicenseUrl: NotRequired[str],
    ReadmeBody: NotRequired[str],
    ReadmeUrl: NotRequired[str],
    SemanticVersion: NotRequired[str],
    SourceCodeArchiveUrl: NotRequired[str],
    SourceCodeUrl: NotRequired[str],
    SpdxLicenseId: NotRequired[str],
    TemplateBody: NotRequired[str],
    TemplateUrl: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CreateApplicationVersionRequestRequestTypeDef#

# CreateApplicationVersionRequestRequestTypeDef definition

class CreateApplicationVersionRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    SemanticVersion: str,
    SourceCodeArchiveUrl: NotRequired[str],
    SourceCodeUrl: NotRequired[str],
    TemplateBody: NotRequired[str],
    TemplateUrl: NotRequired[str],

ParameterDefinitionTypeDef#

# ParameterDefinitionTypeDef definition

class ParameterDefinitionTypeDef(TypedDict):
    Name: str,
    ReferencedByResources: List[str],
    AllowedPattern: NotRequired[str],
    AllowedValues: NotRequired[List[str]],
    ConstraintDescription: NotRequired[str],
    DefaultValue: NotRequired[str],
    Description: NotRequired[str],
    MaxLength: NotRequired[int],
    MaxValue: NotRequired[int],
    MinLength: NotRequired[int],
    MinValue: NotRequired[int],
    NoEcho: NotRequired[bool],
    Type: NotRequired[str],

ParameterValueTypeDef#

# ParameterValueTypeDef definition

class ParameterValueTypeDef(TypedDict):
    Name: str,
    Value: str,

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

CreateCloudFormationTemplateRequestRequestTypeDef#

# CreateCloudFormationTemplateRequestRequestTypeDef definition

class CreateCloudFormationTemplateRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    SemanticVersion: NotRequired[str],

DeleteApplicationRequestRequestTypeDef#

# DeleteApplicationRequestRequestTypeDef definition

class DeleteApplicationRequestRequestTypeDef(TypedDict):
    ApplicationId: str,

GetApplicationPolicyRequestRequestTypeDef#

# GetApplicationPolicyRequestRequestTypeDef definition

class GetApplicationPolicyRequestRequestTypeDef(TypedDict):
    ApplicationId: str,

GetApplicationRequestRequestTypeDef#

# GetApplicationRequestRequestTypeDef definition

class GetApplicationRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    SemanticVersion: NotRequired[str],

GetCloudFormationTemplateRequestRequestTypeDef#

# GetCloudFormationTemplateRequestRequestTypeDef definition

class GetCloudFormationTemplateRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    TemplateId: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListApplicationDependenciesRequestRequestTypeDef#

# ListApplicationDependenciesRequestRequestTypeDef definition

class ListApplicationDependenciesRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    MaxItems: NotRequired[int],
    NextToken: NotRequired[str],
    SemanticVersion: NotRequired[str],

ListApplicationVersionsRequestRequestTypeDef#

# ListApplicationVersionsRequestRequestTypeDef definition

class ListApplicationVersionsRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    MaxItems: NotRequired[int],
    NextToken: NotRequired[str],

VersionSummaryTypeDef#

# VersionSummaryTypeDef definition

class VersionSummaryTypeDef(TypedDict):
    ApplicationId: str,
    CreationTime: str,
    SemanticVersion: str,
    SourceCodeUrl: NotRequired[str],

ListApplicationsRequestRequestTypeDef#

# ListApplicationsRequestRequestTypeDef definition

class ListApplicationsRequestRequestTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    NextToken: NotRequired[str],

RollbackTriggerTypeDef#

# RollbackTriggerTypeDef definition

class RollbackTriggerTypeDef(TypedDict):
    Arn: str,
    Type: str,

UnshareApplicationRequestRequestTypeDef#

# UnshareApplicationRequestRequestTypeDef definition

class UnshareApplicationRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    OrganizationId: str,

UpdateApplicationRequestRequestTypeDef#

# UpdateApplicationRequestRequestTypeDef definition

class UpdateApplicationRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    Author: NotRequired[str],
    Description: NotRequired[str],
    HomePageUrl: NotRequired[str],
    Labels: NotRequired[Sequence[str]],
    ReadmeBody: NotRequired[str],
    ReadmeUrl: NotRequired[str],

CreateCloudFormationChangeSetResponseTypeDef#

# CreateCloudFormationChangeSetResponseTypeDef definition

class CreateCloudFormationChangeSetResponseTypeDef(TypedDict):
    ApplicationId: str,
    ChangeSetId: str,
    SemanticVersion: str,
    StackId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateCloudFormationTemplateResponseTypeDef#

# CreateCloudFormationTemplateResponseTypeDef definition

class CreateCloudFormationTemplateResponseTypeDef(TypedDict):
    ApplicationId: str,
    CreationTime: str,
    ExpirationTime: str,
    SemanticVersion: str,
    Status: StatusType,  # (1)
    TemplateId: str,
    TemplateUrl: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StatusType
  2. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetApplicationPolicyResponseTypeDef#

# GetApplicationPolicyResponseTypeDef definition

class GetApplicationPolicyResponseTypeDef(TypedDict):
    Statements: List[ApplicationPolicyStatementOutputTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApplicationPolicyStatementOutputTypeDef
  2. See ResponseMetadataTypeDef

GetCloudFormationTemplateResponseTypeDef#

# GetCloudFormationTemplateResponseTypeDef definition

class GetCloudFormationTemplateResponseTypeDef(TypedDict):
    ApplicationId: str,
    CreationTime: str,
    ExpirationTime: str,
    SemanticVersion: str,
    Status: StatusType,  # (1)
    TemplateId: str,
    TemplateUrl: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StatusType
  2. See ResponseMetadataTypeDef

ListApplicationDependenciesResponseTypeDef#

# ListApplicationDependenciesResponseTypeDef definition

class ListApplicationDependenciesResponseTypeDef(TypedDict):
    Dependencies: List[ApplicationDependencySummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ApplicationDependencySummaryTypeDef
  2. See ResponseMetadataTypeDef

ListApplicationsResponseTypeDef#

# ListApplicationsResponseTypeDef definition

class ListApplicationsResponseTypeDef(TypedDict):
    Applications: List[ApplicationSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See