Skip to content

ProtonClient

Index > Proton > ProtonClient

Auto-generated documentation for Proton type annotations stubs module mypy-boto3-proton.

ProtonClient

Type annotations and code completion for boto3.client("proton"). boto3 documentation

Usage example
from boto3.session import Session
from mypy_boto3_proton.client import ProtonClient

def get_proton_client() -> ProtonClient:
    return Session().client("proton")

Exceptions

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("proton").exceptions structure.

Usage example
client = boto3.client("proton")

try:
    do_something(client)
except (
    client.AccessDeniedException,
    client.ClientError,
    client.ConflictException,
    client.InternalServerException,
    client.ResourceNotFoundException,
    client.ServiceQuotaExceededException,
    client.ThrottlingException,
    client.ValidationException,
) as e:
    print(e)
Type checking example
from mypy_boto3_proton.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods

accept_environment_account_connection

In a management account, an environment account connection request is accepted.

Type annotations and code completion for boto3.client("proton").accept_environment_account_connection method. boto3 documentation

Method definition
def accept_environment_account_connection(
    self,
    *,
    id: str,
) -> AcceptEnvironmentAccountConnectionOutputTypeDef:  # (1)
    ...
  1. See AcceptEnvironmentAccountConnectionOutputTypeDef
Usage example with kwargs
kwargs: AcceptEnvironmentAccountConnectionInputRequestTypeDef = {  # (1)
    "id": ...,
}

parent.accept_environment_account_connection(**kwargs)
  1. See AcceptEnvironmentAccountConnectionInputRequestTypeDef

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("proton").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

cancel_component_deployment

Attempts to cancel a component deployment (for a component that is in the IN_PROGRESS deployment status).

Type annotations and code completion for boto3.client("proton").cancel_component_deployment method. boto3 documentation

Method definition
def cancel_component_deployment(
    self,
    *,
    componentName: str,
) -> CancelComponentDeploymentOutputTypeDef:  # (1)
    ...
  1. See CancelComponentDeploymentOutputTypeDef
Usage example with kwargs
kwargs: CancelComponentDeploymentInputRequestTypeDef = {  # (1)
    "componentName": ...,
}

parent.cancel_component_deployment(**kwargs)
  1. See CancelComponentDeploymentInputRequestTypeDef

cancel_environment_deployment

Attempts to cancel an environment deployment on an UpdateEnvironment action, if the deployment is IN_PROGRESS.

Type annotations and code completion for boto3.client("proton").cancel_environment_deployment method. boto3 documentation

Method definition
def cancel_environment_deployment(
    self,
    *,
    environmentName: str,
) -> CancelEnvironmentDeploymentOutputTypeDef:  # (1)
    ...
  1. See CancelEnvironmentDeploymentOutputTypeDef
Usage example with kwargs
kwargs: CancelEnvironmentDeploymentInputRequestTypeDef = {  # (1)
    "environmentName": ...,
}

parent.cancel_environment_deployment(**kwargs)
  1. See CancelEnvironmentDeploymentInputRequestTypeDef

cancel_service_instance_deployment

Attempts to cancel a service instance deployment on an UpdateServiceInstance action, if the deployment is IN_PROGRESS.

Type annotations and code completion for boto3.client("proton").cancel_service_instance_deployment method. boto3 documentation

Method definition
def cancel_service_instance_deployment(
    self,
    *,
    serviceInstanceName: str,
    serviceName: str,
) -> CancelServiceInstanceDeploymentOutputTypeDef:  # (1)
    ...
  1. See CancelServiceInstanceDeploymentOutputTypeDef
Usage example with kwargs
kwargs: CancelServiceInstanceDeploymentInputRequestTypeDef = {  # (1)
    "serviceInstanceName": ...,
    "serviceName": ...,
}

parent.cancel_service_instance_deployment(**kwargs)
  1. See CancelServiceInstanceDeploymentInputRequestTypeDef

cancel_service_pipeline_deployment

Attempts to cancel a service pipeline deployment on an UpdateServicePipeline action, if the deployment is IN_PROGRESS.

Type annotations and code completion for boto3.client("proton").cancel_service_pipeline_deployment method. boto3 documentation

Method definition
def cancel_service_pipeline_deployment(
    self,
    *,
    serviceName: str,
) -> CancelServicePipelineDeploymentOutputTypeDef:  # (1)
    ...
  1. See CancelServicePipelineDeploymentOutputTypeDef
Usage example with kwargs
kwargs: CancelServicePipelineDeploymentInputRequestTypeDef = {  # (1)
    "serviceName": ...,
}

parent.cancel_service_pipeline_deployment(**kwargs)
  1. See CancelServicePipelineDeploymentInputRequestTypeDef

close

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("proton").close method. boto3 documentation

Method definition
def close(
    self,
) -> None:
    ...

create_component

Create an Proton component.

Type annotations and code completion for boto3.client("proton").create_component method. boto3 documentation

