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 ApplicationSummaryTypeDef
  2. See ResponseMetadataTypeDef

PutApplicationPolicyResponseTypeDef#

# PutApplicationPolicyResponseTypeDef definition

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

CreateApplicationVersionResponseTypeDef#

# CreateApplicationVersionResponseTypeDef definition

class CreateApplicationVersionResponseTypeDef(TypedDict):
    ApplicationId: str,
    CreationTime: str,
    ParameterDefinitions: List[ParameterDefinitionTypeDef],  # (1)
    RequiredCapabilities: List[CapabilityType],  # (2)
    ResourcesSupported: bool,
    SemanticVersion: str,
    SourceCodeArchiveUrl: str,
    SourceCodeUrl: str,
    TemplateUrl: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ParameterDefinitionTypeDef
  2. See CapabilityType
  3. See ResponseMetadataTypeDef

VersionTypeDef#

# VersionTypeDef definition

class VersionTypeDef(TypedDict):
    ApplicationId: str,
    CreationTime: str,
    ParameterDefinitions: List[ParameterDefinitionTypeDef],  # (1)
    RequiredCapabilities: List[CapabilityType],  # (2)
    ResourcesSupported: bool,
    SemanticVersion: str,
    TemplateUrl: str,
    SourceCodeArchiveUrl: NotRequired[str],
    SourceCodeUrl: NotRequired[str],
  1. See ParameterDefinitionTypeDef
  2. See CapabilityType

ListApplicationDependenciesRequestListApplicationDependenciesPaginateTypeDef#

# ListApplicationDependenciesRequestListApplicationDependenciesPaginateTypeDef definition

class ListApplicationDependenciesRequestListApplicationDependenciesPaginateTypeDef(TypedDict):
    ApplicationId: str,
    SemanticVersion: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListApplicationVersionsRequestListApplicationVersionsPaginateTypeDef#

# ListApplicationVersionsRequestListApplicationVersionsPaginateTypeDef definition

class ListApplicationVersionsRequestListApplicationVersionsPaginateTypeDef(TypedDict):
    ApplicationId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListApplicationsRequestListApplicationsPaginateTypeDef#

# ListApplicationsRequestListApplicationsPaginateTypeDef definition

class ListApplicationsRequestListApplicationsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListApplicationVersionsResponseTypeDef#

# ListApplicationVersionsResponseTypeDef definition

class ListApplicationVersionsResponseTypeDef(TypedDict):
    Versions: List[VersionSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See VersionSummaryTypeDef
  2. See ResponseMetadataTypeDef

RollbackConfigurationTypeDef#

# RollbackConfigurationTypeDef definition

class RollbackConfigurationTypeDef(TypedDict):
    MonitoringTimeInMinutes: NotRequired[int],
    RollbackTriggers: NotRequired[Sequence[RollbackTriggerTypeDef]],  # (1)
  1. See RollbackTriggerTypeDef

PutApplicationPolicyRequestRequestTypeDef#

# PutApplicationPolicyRequestRequestTypeDef definition

class PutApplicationPolicyRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    Statements: Sequence[ApplicationPolicyStatementUnionTypeDef],  # (1)
  1. See ApplicationPolicyStatementTypeDef ApplicationPolicyStatementOutputTypeDef

CreateApplicationResponseTypeDef#

# CreateApplicationResponseTypeDef definition

class CreateApplicationResponseTypeDef(TypedDict):
    ApplicationId: str,
    Author: str,
    CreationTime: str,
    Description: str,
    HomePageUrl: str,
    IsVerifiedAuthor: bool,
    Labels: List[str],
    LicenseUrl: str,
    Name: str,
    ReadmeUrl: str,
    SpdxLicenseId: str,
    VerifiedAuthorUrl: str,
    Version: VersionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VersionTypeDef
  2. See ResponseMetadataTypeDef

GetApplicationResponseTypeDef#

# GetApplicationResponseTypeDef definition

class GetApplicationResponseTypeDef(TypedDict):
    ApplicationId: str,
    Author: str,
    CreationTime: str,
    Description: str,
    HomePageUrl: str,
    IsVerifiedAuthor: bool,
    Labels: List[str],
    LicenseUrl: str,
    Name: str,
    ReadmeUrl: str,
    SpdxLicenseId: str,
    VerifiedAuthorUrl: str,
    Version: VersionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VersionTypeDef
  2. See ResponseMetadataTypeDef

UpdateApplicationResponseTypeDef#

# UpdateApplicationResponseTypeDef definition

class UpdateApplicationResponseTypeDef(TypedDict):
    ApplicationId: str,
    Author: str,
    CreationTime: str,
    Description: str,
    HomePageUrl: str,
    IsVerifiedAuthor: bool,
    Labels: List[str],
    LicenseUrl: str,
    Name: str,
    ReadmeUrl: str,
    SpdxLicenseId: str,
    VerifiedAuthorUrl: str,
    Version: VersionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VersionTypeDef
  2. See ResponseMetadataTypeDef

CreateCloudFormationChangeSetRequestRequestTypeDef#

# CreateCloudFormationChangeSetRequestRequestTypeDef definition

class CreateCloudFormationChangeSetRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    StackName: str,
    Capabilities: NotRequired[Sequence[str]],
    ChangeSetName: NotRequired[str],
    ClientToken: NotRequired[str],
    Description: NotRequired[str],
    NotificationArns: NotRequired[Sequence[str]],
    ParameterOverrides: NotRequired[Sequence[ParameterValueTypeDef]],  # (1)
    ResourceTypes: NotRequired[Sequence[str]],
    RollbackConfiguration: NotRequired[RollbackConfigurationTypeDef],  # (2)
    SemanticVersion: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
    TemplateId: NotRequired[str],
  1. See ParameterValueTypeDef
  2. See RollbackConfigurationTypeDef
  3. See TagTypeDef