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)
]
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)
CreateCloudFormationTemplateResponseTypeDef#
# CreateCloudFormationTemplateResponseTypeDef definition
class CreateCloudFormationTemplateResponseTypeDef(TypedDict):
ApplicationId: str,
CreationTime: str,
ExpirationTime: str,
SemanticVersion: str,
Status: StatusType, # (1)
TemplateId: str,
TemplateUrl: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See StatusType
- See ResponseMetadataTypeDef
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetApplicationPolicyResponseTypeDef#
# GetApplicationPolicyResponseTypeDef definition
class GetApplicationPolicyResponseTypeDef(TypedDict):
Statements: list[ApplicationPolicyStatementOutputTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetCloudFormationTemplateResponseTypeDef#
# GetCloudFormationTemplateResponseTypeDef definition
class GetCloudFormationTemplateResponseTypeDef(TypedDict):
ApplicationId: str,
CreationTime: str,
ExpirationTime: str,
SemanticVersion: str,
Status: StatusType, # (1)
TemplateId: str,
TemplateUrl: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See StatusType
- See ResponseMetadataTypeDef
ListApplicationDependenciesResponseTypeDef#
# ListApplicationDependenciesResponseTypeDef definition
class ListApplicationDependenciesResponseTypeDef(TypedDict):
Dependencies: list[ApplicationDependencySummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListApplicationsResponseTypeDef#
# ListApplicationsResponseTypeDef definition
class ListApplicationsResponseTypeDef(TypedDict):
Applications: list[ApplicationSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
PutApplicationPolicyResponseTypeDef#
# PutApplicationPolicyResponseTypeDef definition
class PutApplicationPolicyResponseTypeDef(TypedDict):
Statements: list[ApplicationPolicyStatementOutputTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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)
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],
ListApplicationDependenciesRequestPaginateTypeDef#
# ListApplicationDependenciesRequestPaginateTypeDef definition
class ListApplicationDependenciesRequestPaginateTypeDef(TypedDict):
ApplicationId: str,
SemanticVersion: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListApplicationVersionsRequestPaginateTypeDef#
# ListApplicationVersionsRequestPaginateTypeDef definition
class ListApplicationVersionsRequestPaginateTypeDef(TypedDict):
ApplicationId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListApplicationsRequestPaginateTypeDef#
# ListApplicationsRequestPaginateTypeDef definition
class ListApplicationsRequestPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListApplicationVersionsResponseTypeDef#
# ListApplicationVersionsResponseTypeDef definition
class ListApplicationVersionsResponseTypeDef(TypedDict):
Versions: list[VersionSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
RollbackConfigurationTypeDef#
# RollbackConfigurationTypeDef definition
class RollbackConfigurationTypeDef(TypedDict):
MonitoringTimeInMinutes: NotRequired[int],
RollbackTriggers: NotRequired[Sequence[RollbackTriggerTypeDef]], # (1)
PutApplicationPolicyRequestRequestTypeDef#
# PutApplicationPolicyRequestRequestTypeDef definition
class PutApplicationPolicyRequestRequestTypeDef(TypedDict):
ApplicationId: str,
Statements: Sequence[ApplicationPolicyStatementUnionTypeDef], # (1)
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)
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)
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)
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],