Method definition
def create_component(
    self,
    *,
    manifest: str,
    name: str,
    templateFile: str,
    description: str = ...,
    environmentName: str = ...,
    serviceInstanceName: str = ...,
    serviceName: str = ...,
    serviceSpec: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateComponentOutputTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateComponentOutputTypeDef
Usage example with kwargs
kwargs: CreateComponentInputRequestTypeDef = {  # (1)
    "manifest": ...,
    "name": ...,
    "templateFile": ...,
}

parent.create_component(**kwargs)
  1. See CreateComponentInputRequestTypeDef

create_environment

Deploy a new environment.

Type annotations and code completion for boto3.client("proton").create_environment method. boto3 documentation

Method definition
def create_environment(
    self,
    *,
    name: str,
    spec: str,
    templateMajorVersion: str,
    templateName: str,
    codebuildRoleArn: str = ...,
    componentRoleArn: str = ...,
    description: str = ...,
    environmentAccountConnectionId: str = ...,
    protonServiceRoleArn: str = ...,
    provisioningRepository: RepositoryBranchInputTypeDef = ...,  # (1)
    tags: Sequence[TagTypeDef] = ...,  # (2)
    templateMinorVersion: str = ...,
) -> CreateEnvironmentOutputTypeDef:  # (3)
    ...
  1. See RepositoryBranchInputTypeDef
  2. See TagTypeDef
  3. See CreateEnvironmentOutputTypeDef
Usage example with kwargs
kwargs: CreateEnvironmentInputRequestTypeDef = {  # (1)
    "name": ...,
    "spec": ...,
    "templateMajorVersion": ...,
    "templateName": ...,
}

parent.create_environment(**kwargs)
  1. See CreateEnvironmentInputRequestTypeDef

create_environment_account_connection

Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment account from a management account.

Type annotations and code completion for boto3.client("proton").create_environment_account_connection method. boto3 documentation

Method definition
def create_environment_account_connection(
    self,
    *,
    environmentName: str,
    managementAccountId: str,
    clientToken: str = ...,
    codebuildRoleArn: str = ...,
    componentRoleArn: str = ...,
    roleArn: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateEnvironmentAccountConnectionOutputTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateEnvironmentAccountConnectionOutputTypeDef
Usage example with kwargs
kwargs: CreateEnvironmentAccountConnectionInputRequestTypeDef = {  # (1)
    "environmentName": ...,
    "managementAccountId": ...,
}

parent.create_environment_account_connection(**kwargs)
  1. See CreateEnvironmentAccountConnectionInputRequestTypeDef

create_environment_template

Create an environment template for Proton.

Type annotations and code completion for boto3.client("proton").create_environment_template method. boto3 documentation

Method definition
def create_environment_template(
    self,
    *,
    name: str,
    description: str = ...,
    displayName: str = ...,
    encryptionKey: str = ...,
    provisioning: ProvisioningType = ...,  # (1)
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateEnvironmentTemplateOutputTypeDef:  # (3)
    ...
  1. See ProvisioningType
  2. See TagTypeDef
  3. See CreateEnvironmentTemplateOutputTypeDef
Usage example with kwargs
kwargs: CreateEnvironmentTemplateInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_environment_template(**kwargs)
  1. See CreateEnvironmentTemplateInputRequestTypeDef

create_environment_template_version

Create a new major or minor version of an environment template.

Type annotations and code completion for boto3.client("proton").create_environment_template_version method. boto3 documentation

Method definition
def create_environment_template_version(
    self,
    *,
    source: TemplateVersionSourceInputTypeDef,  # (1)
    templateName: str,
    clientToken: str = ...,
    description: str = ...,
    majorVersion: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateEnvironmentTemplateVersionOutputTypeDef:  # (3)
    ...
  1. See TemplateVersionSourceInputTypeDef
  2. See TagTypeDef
  3. See CreateEnvironmentTemplateVersionOutputTypeDef
Usage example with kwargs
kwargs: CreateEnvironmentTemplateVersionInputRequestTypeDef = {  # (1)
    "source": ...,
    "templateName": ...,
}

parent.create_environment_template_version(**kwargs)
  1. See CreateEnvironmentTemplateVersionInputRequestTypeDef

create_repository

Create and register a link to a repository.

Type annotations and code completion for boto3.client("proton").create_repository method. boto3 documentation

Method definition
def create_repository(
    self,
    *,
    connectionArn: str,
    name: str,
    provider: RepositoryProviderType,  # (1)
    encryptionKey: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateRepositoryOutputTypeDef:  # (3)
    ...
  1. See RepositoryProviderType
  2. See TagTypeDef
  3. See CreateRepositoryOutputTypeDef
Usage example with kwargs
kwargs: CreateRepositoryInputRequestTypeDef = {  # (1)
    "connectionArn": ...,
    "name": ...,
    "provider": ...,
}

parent.create_repository(**kwargs)
  1. See CreateRepositoryInputRequestTypeDef

create_service

Create an Proton service.

Type annotations and code completion for boto3.client("proton").create_service method. boto3 documentation

Method definition
def create_service(
    self,
    *,
    name: str,
    spec: str,
    templateMajorVersion: str,
    templateName: str,
    branchName: str = ...,
    description: str = ...,
    repositoryConnectionArn: str = ...,
    repositoryId: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (1)
    templateMinorVersion: str = ...,
) -> CreateServiceOutputTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateServiceOutputTypeDef
Usage example with kwargs
kwargs: CreateServiceInputRequestTypeDef = {  # (1)
    "name": ...,
    "spec": ...,
    "templateMajorVersion": ...,
    "templateName": ...,
}

parent.create_service(**kwargs)
  1. See CreateServiceInputRequestTypeDef

create_service_template

Create a service template.

Type annotations and code completion for boto3.client("proton").create_service_template method. boto3 documentation

Method definition
def create_service_template(
    self,
    *,
    name: str,
    description: str = ...,
    displayName: str = ...,
    encryptionKey: str = ...,
    pipelineProvisioning: ProvisioningType = ...,  # (1)
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateServiceTemplateOutputTypeDef:  # (3)
    ...
  1. See ProvisioningType
  2. See TagTypeDef
  3. See CreateServiceTemplateOutputTypeDef
Usage example with kwargs
kwargs: CreateServiceTemplateInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_service_template(**kwargs)
  1. See CreateServiceTemplateInputRequestTypeDef

create_service_template_version

Create a new major or minor version of a service template.

Type annotations and code completion for boto3.client("proton").create_service_template_version method. boto3 documentation

Method definition
def create_service_template_version(
    self,
    *,
    compatibleEnvironmentTemplates: Sequence[CompatibleEnvironmentTemplateInputTypeDef],  # (1)
    source: TemplateVersionSourceInputTypeDef,  # (2)
    templateName: str,
    clientToken: str = ...,
    description: str = ...,
    majorVersion: str = ...,
    supportedComponentSources: Sequence[ServiceTemplateSupportedComponentSourceTypeType] = ...,  # (3)
    tags: Sequence[TagTypeDef] = ...,  # (4)
) -> CreateServiceTemplateVersionOutputTypeDef:  # (5)
    ...
  1. See CompatibleEnvironmentTemplateInputTypeDef
  2. See TemplateVersionSourceInputTypeDef
  3. See ServiceTemplateSupportedComponentSourceTypeType
  4. See TagTypeDef
  5. See CreateServiceTemplateVersionOutputTypeDef
Usage example with kwargs
kwargs: CreateServiceTemplateVersionInputRequestTypeDef = {  # (1)
    "compatibleEnvironmentTemplates": ...,
    "source": ...,
    "templateName": ...,
}

parent.create_service_template_version(**kwargs)
  1. See CreateServiceTemplateVersionInputRequestTypeDef

create_template_sync_config

Set up a template to create new template versions automatically by tracking a linked repository.

Type annotations and code completion for boto3.client("proton").create_template_sync_config method. boto3 documentation

Method definition
def create_template_sync_config(
    self,
    *,
    branch: str,
    repositoryName: str,
    repositoryProvider: RepositoryProviderType,  # (1)
    templateName: str,
    templateType: TemplateTypeType,  # (2)
    subdirectory: str = ...,
) -> CreateTemplateSyncConfigOutputTypeDef:  # (3)
    ...
  1. See RepositoryProviderType
  2. See TemplateTypeType
  3. See CreateTemplateSyncConfigOutputTypeDef
Usage example with kwargs
kwargs: CreateTemplateSyncConfigInputRequestTypeDef = {  # (1)
    "branch": ...,
    "repositoryName": ...,
    "repositoryProvider": ...,
    "templateName": ...,
    "templateType": ...,
}

parent.create_template_sync_config(**kwargs)
  1. See CreateTemplateSyncConfigInputRequestTypeDef

delete_component

Delete an Proton component resource.

Type annotations and code completion for boto3.client("proton").delete_component method. boto3 documentation

Method definition
def delete_component(
    self,
    *,
    name: str,
) -> DeleteComponentOutputTypeDef:  # (1)
    ...
  1. See DeleteComponentOutputTypeDef
Usage example with kwargs
kwargs: DeleteComponentInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.delete_component(**kwargs)
  1. See DeleteComponentInputRequestTypeDef

delete_environment

Delete an environment.

Type annotations and code completion for boto3.client("proton").delete_environment method. boto3 documentation

Method definition
def delete_environment(
    self,
    *,
    name: str,
) -> DeleteEnvironmentOutputTypeDef:  # (1)
    ...
  1. See DeleteEnvironmentOutputTypeDef
Usage example with kwargs
kwargs: DeleteEnvironmentInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.delete_environment(**kwargs)
  1. See DeleteEnvironmentInputRequestTypeDef

delete_environment_account_connection

In an environment account, delete an environment account connection.

Type annotations and code completion for boto3.client("proton").delete_environment_account_connection method. boto3 documentation

Method definition
def delete_environment_account_connection(
    self,
    *,
    id: str,
) -> DeleteEnvironmentAccountConnectionOutputTypeDef:  # (1)
    ...
  1. See DeleteEnvironmentAccountConnectionOutputTypeDef
Usage example with kwargs
kwargs: DeleteEnvironmentAccountConnectionInputRequestTypeDef = {  # (1)
    "id": ...,
}

parent.delete_environment_account_connection(**kwargs)
  1. See DeleteEnvironmentAccountConnectionInputRequestTypeDef

delete_environment_template

If no other major or minor versions of an environment template exist, delete the environment template.

Type annotations and code completion for boto3.client("proton").delete_environment_template method. boto3 documentation

Method definition
def delete_environment_template(
    self,
    *,
    name: str,
) -> DeleteEnvironmentTemplateOutputTypeDef:  # (1)
    ...
  1. See DeleteEnvironmentTemplateOutputTypeDef
Usage example with kwargs
kwargs: DeleteEnvironmentTemplateInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.delete_environment_template(**kwargs)
  1. See DeleteEnvironmentTemplateInputRequestTypeDef

delete_environment_template_version

If no other minor versions of an environment template exist, delete a major version of the environment template if it's not the Recommended version.

Type annotations and code completion for boto3.client("proton").delete_environment_template_version method. boto3 documentation

Method definition
def delete_environment_template_version(
    self,
    *,
    majorVersion: str,
    minorVersion: str,
    templateName: str,
) -> DeleteEnvironmentTemplateVersionOutputTypeDef:  # (1)
    ...
  1. See DeleteEnvironmentTemplateVersionOutputTypeDef
Usage example with kwargs
kwargs: DeleteEnvironmentTemplateVersionInputRequestTypeDef = {  # (1)
    "majorVersion": ...,
    "minorVersion": ...,
    "templateName": ...,
}

parent.delete_environment_template_version(**kwargs)
  1. See DeleteEnvironmentTemplateVersionInputRequestTypeDef

delete_repository

De-register and unlink your repository.

Type annotations and code completion for boto3.client("proton").delete_repository method. boto3 documentation

Method definition
def delete_repository(
    self,
    *,
    name: str,
    provider: RepositoryProviderType,  # (1)
) -> DeleteRepositoryOutputTypeDef:  # (2)
    ...
  1. See RepositoryProviderType
  2. See DeleteRepositoryOutputTypeDef
Usage example with kwargs
kwargs: DeleteRepositoryInputRequestTypeDef = {  # (1)
    "name": ...,
    "provider": ...,
}

parent.delete_repository(**kwargs)
  1. See DeleteRepositoryInputRequestTypeDef

delete_service

Delete a service, with its instances and pipeline.

Type annotations and code completion for boto3.client("proton").delete_service method. boto3 documentation

Method definition
def delete_service(
    self,
    *,
    name: str,
) -> DeleteServiceOutputTypeDef:  # (1)
    ...
  1. See DeleteServiceOutputTypeDef
Usage example with kwargs
kwargs: DeleteServiceInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.delete_service(**kwargs)
  1. See DeleteServiceInputRequestTypeDef

delete_service_template

If no other major or minor versions of the service template exist, delete the service template.

Type annotations and code completion for boto3.client("proton").delete_service_template method. boto3 documentation

Method definition
def delete_service_template(
    self,
    *,
    name: str,
) -> DeleteServiceTemplateOutputTypeDef:  # (1)
    ...
  1. See DeleteServiceTemplateOutputTypeDef
Usage example with kwargs
kwargs: DeleteServiceTemplateInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.delete_service_template(**kwargs)
  1. See DeleteServiceTemplateInputRequestTypeDef

delete_service_template_version

If no other minor versions of a service template exist, delete a major version of the service template if it's not the Recommended version.

Type annotations and code completion for boto3.client("proton").delete_service_template_version method. boto3 documentation

Method definition
def delete_service_template_version(
    self,
    *,
    majorVersion: str,
    minorVersion: str,
    templateName: str,
) -> DeleteServiceTemplateVersionOutputTypeDef:  # (1)
    ...
  1. See DeleteServiceTemplateVersionOutputTypeDef
Usage example with kwargs
kwargs: DeleteServiceTemplateVersionInputRequestTypeDef = {  # (1)
    "majorVersion": ...,
    "minorVersion": ...,
    "templateName": ...,
}

parent.delete_service_template_version(**kwargs)
  1. See DeleteServiceTemplateVersionInputRequestTypeDef

delete_template_sync_config

Delete a template sync configuration.

Type annotations and code completion for boto3.client("proton").delete_template_sync_config method. boto3 documentation

Method definition
def delete_template_sync_config(
    self,
    *,
    templateName: str,
    templateType: TemplateTypeType,  # (1)
) -> DeleteTemplateSyncConfigOutputTypeDef:  # (2)
    ...
  1. See TemplateTypeType
  2. See DeleteTemplateSyncConfigOutputTypeDef
Usage example with kwargs
kwargs: DeleteTemplateSyncConfigInputRequestTypeDef = {  # (1)
    "templateName": ...,
    "templateType": ...,
}

parent.delete_template_sync_config(**kwargs)
  1. See DeleteTemplateSyncConfigInputRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("proton").generate_presigned_url method. boto3 documentation

Method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_account_settings

Get detail data for Proton account-wide settings.

Type annotations and code completion for boto3.client("proton").get_account_settings method. boto3 documentation

Method definition
def get_account_settings(
    self,
) -> GetAccountSettingsOutputTypeDef:  # (1)
    ...
  1. See GetAccountSettingsOutputTypeDef

get_component

Get detailed data for a component.

Type annotations and code completion for boto3.client("proton").get_component method. boto3 documentation

Method definition
def get_component(
    self,
    *,
    name: str,
) -> GetComponentOutputTypeDef:  # (1)
    ...
  1. See GetComponentOutputTypeDef
Usage example with kwargs
kwargs: GetComponentInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.get_component(**kwargs)
  1. See GetComponentInputRequestTypeDef

get_environment

Get detailed data for an environment.

Type annotations and code completion for boto3.client("proton").get_environment method. boto3 documentation

Method definition
def get_environment(
    self,
    *,
    name: str,
) -> GetEnvironmentOutputTypeDef:  # (1)
    ...
  1. See GetEnvironmentOutputTypeDef
Usage example with kwargs
kwargs: GetEnvironmentInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.get_environment(**kwargs)
  1. See GetEnvironmentInputRequestTypeDef

get_environment_account_connection

In an environment account, get the detailed data for an environment account connection.

Type annotations and code completion for boto3.client("proton").get_environment_account_connection method. boto3 documentation

Method definition
def get_environment_account_connection(
    self,
    *,
    id: str,
) -> GetEnvironmentAccountConnectionOutputTypeDef:  # (1)
    ...
  1. See GetEnvironmentAccountConnectionOutputTypeDef
Usage example with kwargs
kwargs: GetEnvironmentAccountConnectionInputRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_environment_account_connection(**kwargs)
  1. See GetEnvironmentAccountConnectionInputRequestTypeDef

get_environment_template

Get detailed data for an environment template.

Type annotations and code completion for boto3.client("proton").get_environment_template method. boto3 documentation

Method definition
def get_environment_template(
    self,
    *,
    name: str,
) -> GetEnvironmentTemplateOutputTypeDef:  # (1)
    ...
  1. See GetEnvironmentTemplateOutputTypeDef
Usage example with kwargs
kwargs: GetEnvironmentTemplateInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.get_environment_template(**kwargs)
  1. See GetEnvironmentTemplateInputRequestTypeDef

get_environment_template_version

Get detailed data for a major or minor version of an environment template.

Type annotations and code completion for boto3.client("proton").get_environment_template_version method. boto3 documentation

Method definition
def get_environment_template_version(
    self,
    *,
    majorVersion: str,
    minorVersion: str,
    templateName: str,
) -> GetEnvironmentTemplateVersionOutputTypeDef:  # (1)
    ...
  1. See GetEnvironmentTemplateVersionOutputTypeDef
Usage example with kwargs
kwargs: GetEnvironmentTemplateVersionInputRequestTypeDef = {  # (1)
    "majorVersion": ...,
    "minorVersion": ...,
    "templateName": ...,
}

parent.get_environment_template_version(**kwargs)
  1. See GetEnvironmentTemplateVersionInputRequestTypeDef

get_repository

Get detail data for a linked repository.

Type annotations and code completion for boto3.client("proton").get_repository method. boto3 documentation

Method definition
def get_repository(
    self,
    *,
    name: str,
    provider: RepositoryProviderType,  # (1)
) -> GetRepositoryOutputTypeDef:  # (2)
    ...
  1. See RepositoryProviderType
  2. See GetRepositoryOutputTypeDef
Usage example with kwargs
kwargs: GetRepositoryInputRequestTypeDef = {  # (1)
    "name": ...,
    "provider": ...,
}

parent.get_repository(**kwargs)
  1. See GetRepositoryInputRequestTypeDef

get_repository_sync_status

Get the sync status of a repository used for Proton template sync.

Type annotations and code completion for boto3.client("proton").get_repository_sync_status method. boto3 documentation

Method definition
def get_repository_sync_status(
    self,
    *,
    branch: str,
    repositoryName: str,
    repositoryProvider: RepositoryProviderType,  # (1)
    syncType: SyncTypeType,  # (2)
) -> GetRepositorySyncStatusOutputTypeDef:  # (3)
    ...
  1. See RepositoryProviderType
  2. See SyncTypeType
  3. See GetRepositorySyncStatusOutputTypeDef
Usage example with kwargs
kwargs: GetRepositorySyncStatusInputRequestTypeDef = {  # (1)
    "branch": ...,
    "repositoryName": ...,
    "repositoryProvider": ...,
    "syncType": ...,
}

parent.get_repository_sync_status(**kwargs)
  1. See GetRepositorySyncStatusInputRequestTypeDef

get_resources_summary

Get counts of Proton resources.

Type annotations and code completion for boto3.client("proton").get_resources_summary method. boto3 documentation

Method definition
def get_resources_summary(
    self,
) -> GetResourcesSummaryOutputTypeDef:  # (1)
    ...
  1. See GetResourcesSummaryOutputTypeDef

get_service

Get detailed data for a service.

Type annotations and code completion for boto3.client("proton").get_service method. boto3 documentation

Method definition
def get_service(
    self,
    *,
    name: str,
) -> GetServiceOutputTypeDef:  # (1)
    ...
  1. See GetServiceOutputTypeDef
Usage example with kwargs
kwargs: GetServiceInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.get_service(**kwargs)
  1. See GetServiceInputRequestTypeDef

get_service_instance

Get detailed data for a service instance.

Type annotations and code completion for boto3.client("proton").get_service_instance method. boto3 documentation

Method definition
def get_service_instance(
    self,
    *,
    name: str,
    serviceName: str,
) -> GetServiceInstanceOutputTypeDef:  # (1)
    ...
  1. See GetServiceInstanceOutputTypeDef
Usage example with kwargs
kwargs: GetServiceInstanceInputRequestTypeDef = {  # (1)
    "name": ...,
    "serviceName": ...,
}

parent.get_service_instance(**kwargs)
  1. See GetServiceInstanceInputRequestTypeDef

get_service_template

Get detailed data for a service template.

Type annotations and code completion for boto3.client("proton").get_service_template method. boto3 documentation

Method definition
def get_service_template(
    self,
    *,
    name: str,
) -> GetServiceTemplateOutputTypeDef:  # (1)
    ...
  1. See GetServiceTemplateOutputTypeDef
Usage example with kwargs
kwargs: GetServiceTemplateInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.get_service_template(**kwargs)
  1. See GetServiceTemplateInputRequestTypeDef

get_service_template_version

Get detailed data for a major or minor version of a service template.

Type annotations and code completion for boto3.client("proton").get_service_template_version method. boto3 documentation

Method definition
def get_service_template_version(
    self,
    *,
    majorVersion: str,
    minorVersion: str,
    templateName: str,
) -> GetServiceTemplateVersionOutputTypeDef:  # (1)
    ...
  1. See GetServiceTemplateVersionOutputTypeDef
Usage example with kwargs
kwargs: GetServiceTemplateVersionInputRequestTypeDef = {  # (1)
    "majorVersion": ...,
    "minorVersion": ...,
    "templateName": ...,
}

parent.get_service_template_version(**kwargs)
  1. See GetServiceTemplateVersionInputRequestTypeDef

get_template_sync_config

Get detail data for a template sync configuration.

Type annotations and code completion for boto3.client("proton").get_template_sync_config method. boto3 documentation

Method definition
def get_template_sync_config(
    self,
    *,
    templateName: str,
    templateType: TemplateTypeType,  # (1)
) -> GetTemplateSyncConfigOutputTypeDef:  # (2)
    ...
  1. See TemplateTypeType
  2. See GetTemplateSyncConfigOutputTypeDef
Usage example with kwargs
kwargs: GetTemplateSyncConfigInputRequestTypeDef = {  # (1)
    "templateName": ...,
    "templateType": ...,
}

parent.get_template_sync_config(**kwargs)
  1. See GetTemplateSyncConfigInputRequestTypeDef

get_template_sync_status

Get the status of a template sync.

Type annotations and code completion for boto3.client("proton").get_template_sync_status method. boto3 documentation

Method definition
def get_template_sync_status(
    self,
    *,
    templateName: str,
    templateType: TemplateTypeType,  # (1)
    templateVersion: str,
) -> GetTemplateSyncStatusOutputTypeDef:  # (2)
    ...
  1. See TemplateTypeType
  2. See GetTemplateSyncStatusOutputTypeDef
Usage example with kwargs
kwargs: GetTemplateSyncStatusInputRequestTypeDef = {  # (1)
    "templateName": ...,
    "templateType": ...,
    "templateVersion": ...,
}

parent.get_template_sync_status(**kwargs)
  1. See GetTemplateSyncStatusInputRequestTypeDef

list_component_outputs

Get a list of component Infrastructure as Code (IaC) outputs.

Type annotations and code completion for boto3.client("proton").list_component_outputs method. boto3 documentation

Method definition
def list_component_outputs(
    self,
    *,
    componentName: str,
    nextToken: str = ...,
) -> ListComponentOutputsOutputTypeDef:  # (1)
    ...
  1. See ListComponentOutputsOutputTypeDef
Usage example with kwargs
kwargs: ListComponentOutputsInputRequestTypeDef = {  # (1)
    "componentName": ...,
}

parent.list_component_outputs(**kwargs)
  1. See ListComponentOutputsInputRequestTypeDef

list_component_provisioned_resources

List provisioned resources for a component with details.

Type annotations and code completion for boto3.client("proton").list_component_provisioned_resources method. boto3 documentation

Method definition
def list_component_provisioned_resources(
    self,
    *,
    componentName: str,
    nextToken: str = ...,
) -> ListComponentProvisionedResourcesOutputTypeDef:  # (1)
    ...
  1. See ListComponentProvisionedResourcesOutputTypeDef
Usage example with kwargs
kwargs: ListComponentProvisionedResourcesInputRequestTypeDef = {  # (1)
    "componentName": ...,
}

parent.list_component_provisioned_resources(**kwargs)
  1. See ListComponentProvisionedResourcesInputRequestTypeDef

list_components

List components with summary data.

Type annotations and code completion for boto3.client("proton").list_components method. boto3 documentation

Method definition
def list_components(
    self,
    *,
    environmentName: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
    serviceInstanceName: str = ...,
    serviceName: str = ...,
) -> ListComponentsOutputTypeDef:  # (1)
    ...
  1. See ListComponentsOutputTypeDef
Usage example with kwargs
kwargs: ListComponentsInputRequestTypeDef = {  # (1)
    "environmentName": ...,
}

parent.list_components(**kwargs)
  1. See ListComponentsInputRequestTypeDef

list_environment_account_connections

View a list of environment account connections.

Type annotations and code completion for boto3.client("proton").list_environment_account_connections method. boto3 documentation

Method definition
def list_environment_account_connections(
    self,
    *,
    requestedBy: EnvironmentAccountConnectionRequesterAccountTypeType,  # (1)
    environmentName: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
    statuses: Sequence[EnvironmentAccountConnectionStatusType] = ...,  # (2)
) -> ListEnvironmentAccountConnectionsOutputTypeDef:  # (3)
    ...
  1. See EnvironmentAccountConnectionRequesterAccountTypeType
  2. See EnvironmentAccountConnectionStatusType
  3. See ListEnvironmentAccountConnectionsOutputTypeDef
Usage example with kwargs
kwargs: ListEnvironmentAccountConnectionsInputRequestTypeDef = {  # (1)
    "requestedBy": ...,
}

parent.list_environment_account_connections(**kwargs)
  1. See ListEnvironmentAccountConnectionsInputRequestTypeDef

list_environment_outputs

List the infrastructure as code outputs for your environment.

Type annotations and code completion for boto3.client("proton").list_environment_outputs method. boto3 documentation

Method definition
def list_environment_outputs(
    self,
    *,
    environmentName: str,
    nextToken: str = ...,
) -> ListEnvironmentOutputsOutputTypeDef:  # (1)
    ...
  1. See ListEnvironmentOutputsOutputTypeDef
Usage example with kwargs
kwargs: ListEnvironmentOutputsInputRequestTypeDef = {  # (1)
    "environmentName": ...,
}

parent.list_environment_outputs(**kwargs)
  1. See ListEnvironmentOutputsInputRequestTypeDef

list_environment_provisioned_resources

List the provisioned resources for your environment.

Type annotations and code completion for boto3.client("proton").list_environment_provisioned_resources method. boto3 documentation

Method definition
def list_environment_provisioned_resources(
    self,
    *,
    environmentName: str,
    nextToken: str = ...,
) -> ListEnvironmentProvisionedResourcesOutputTypeDef:  # (1)
    ...
  1. See ListEnvironmentProvisionedResourcesOutputTypeDef
Usage example with kwargs
kwargs: ListEnvironmentProvisionedResourcesInputRequestTypeDef = {  # (1)
    "environmentName": ...,
}

parent.list_environment_provisioned_resources(**kwargs)
  1. See ListEnvironmentProvisionedResourcesInputRequestTypeDef

list_environment_template_versions

List major or minor versions of an environment template with detail data.

Type annotations and code completion for boto3.client("proton").list_environment_template_versions method. boto3 documentation

Method definition
def list_environment_template_versions(
    self,
    *,
    templateName: str,
    majorVersion: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListEnvironmentTemplateVersionsOutputTypeDef:  # (1)
    ...
  1. See ListEnvironmentTemplateVersionsOutputTypeDef
Usage example with kwargs
kwargs: ListEnvironmentTemplateVersionsInputRequestTypeDef = {  # (1)
    "templateName": ...,
}

parent.list_environment_template_versions(**kwargs)
  1. See ListEnvironmentTemplateVersionsInputRequestTypeDef

list_environment_templates

List environment templates.

Type annotations and code completion for boto3.client("proton").list_environment_templates method. boto3 documentation

Method definition
def list_environment_templates(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListEnvironmentTemplatesOutputTypeDef:  # (1)
    ...
  1. See ListEnvironmentTemplatesOutputTypeDef
Usage example with kwargs
kwargs: ListEnvironmentTemplatesInputRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_environment_templates(**kwargs)
  1. See ListEnvironmentTemplatesInputRequestTypeDef

list_environments

List environments with detail data summaries.

Type annotations and code completion for boto3.client("proton").list_environments method. boto3 documentation

Method definition
def list_environments(
    self,
    *,
    environmentTemplates: Sequence[EnvironmentTemplateFilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListEnvironmentsOutputTypeDef:  # (2)
    ...
  1. See EnvironmentTemplateFilterTypeDef
  2. See ListEnvironmentsOutputTypeDef
Usage example with kwargs
kwargs: ListEnvironmentsInputRequestTypeDef = {  # (1)
    "environmentTemplates": ...,
}

parent.list_environments(**kwargs)
  1. See ListEnvironmentsInputRequestTypeDef

list_repositories

List linked repositories with detail data.

Type annotations and code completion for boto3.client("proton").list_repositories method. boto3 documentation

Method definition
def list_repositories(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListRepositoriesOutputTypeDef:  # (1)
    ...
  1. See ListRepositoriesOutputTypeDef
Usage example with kwargs
kwargs: ListRepositoriesInputRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_repositories(**kwargs)
  1. See ListRepositoriesInputRequestTypeDef

list_repository_sync_definitions

List repository sync definitions with detail data.

Type annotations and code completion for boto3.client("proton").list_repository_sync_definitions method. boto3 documentation

Method definition
def list_repository_sync_definitions(
    self,
    *,
    repositoryName: str,
    repositoryProvider: RepositoryProviderType,  # (1)
    syncType: SyncTypeType,  # (2)
    nextToken: str = ...,
) -> ListRepositorySyncDefinitionsOutputTypeDef:  # (3)
    ...
  1. See RepositoryProviderType
  2. See SyncTypeType
  3. See ListRepositorySyncDefinitionsOutputTypeDef
Usage example with kwargs
kwargs: ListRepositorySyncDefinitionsInputRequestTypeDef = {  # (1)
    "repositoryName": ...,
    "repositoryProvider": ...,
    "syncType": ...,
}

parent.list_repository_sync_definitions(**kwargs)
  1. See ListRepositorySyncDefinitionsInputRequestTypeDef

list_service_instance_outputs

Get a list service of instance Infrastructure as Code (IaC) outputs.

Type annotations and code completion for boto3.client("proton").list_service_instance_outputs method. boto3 documentation

Method definition
def list_service_instance_outputs(
    self,
    *,
    serviceInstanceName: str,
    serviceName: str,
    nextToken: str = ...,
) -> ListServiceInstanceOutputsOutputTypeDef:  # (1)
    ...
  1. See ListServiceInstanceOutputsOutputTypeDef
Usage example with kwargs
kwargs: ListServiceInstanceOutputsInputRequestTypeDef = {  # (1)
    "serviceInstanceName": ...,
    "serviceName": ...,
}

parent.list_service_instance_outputs(**kwargs)
  1. See ListServiceInstanceOutputsInputRequestTypeDef

list_service_instance_provisioned_resources

List provisioned resources for a service instance with details.

Type annotations and code completion for boto3.client("proton").list_service_instance_provisioned_resources method. boto3 documentation

Method definition
def list_service_instance_provisioned_resources(
    self,
    *,
    serviceInstanceName: str,
    serviceName: str,
    nextToken: str = ...,
) -> ListServiceInstanceProvisionedResourcesOutputTypeDef:  # (1)
    ...
  1. See ListServiceInstanceProvisionedResourcesOutputTypeDef
Usage example with kwargs
kwargs: ListServiceInstanceProvisionedResourcesInputRequestTypeDef = {  # (1)
    "serviceInstanceName": ...,
    "serviceName": ...,
}

parent.list_service_instance_provisioned_resources(**kwargs)
  1. See ListServiceInstanceProvisionedResourcesInputRequestTypeDef

list_service_instances

List service instances with summary data.

Type annotations and code completion for boto3.client("proton").list_service_instances method. boto3 documentation

Method definition
def list_service_instances(
    self,
    *,
    filters: Sequence[ListServiceInstancesFilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
    serviceName: str = ...,
    sortBy: ListServiceInstancesSortByType = ...,  # (2)
    sortOrder: SortOrderType = ...,  # (3)
) -> ListServiceInstancesOutputTypeDef:  # (4)
    ...
  1. See ListServiceInstancesFilterTypeDef
  2. See ListServiceInstancesSortByType
  3. See SortOrderType
  4. See ListServiceInstancesOutputTypeDef
Usage example with kwargs
kwargs: ListServiceInstancesInputRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_service_instances(**kwargs)
  1. See ListServiceInstancesInputRequestTypeDef

list_service_pipeline_outputs

Get a list of service pipeline Infrastructure as Code (IaC) outputs.

Type annotations and code completion for boto3.client("proton").list_service_pipeline_outputs method. boto3 documentation

Method definition
def list_service_pipeline_outputs(
    self,
    *,
    serviceName: str,
    nextToken: str = ...,
) -> ListServicePipelineOutputsOutputTypeDef:  # (1)
    ...
  1. See ListServicePipelineOutputsOutputTypeDef
Usage example with kwargs
kwargs: ListServicePipelineOutputsInputRequestTypeDef = {  # (1)
    "serviceName": ...,
}

parent.list_service_pipeline_outputs(**kwargs)
  1. See ListServicePipelineOutputsInputRequestTypeDef

list_service_pipeline_provisioned_resources

List provisioned resources for a service and pipeline with details.

Type annotations and code completion for boto3.client("proton").list_service_pipeline_provisioned_resources method. boto3 documentation

Method definition
def list_service_pipeline_provisioned_resources(
    self,
    *,
    serviceName: str,
    nextToken: str = ...,
) -> ListServicePipelineProvisionedResourcesOutputTypeDef:  # (1)
    ...
  1. See ListServicePipelineProvisionedResourcesOutputTypeDef
Usage example with kwargs
kwargs: ListServicePipelineProvisionedResourcesInputRequestTypeDef = {  # (1)
    "serviceName": ...,
}

parent.list_service_pipeline_provisioned_resources(**kwargs)
  1. See ListServicePipelineProvisionedResourcesInputRequestTypeDef

list_service_template_versions

List major or minor versions of a service template with detail data.

Type annotations and code completion for boto3.client("proton").list_service_template_versions method. boto3 documentation

Method definition
def list_service_template_versions(
    self,
    *,
    templateName: str,
    majorVersion: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListServiceTemplateVersionsOutputTypeDef:  # (1)
    ...
  1. See ListServiceTemplateVersionsOutputTypeDef
Usage example with kwargs
kwargs: ListServiceTemplateVersionsInputRequestTypeDef = {  # (1)
    "templateName": ...,
}

parent.list_service_template_versions(**kwargs)
  1. See ListServiceTemplateVersionsInputRequestTypeDef

list_service_templates

List service templates with detail data.

Type annotations and code completion for boto3.client("proton").list_service_templates method. boto3 documentation

Method definition
def list_service_templates(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListServiceTemplatesOutputTypeDef:  # (1)
    ...
  1. See ListServiceTemplatesOutputTypeDef
Usage example with kwargs
kwargs: ListServiceTemplatesInputRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_service_templates(**kwargs)
  1. See ListServiceTemplatesInputRequestTypeDef

list_services

List services with summaries of detail data.

Type annotations and code completion for boto3.client("proton").list_services method. boto3 documentation

Method definition
def list_services(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListServicesOutputTypeDef:  # (1)
    ...
  1. See ListServicesOutputTypeDef
Usage example with kwargs
kwargs: ListServicesInputRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_services(**kwargs)
  1. See ListServicesInputRequestTypeDef

list_tags_for_resource

List tags for a resource.

Type annotations and code completion for boto3.client("proton").list_tags_for_resource method. boto3 documentation

Method definition
def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListTagsForResourceOutputTypeDef:  # (1)
    ...
  1. See ListTagsForResourceOutputTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceInputRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceInputRequestTypeDef

notify_resource_deployment_status_change

Notify Proton of status changes to a provisioned resource when you use self- managed provisioning.

Type annotations and code completion for boto3.client("proton").notify_resource_deployment_status_change method. boto3 documentation

Method definition
def notify_resource_deployment_status_change(
    self,
    *,
    resourceArn: str,
    deploymentId: str = ...,
    outputs: Sequence[OutputTypeDef] = ...,  # (1)
    status: ResourceDeploymentStatusType = ...,  # (2)
    statusMessage: str = ...,
) -> Dict[str, Any]:
    ...
  1. See OutputTypeDef
  2. See ResourceDeploymentStatusType
Usage example with kwargs
kwargs: NotifyResourceDeploymentStatusChangeInputRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.notify_resource_deployment_status_change(**kwargs)
  1. See NotifyResourceDeploymentStatusChangeInputRequestTypeDef

reject_environment_account_connection

In a management account, reject an environment account connection from another environment account.

Type annotations and code completion for boto3.client("proton").reject_environment_account_connection method. boto3 documentation

Method definition
def reject_environment_account_connection(
    self,
    *,
    id: str,
) -> RejectEnvironmentAccountConnectionOutputTypeDef:  # (1)
    ...
  1. See RejectEnvironmentAccountConnectionOutputTypeDef
Usage example with kwargs
kwargs: RejectEnvironmentAccountConnectionInputRequestTypeDef = {  # (1)
    "id": ...,
}

parent.reject_environment_account_connection(**kwargs)
  1. See RejectEnvironmentAccountConnectionInputRequestTypeDef

tag_resource

Tag a resource.

Type annotations and code completion for boto3.client("proton").tag_resource method. boto3 documentation

Method definition
def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
Usage example with kwargs
kwargs: TagResourceInputRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceInputRequestTypeDef

untag_resource

Remove a customer tag from a resource.

Type annotations and code completion for boto3.client("proton").untag_resource method. boto3 documentation

Method definition
def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: UntagResourceInputRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceInputRequestTypeDef

update_account_settings

Update Proton settings that are used for multiple services in the Amazon Web Services account.

Type annotations and code completion for boto3.client("proton").update_account_settings method. boto3 documentation

Method definition
def update_account_settings(
    self,
    *,
    deletePipelineProvisioningRepository: bool = ...,
    pipelineCodebuildRoleArn: str = ...,
    pipelineProvisioningRepository: RepositoryBranchInputTypeDef = ...,  # (1)
    pipelineServiceRoleArn: str = ...,
) -> UpdateAccountSettingsOutputTypeDef:  # (2)
    ...
  1. See RepositoryBranchInputTypeDef
  2. See UpdateAccountSettingsOutputTypeDef
Usage example with kwargs
kwargs: UpdateAccountSettingsInputRequestTypeDef = {  # (1)
    "deletePipelineProvisioningRepository": ...,
}

parent.update_account_settings(**kwargs)
  1. See UpdateAccountSettingsInputRequestTypeDef

update_component

Update a component.

Type annotations and code completion for boto3.client("proton").update_component method. boto3 documentation

Method definition
def update_component(
    self,
    *,
    deploymentType: ComponentDeploymentUpdateTypeType,  # (1)
    name: str,
    description: str = ...,
    serviceInstanceName: str = ...,
    serviceName: str = ...,
    serviceSpec: str = ...,
    templateFile: str = ...,
) -> UpdateComponentOutputTypeDef:  # (2)
    ...
  1. See ComponentDeploymentUpdateTypeType
  2. See UpdateComponentOutputTypeDef
Usage example with kwargs
kwargs: UpdateComponentInputRequestTypeDef = {  # (1)
    "deploymentType": ...,
    "name": ...,
}

parent.update_component(**kwargs)
  1. See UpdateComponentInputRequestTypeDef

update_environment

Update an environment.

Type annotations and code completion for boto3.client("proton").update_environment method. boto3 documentation

Method definition
def update_environment(
    self,
    *,
    deploymentType: DeploymentUpdateTypeType,  # (1)
    name: str,
    codebuildRoleArn: str = ...,
    componentRoleArn: str = ...,
    description: str = ...,
    environmentAccountConnectionId: str = ...,
    protonServiceRoleArn: str = ...,
    provisioningRepository: RepositoryBranchInputTypeDef = ...,  # (2)
    spec: str = ...,
    templateMajorVersion: str = ...,
    templateMinorVersion: str = ...,
) -> UpdateEnvironmentOutputTypeDef:  # (3)
    ...
  1. See DeploymentUpdateTypeType
  2. See RepositoryBranchInputTypeDef
  3. See UpdateEnvironmentOutputTypeDef
Usage example with kwargs
kwargs: UpdateEnvironmentInputRequestTypeDef = {  # (1)
    "deploymentType": ...,
    "name": ...,
}

parent.update_environment(**kwargs)
  1. See UpdateEnvironmentInputRequestTypeDef

update_environment_account_connection

In an environment account, update an environment account connection to use a new IAM role.

Type annotations and code completion for boto3.client("proton").update_environment_account_connection method. boto3 documentation

Method definition
def update_environment_account_connection(
    self,
    *,
    id: str,
    codebuildRoleArn: str = ...,
    componentRoleArn: str = ...,
    roleArn: str = ...,
) -> UpdateEnvironmentAccountConnectionOutputTypeDef:  # (1)
    ...
  1. See UpdateEnvironmentAccountConnectionOutputTypeDef
Usage example with kwargs
kwargs: UpdateEnvironmentAccountConnectionInputRequestTypeDef = {  # (1)
    "id": ...,
}

parent.update_environment_account_connection(**kwargs)
  1. See UpdateEnvironmentAccountConnectionInputRequestTypeDef

update_environment_template

Update an environment template.

Type annotations and code completion for boto3.client("proton").update_environment_template method. boto3 documentation

Method definition
def update_environment_template(
    self,
    *,
    name: str,
    description: str = ...,
    displayName: str = ...,
) -> UpdateEnvironmentTemplateOutputTypeDef:  # (1)
    ...
  1. See UpdateEnvironmentTemplateOutputTypeDef
Usage example with kwargs
kwargs: UpdateEnvironmentTemplateInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.update_environment_template(**kwargs)
  1. See UpdateEnvironmentTemplateInputRequestTypeDef

update_environment_template_version

Update a major or minor version of an environment template.

Type annotations and code completion for boto3.client("proton").update_environment_template_version method. boto3 documentation

Method definition
def update_environment_template_version(
    self,
    *,
    majorVersion: str,
    minorVersion: str,
    templateName: str,
    description: str = ...,
    status: TemplateVersionStatusType = ...,  # (1)
) -> UpdateEnvironmentTemplateVersionOutputTypeDef:  # (2)
    ...
  1. See TemplateVersionStatusType
  2. See UpdateEnvironmentTemplateVersionOutputTypeDef
Usage example with kwargs
kwargs: UpdateEnvironmentTemplateVersionInputRequestTypeDef = {  # (1)
    "majorVersion": ...,
    "minorVersion": ...,
    "templateName": ...,
}

parent.update_environment_template_version(**kwargs)
  1. See UpdateEnvironmentTemplateVersionInputRequestTypeDef

update_service

Edit a service description or use a spec to add and delete service instances.

Type annotations and code completion for boto3.client("proton").update_service method. boto3 documentation

Method definition
def update_service(
    self,
    *,
    name: str,
    description: str = ...,
    spec: str = ...,
) -> UpdateServiceOutputTypeDef:  # (1)
    ...
  1. See UpdateServiceOutputTypeDef
Usage example with kwargs
kwargs: UpdateServiceInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.update_service(**kwargs)
  1. See UpdateServiceInputRequestTypeDef

update_service_instance

Update a service instance.

Type annotations and code completion for boto3.client("proton").update_service_instance method. boto3 documentation

Method definition
def update_service_instance(
    self,
    *,
    deploymentType: DeploymentUpdateTypeType,  # (1)
    name: str,
    serviceName: str,
    spec: str = ...,
    templateMajorVersion: str = ...,
    templateMinorVersion: str = ...,
) -> UpdateServiceInstanceOutputTypeDef:  # (2)
    ...
  1. See DeploymentUpdateTypeType
  2. See UpdateServiceInstanceOutputTypeDef
Usage example with kwargs
kwargs: UpdateServiceInstanceInputRequestTypeDef = {  # (1)
    "deploymentType": ...,
    "name": ...,
    "serviceName": ...,
}

parent.update_service_instance(**kwargs)
  1. See UpdateServiceInstanceInputRequestTypeDef

update_service_pipeline

Update the service pipeline.

Type annotations and code completion for boto3.client("proton").update_service_pipeline method. boto3 documentation

Method definition
def update_service_pipeline(
    self,
    *,
    deploymentType: DeploymentUpdateTypeType,  # (1)
    serviceName: str,
    spec: str,
    templateMajorVersion: str = ...,
    templateMinorVersion: str = ...,
) -> UpdateServicePipelineOutputTypeDef:  # (2)
    ...
  1. See DeploymentUpdateTypeType
  2. See UpdateServicePipelineOutputTypeDef
Usage example with kwargs
kwargs: UpdateServicePipelineInputRequestTypeDef = {  # (1)
    "deploymentType": ...,
    "serviceName": ...,
    "spec": ...,
}

parent.update_service_pipeline(**kwargs)
  1. See UpdateServicePipelineInputRequestTypeDef

update_service_template

Update a service template.

Type annotations and code completion for boto3.client("proton").update_service_template method. boto3 documentation

Method definition
def update_service_template(
    self,
    *,
    name: str,
    description: str = ...,
    displayName: str = ...,
) -> UpdateServiceTemplateOutputTypeDef:  # (1)
    ...
  1. See UpdateServiceTemplateOutputTypeDef
Usage example with kwargs
kwargs: UpdateServiceTemplateInputRequestTypeDef = {  # (1)
    "name": ...,
}

parent.update_service_template(**kwargs)
  1. See UpdateServiceTemplateInputRequestTypeDef

update_service_template_version

Update a major or minor version of a service template.

Type annotations and code completion for boto3.client("proton").update_service_template_version method. boto3 documentation

Method definition
def update_service_template_version(
    self,
    *,
    majorVersion: str,
    minorVersion: str,
    templateName: str,
    compatibleEnvironmentTemplates: Sequence[CompatibleEnvironmentTemplateInputTypeDef] = ...,  # (1)
    description: str = ...,
    status: TemplateVersionStatusType = ...,  # (2)
    supportedComponentSources: Sequence[ServiceTemplateSupportedComponentSourceTypeType] = ...,  # (3)
) -> UpdateServiceTemplateVersionOutputTypeDef:  # (4)
    ...
  1. See CompatibleEnvironmentTemplateInputTypeDef
  2. See TemplateVersionStatusType
  3. See ServiceTemplateSupportedComponentSourceTypeType
  4. See UpdateServiceTemplateVersionOutputTypeDef
Usage example with kwargs
kwargs: UpdateServiceTemplateVersionInputRequestTypeDef = {  # (1)
    "majorVersion": ...,
    "minorVersion": ...,
    "templateName": ...,
}

parent.update_service_template_version(**kwargs)
  1. See UpdateServiceTemplateVersionInputRequestTypeDef

update_template_sync_config

Update template sync configuration parameters, except for the templateName and templateType.

Type annotations and code completion for boto3.client("proton").update_template_sync_config method. boto3 documentation

Method definition
def update_template_sync_config(
    self,
    *,
    branch: str,
    repositoryName: str,
    repositoryProvider: RepositoryProviderType,  # (1)
    templateName: str,
    templateType: TemplateTypeType,  # (2)
    subdirectory: str = ...,
) -> UpdateTemplateSyncConfigOutputTypeDef:  # (3)
    ...
  1. See RepositoryProviderType
  2. See TemplateTypeType
  3. See UpdateTemplateSyncConfigOutputTypeDef
Usage example with kwargs
kwargs: UpdateTemplateSyncConfigInputRequestTypeDef = {  # (1)
    "branch": ...,
    "repositoryName": ...,
    "repositoryProvider": ...,
    "templateName": ...,
    "templateType": ...,
}

parent.update_template_sync_config(**kwargs)
  1. See UpdateTemplateSyncConfigInputRequestTypeDef

get_paginator

Type annotations and code completion for boto3.client("proton").get_paginator method with overloads.

get_waiter

Type annotations and code completion for boto3.client("proton").get_waiter method with overloads.