Struct aws_sdk_proton::Client
source · pub struct Client { /* private fields */ }Expand description
Client for AWS Proton
Client for invoking operations on AWS Proton. Each operation on AWS Proton is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_proton::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::retry::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_proton::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_proton::Client::from_conf(config);Implementations§
source§impl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
source§impl Client
impl Client
sourcepub fn accept_environment_account_connection(
&self
) -> AcceptEnvironmentAccountConnection
pub fn accept_environment_account_connection(
&self
) -> AcceptEnvironmentAccountConnection
Constructs a fluent builder for the AcceptEnvironmentAccountConnection operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the environment account connection.
- On success, responds with
AcceptEnvironmentAccountConnectionOutputwith field(s):environment_account_connection(Option<EnvironmentAccountConnection>):The environment account connection data that’s returned by Proton.
- On failure, responds with
SdkError<AcceptEnvironmentAccountConnectionError>
sourcepub fn cancel_component_deployment(&self) -> CancelComponentDeployment
pub fn cancel_component_deployment(&self) -> CancelComponentDeployment
Constructs a fluent builder for the CancelComponentDeployment operation.
- The fluent builder is configurable:
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component with the deployment to cancel.
- On success, responds with
CancelComponentDeploymentOutputwith field(s):component(Option<Component>):The detailed data of the component with the deployment that is being canceled.
- On failure, responds with
SdkError<CancelComponentDeploymentError>
sourcepub fn cancel_environment_deployment(&self) -> CancelEnvironmentDeployment
pub fn cancel_environment_deployment(&self) -> CancelEnvironmentDeployment
Constructs a fluent builder for the CancelEnvironmentDeployment operation.
- The fluent builder is configurable:
environment_name(impl Into<String>)/set_environment_name(Option<String>):The name of the environment with the deployment to cancel.
- On success, responds with
CancelEnvironmentDeploymentOutputwith field(s):environment(Option<Environment>):The environment summary data that’s returned by Proton.
- On failure, responds with
SdkError<CancelEnvironmentDeploymentError>
sourcepub fn cancel_service_instance_deployment(
&self
) -> CancelServiceInstanceDeployment
pub fn cancel_service_instance_deployment(
&self
) -> CancelServiceInstanceDeployment
Constructs a fluent builder for the CancelServiceInstanceDeployment operation.
- The fluent builder is configurable:
service_instance_name(impl Into<String>)/set_service_instance_name(Option<String>):The name of the service instance with the deployment to cancel.
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service with the service instance deployment to cancel.
- On success, responds with
CancelServiceInstanceDeploymentOutputwith field(s):service_instance(Option<ServiceInstance>):The service instance summary data that’s returned by Proton.
- On failure, responds with
SdkError<CancelServiceInstanceDeploymentError>
sourcepub fn cancel_service_pipeline_deployment(
&self
) -> CancelServicePipelineDeployment
pub fn cancel_service_pipeline_deployment(
&self
) -> CancelServicePipelineDeployment
Constructs a fluent builder for the CancelServicePipelineDeployment operation.
- The fluent builder is configurable:
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service with the service pipeline deployment to cancel.
- On success, responds with
CancelServicePipelineDeploymentOutputwith field(s):pipeline(Option<ServicePipeline>):The service pipeline detail data that’s returned by Proton.
- On failure, responds with
SdkError<CancelServicePipelineDeploymentError>
sourcepub fn create_component(&self) -> CreateComponent
pub fn create_component(&self) -> CreateComponent
Constructs a fluent builder for the CreateComponent operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The customer-provided name of the component.
description(impl Into<String>)/set_description(Option<String>):An optional customer-provided description of the component.
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service that
serviceInstanceNameis associated with. If you don’t specify this, the component isn’t attached to any service instance. Specify bothserviceInstanceNameandserviceNameor neither of them.service_instance_name(impl Into<String>)/set_service_instance_name(Option<String>):The name of the service instance that you want to attach this component to. If you don’t specify this, the component isn’t attached to any service instance. Specify both
serviceInstanceNameandserviceNameor neither of them.environment_name(impl Into<String>)/set_environment_name(Option<String>):The name of the Proton environment that you want to associate this component with. You must specify this when you don’t specify
serviceInstanceNameandserviceName.template_file(impl Into<String>)/set_template_file(Option<String>):A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
Components support a single IaC file, even if you use Terraform as your template language.
manifest(impl Into<String>)/set_manifest(Option<String>):A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering engine for infrastructure that a custom component provisions.
service_spec(impl Into<String>)/set_service_spec(Option<String>):The service spec that you want the component to use to access service inputs. Set this only when you attach the component to a service instance.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
- On success, responds with
CreateComponentOutputwith field(s):component(Option<Component>):The detailed data of the created component.
- On failure, responds with
SdkError<CreateComponentError>
sourcepub fn create_environment(&self) -> CreateEnvironment
pub fn create_environment(&self) -> CreateEnvironment
Constructs a fluent builder for the CreateEnvironment operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the environment.
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the environment template. For more information, see Environment Templates in the Proton User Guide.
template_major_version(impl Into<String>)/set_template_major_version(Option<String>):The major version of the environment template.
template_minor_version(impl Into<String>)/set_template_minor_version(Option<String>):The minor version of the environment template.
description(impl Into<String>)/set_description(Option<String>):A description of the environment that’s being created and deployed.
spec(impl Into<String>)/set_spec(Option<String>):A YAML formatted string that provides inputs as defined in the environment template bundle schema file. For more information, see Environments in the Proton User Guide.
proton_service_role_arn(impl Into<String>)/set_proton_service_role_arn(Option<String>):The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
To use Amazon Web Services-managed provisioning for the environment, specify either the
environmentAccountConnectionIdorprotonServiceRoleArnparameter and omit theprovisioningRepositoryparameter.environment_account_connection_id(impl Into<String>)/set_environment_account_connection_id(Option<String>):The ID of the environment account connection that you provide if you’re provisioning your environment infrastructure resources to an environment account. For more information, see Environment account connections in the Proton User guide.
To use Amazon Web Services-managed provisioning for the environment, specify either the
environmentAccountConnectionIdorprotonServiceRoleArnparameter and omit theprovisioningRepositoryparameter.tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An optional list of metadata items that you can associate with the Proton environment. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
provisioning_repository(RepositoryBranchInput)/set_provisioning_repository(Option<RepositoryBranchInput>):The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see
CreateRepository.To use self-managed provisioning for the environment, specify this parameter and omit the
environmentAccountConnectionIdandprotonServiceRoleArnparameters.component_role_arn(impl Into<String>)/set_component_role_arn(Option<String>):The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
You must specify
componentRoleArnto allow directly defined components to be associated with this environment.For more information about components, see Proton components in the Proton User Guide.
codebuild_role_arn(impl Into<String>)/set_codebuild_role_arn(Option<String>):The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
To use CodeBuild-based provisioning for the environment or for any service instance running in the environment, specify either the
environmentAccountConnectionIdorcodebuildRoleArnparameter.
- On success, responds with
CreateEnvironmentOutputwith field(s):environment(Option<Environment>):The environment detail data that’s returned by Proton.
- On failure, responds with
SdkError<CreateEnvironmentError>
sourcepub fn create_environment_account_connection(
&self
) -> CreateEnvironmentAccountConnection
pub fn create_environment_account_connection(
&self
) -> CreateEnvironmentAccountConnection
Constructs a fluent builder for the CreateEnvironmentAccountConnection operation.
- The fluent builder is configurable:
client_token(impl Into<String>)/set_client_token(Option<String>):When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
management_account_id(impl Into<String>)/set_management_account_id(Option<String>):The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
role_arn(impl Into<String>)/set_role_arn(Option<String>):The Amazon Resource Name (ARN) of the IAM service role that’s created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
environment_name(impl Into<String>)/set_environment_name(Option<String>):The name of the Proton environment that’s created in the associated management account.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
component_role_arn(impl Into<String>)/set_component_role_arn(Option<String>):The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
You must specify
componentRoleArnto allow directly defined components to be associated with any environments running in this account.For more information about components, see Proton components in the Proton User Guide.
codebuild_role_arn(impl Into<String>)/set_codebuild_role_arn(Option<String>):The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- On success, responds with
CreateEnvironmentAccountConnectionOutputwith field(s):environment_account_connection(Option<EnvironmentAccountConnection>):The environment account connection detail data that’s returned by Proton.
- On failure, responds with
SdkError<CreateEnvironmentAccountConnectionError>
sourcepub fn create_environment_template(&self) -> CreateEnvironmentTemplate
pub fn create_environment_template(&self) -> CreateEnvironmentTemplate
Constructs a fluent builder for the CreateEnvironmentTemplate operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the environment template.
display_name(impl Into<String>)/set_display_name(Option<String>):The environment template name as displayed in the developer interface.
description(impl Into<String>)/set_description(Option<String>):A description of the environment template.
encryption_key(impl Into<String>)/set_encryption_key(Option<String>):A customer provided encryption key that Proton uses to encrypt data.
provisioning(Provisioning)/set_provisioning(Option<Provisioning>):When included, indicates that the environment template is for customer provisioned and managed infrastructure.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
- On success, responds with
CreateEnvironmentTemplateOutputwith field(s):environment_template(Option<EnvironmentTemplate>):The environment template detail data that’s returned by Proton.
- On failure, responds with
SdkError<CreateEnvironmentTemplateError>
sourcepub fn create_environment_template_version(
&self
) -> CreateEnvironmentTemplateVersion
pub fn create_environment_template_version(
&self
) -> CreateEnvironmentTemplateVersion
Constructs a fluent builder for the CreateEnvironmentTemplateVersion operation.
- The fluent builder is configurable:
client_token(impl Into<String>)/set_client_token(Option<String>):When included, if two identical requests are made with the same client token, Proton returns the environment template version that the first request created.
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the environment template.
description(impl Into<String>)/set_description(Option<String>):A description of the new version of an environment template.
major_version(impl Into<String>)/set_major_version(Option<String>):To create a new minor version of the environment template, include
major Version.To create a new major and minor version of the environment template, exclude
major Version.source(TemplateVersionSourceInput)/set_source(Option<TemplateVersionSourceInput>):An object that includes the template bundle S3 bucket path and name for the new version of an template.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
- On success, responds with
CreateEnvironmentTemplateVersionOutputwith field(s):environment_template_version(Option<EnvironmentTemplateVersion>):The environment template detail data that’s returned by Proton.
- On failure, responds with
SdkError<CreateEnvironmentTemplateVersionError>
sourcepub fn create_repository(&self) -> CreateRepository
pub fn create_repository(&self) -> CreateRepository
Constructs a fluent builder for the CreateRepository operation.
- The fluent builder is configurable:
provider(RepositoryProvider)/set_provider(Option<RepositoryProvider>):The repository provider.
name(impl Into<String>)/set_name(Option<String>):The repository name (for example,
myrepos/myrepo).connection_arn(impl Into<String>)/set_connection_arn(Option<String>):The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
encryption_key(impl Into<String>)/set_encryption_key(Option<String>):The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
- On success, responds with
CreateRepositoryOutputwith field(s):repository(Option<Repository>):The repository link’s detail data that’s returned by Proton.
- On failure, responds with
SdkError<CreateRepositoryError>
sourcepub fn create_service(&self) -> CreateService
pub fn create_service(&self) -> CreateService
Constructs a fluent builder for the CreateService operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The service name.
description(impl Into<String>)/set_description(Option<String>):A description of the Proton service.
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the service template that’s used to create the service.
template_major_version(impl Into<String>)/set_template_major_version(Option<String>):The major version of the service template that was used to create the service.
template_minor_version(impl Into<String>)/set_template_minor_version(Option<String>):The minor version of the service template that was used to create the service.
spec(impl Into<String>)/set_spec(Option<String>):A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For more information, see Create a service in the Proton User Guide.
repository_connection_arn(impl Into<String>)/set_repository_connection_arn(Option<String>):The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide. Don’t include this parameter if your service template doesn’t include a service pipeline.
repository_id(impl Into<String>)/set_repository_id(Option<String>):The ID of the code repository. Don’t include this parameter if your service template doesn’t include a service pipeline.
branch_name(impl Into<String>)/set_branch_name(Option<String>):The name of the code repository branch that holds the code that’s deployed in Proton. Don’t include this parameter if your service template doesn’t include a service pipeline.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An optional list of metadata items that you can associate with the Proton service. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
- On success, responds with
CreateServiceOutputwith field(s):service(Option<Service>):The service detail data that’s returned by Proton.
- On failure, responds with
SdkError<CreateServiceError>
sourcepub fn create_service_template(&self) -> CreateServiceTemplate
pub fn create_service_template(&self) -> CreateServiceTemplate
Constructs a fluent builder for the CreateServiceTemplate operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the service template.
display_name(impl Into<String>)/set_display_name(Option<String>):The name of the service template as displayed in the developer interface.
description(impl Into<String>)/set_description(Option<String>):A description of the service template.
encryption_key(impl Into<String>)/set_encryption_key(Option<String>):A customer provided encryption key that’s used to encrypt data.
pipeline_provisioning(Provisioning)/set_pipeline_provisioning(Option<Provisioning>):By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline isn’t provided for your service. After it’s included, it can’t be changed. For more information, see Template bundles in the Proton User Guide.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
- On success, responds with
CreateServiceTemplateOutputwith field(s):service_template(Option<ServiceTemplate>):The service template detail data that’s returned by Proton.
- On failure, responds with
SdkError<CreateServiceTemplateError>
sourcepub fn create_service_template_version(&self) -> CreateServiceTemplateVersion
pub fn create_service_template_version(&self) -> CreateServiceTemplateVersion
Constructs a fluent builder for the CreateServiceTemplateVersion operation.
- The fluent builder is configurable:
client_token(impl Into<String>)/set_client_token(Option<String>):When included, if two identical requests are made with the same client token, Proton returns the service template version that the first request created.
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the service template.
description(impl Into<String>)/set_description(Option<String>):A description of the new version of a service template.
major_version(impl Into<String>)/set_major_version(Option<String>):To create a new minor version of the service template, include a
major Version.To create a new major and minor version of the service template, exclude
major Version.source(TemplateVersionSourceInput)/set_source(Option<TemplateVersionSourceInput>):An object that includes the template bundle S3 bucket path and name for the new version of a service template.
compatible_environment_templates(Vec<CompatibleEnvironmentTemplateInput>)/set_compatible_environment_templates(Option<Vec<CompatibleEnvironmentTemplateInput>>):An array of environment template objects that are compatible with the new service template version. A service instance based on this service template version can run in environments based on compatible templates.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An optional list of metadata items that you can associate with the Proton service template version. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
supported_component_sources(Vec<ServiceTemplateSupportedComponentSourceType>)/set_supported_component_sources(Option<Vec<ServiceTemplateSupportedComponentSourceType>>):An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
- On success, responds with
CreateServiceTemplateVersionOutputwith field(s):service_template_version(Option<ServiceTemplateVersion>):The service template version summary of detail data that’s returned by Proton.
- On failure, responds with
SdkError<CreateServiceTemplateVersionError>
sourcepub fn create_template_sync_config(&self) -> CreateTemplateSyncConfig
pub fn create_template_sync_config(&self) -> CreateTemplateSyncConfig
Constructs a fluent builder for the CreateTemplateSyncConfig operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The name of your registered template.
template_type(TemplateType)/set_template_type(Option<TemplateType>):The type of the registered template.
repository_provider(RepositoryProvider)/set_repository_provider(Option<RepositoryProvider>):The provider type for your repository.
repository_name(impl Into<String>)/set_repository_name(Option<String>):The repository name (for example,
myrepos/myrepo).branch(impl Into<String>)/set_branch(Option<String>):The repository branch for your template.
subdirectory(impl Into<String>)/set_subdirectory(Option<String>):A repository subdirectory path to your template bundle directory. When included, Proton limits the template bundle search to this repository directory.
- On success, responds with
CreateTemplateSyncConfigOutputwith field(s):template_sync_config(Option<TemplateSyncConfig>):The template sync configuration detail data that’s returned by Proton.
- On failure, responds with
SdkError<CreateTemplateSyncConfigError>
sourcepub fn delete_component(&self) -> DeleteComponent
pub fn delete_component(&self) -> DeleteComponent
Constructs a fluent builder for the DeleteComponent operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the component to delete.
- On success, responds with
DeleteComponentOutputwith field(s):component(Option<Component>):The detailed data of the component being deleted.
- On failure, responds with
SdkError<DeleteComponentError>
sourcepub fn delete_environment(&self) -> DeleteEnvironment
pub fn delete_environment(&self) -> DeleteEnvironment
Constructs a fluent builder for the DeleteEnvironment operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the environment to delete.
- On success, responds with
DeleteEnvironmentOutputwith field(s):environment(Option<Environment>):The detailed data of the environment being deleted.
- On failure, responds with
SdkError<DeleteEnvironmentError>
sourcepub fn delete_environment_account_connection(
&self
) -> DeleteEnvironmentAccountConnection
pub fn delete_environment_account_connection(
&self
) -> DeleteEnvironmentAccountConnection
Constructs a fluent builder for the DeleteEnvironmentAccountConnection operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the environment account connection to delete.
- On success, responds with
DeleteEnvironmentAccountConnectionOutputwith field(s):environment_account_connection(Option<EnvironmentAccountConnection>):The detailed data of the environment account connection being deleted.
- On failure, responds with
SdkError<DeleteEnvironmentAccountConnectionError>
sourcepub fn delete_environment_template(&self) -> DeleteEnvironmentTemplate
pub fn delete_environment_template(&self) -> DeleteEnvironmentTemplate
Constructs a fluent builder for the DeleteEnvironmentTemplate operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the environment template to delete.
- On success, responds with
DeleteEnvironmentTemplateOutputwith field(s):environment_template(Option<EnvironmentTemplate>):The detailed data of the environment template being deleted.
- On failure, responds with
SdkError<DeleteEnvironmentTemplateError>
sourcepub fn delete_environment_template_version(
&self
) -> DeleteEnvironmentTemplateVersion
pub fn delete_environment_template_version(
&self
) -> DeleteEnvironmentTemplateVersion
Constructs a fluent builder for the DeleteEnvironmentTemplateVersion operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the environment template.
major_version(impl Into<String>)/set_major_version(Option<String>):The environment template major version to delete.
minor_version(impl Into<String>)/set_minor_version(Option<String>):The environment template minor version to delete.
- On success, responds with
DeleteEnvironmentTemplateVersionOutputwith field(s):environment_template_version(Option<EnvironmentTemplateVersion>):The detailed data of the environment template version being deleted.
- On failure, responds with
SdkError<DeleteEnvironmentTemplateVersionError>
sourcepub fn delete_repository(&self) -> DeleteRepository
pub fn delete_repository(&self) -> DeleteRepository
Constructs a fluent builder for the DeleteRepository operation.
- The fluent builder is configurable:
provider(RepositoryProvider)/set_provider(Option<RepositoryProvider>):The repository provider.
name(impl Into<String>)/set_name(Option<String>):The repository name.
- On success, responds with
DeleteRepositoryOutputwith field(s):repository(Option<Repository>):The deleted repository link’s detail data that’s returned by Proton.
- On failure, responds with
SdkError<DeleteRepositoryError>
sourcepub fn delete_service(&self) -> DeleteService
pub fn delete_service(&self) -> DeleteService
Constructs a fluent builder for the DeleteService operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the service to delete.
- On success, responds with
DeleteServiceOutputwith field(s):service(Option<Service>):The detailed data of the service being deleted.
- On failure, responds with
SdkError<DeleteServiceError>
sourcepub fn delete_service_template(&self) -> DeleteServiceTemplate
pub fn delete_service_template(&self) -> DeleteServiceTemplate
Constructs a fluent builder for the DeleteServiceTemplate operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the service template to delete.
- On success, responds with
DeleteServiceTemplateOutputwith field(s):service_template(Option<ServiceTemplate>):The detailed data of the service template being deleted.
- On failure, responds with
SdkError<DeleteServiceTemplateError>
sourcepub fn delete_service_template_version(&self) -> DeleteServiceTemplateVersion
pub fn delete_service_template_version(&self) -> DeleteServiceTemplateVersion
Constructs a fluent builder for the DeleteServiceTemplateVersion operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the service template.
major_version(impl Into<String>)/set_major_version(Option<String>):The service template major version to delete.
minor_version(impl Into<String>)/set_minor_version(Option<String>):The service template minor version to delete.
- On success, responds with
DeleteServiceTemplateVersionOutputwith field(s):service_template_version(Option<ServiceTemplateVersion>):The detailed data of the service template version being deleted.
- On failure, responds with
SdkError<DeleteServiceTemplateVersionError>
sourcepub fn delete_template_sync_config(&self) -> DeleteTemplateSyncConfig
pub fn delete_template_sync_config(&self) -> DeleteTemplateSyncConfig
Constructs a fluent builder for the DeleteTemplateSyncConfig operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The template name.
template_type(TemplateType)/set_template_type(Option<TemplateType>):The template type.
- On success, responds with
DeleteTemplateSyncConfigOutputwith field(s):template_sync_config(Option<TemplateSyncConfig>):The template sync configuration detail data that’s returned by Proton.
- On failure, responds with
SdkError<DeleteTemplateSyncConfigError>
sourcepub fn get_account_settings(&self) -> GetAccountSettings
pub fn get_account_settings(&self) -> GetAccountSettings
Constructs a fluent builder for the GetAccountSettings operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetAccountSettingsOutputwith field(s):account_settings(Option<AccountSettings>):The Proton pipeline service role detail data that’s returned by Proton.
- On failure, responds with
SdkError<GetAccountSettingsError>
sourcepub fn get_component(&self) -> GetComponent
pub fn get_component(&self) -> GetComponent
Constructs a fluent builder for the GetComponent operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the component that you want to get the detailed data for.
- On success, responds with
GetComponentOutputwith field(s):component(Option<Component>):The detailed data of the requested component.
- On failure, responds with
SdkError<GetComponentError>
sourcepub fn get_environment(&self) -> GetEnvironment
pub fn get_environment(&self) -> GetEnvironment
Constructs a fluent builder for the GetEnvironment operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the environment that you want to get the detailed data for.
- On success, responds with
GetEnvironmentOutputwith field(s):environment(Option<Environment>):The detailed data of the requested environment.
- On failure, responds with
SdkError<GetEnvironmentError>
sourcepub fn get_environment_account_connection(
&self
) -> GetEnvironmentAccountConnection
pub fn get_environment_account_connection(
&self
) -> GetEnvironmentAccountConnection
Constructs a fluent builder for the GetEnvironmentAccountConnection operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the environment account connection that you want to get the detailed data for.
- On success, responds with
GetEnvironmentAccountConnectionOutputwith field(s):environment_account_connection(Option<EnvironmentAccountConnection>):The detailed data of the requested environment account connection.
- On failure, responds with
SdkError<GetEnvironmentAccountConnectionError>
sourcepub fn get_environment_template(&self) -> GetEnvironmentTemplate
pub fn get_environment_template(&self) -> GetEnvironmentTemplate
Constructs a fluent builder for the GetEnvironmentTemplate operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the environment template that you want to get the detailed data for.
- On success, responds with
GetEnvironmentTemplateOutputwith field(s):environment_template(Option<EnvironmentTemplate>):The detailed data of the requested environment template.
- On failure, responds with
SdkError<GetEnvironmentTemplateError>
sourcepub fn get_environment_template_version(&self) -> GetEnvironmentTemplateVersion
pub fn get_environment_template_version(&self) -> GetEnvironmentTemplateVersion
Constructs a fluent builder for the GetEnvironmentTemplateVersion operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the environment template a version of which you want to get detailed data for.
major_version(impl Into<String>)/set_major_version(Option<String>):To get environment template major version detail data, include
major Version.minor_version(impl Into<String>)/set_minor_version(Option<String>):To get environment template minor version detail data, include
minorVersion.
- On success, responds with
GetEnvironmentTemplateVersionOutputwith field(s):environment_template_version(Option<EnvironmentTemplateVersion>):The detailed data of the requested environment template version.
- On failure, responds with
SdkError<GetEnvironmentTemplateVersionError>
sourcepub fn get_repository(&self) -> GetRepository
pub fn get_repository(&self) -> GetRepository
Constructs a fluent builder for the GetRepository operation.
- The fluent builder is configurable:
provider(RepositoryProvider)/set_provider(Option<RepositoryProvider>):The repository provider.
name(impl Into<String>)/set_name(Option<String>):The repository name, for example
myrepos/myrepo.
- On success, responds with
GetRepositoryOutputwith field(s):repository(Option<Repository>):The repository link’s detail data that’s returned by Proton.
- On failure, responds with
SdkError<GetRepositoryError>
sourcepub fn get_repository_sync_status(&self) -> GetRepositorySyncStatus
pub fn get_repository_sync_status(&self) -> GetRepositorySyncStatus
Constructs a fluent builder for the GetRepositorySyncStatus operation.
- The fluent builder is configurable:
repository_name(impl Into<String>)/set_repository_name(Option<String>):The repository name.
repository_provider(RepositoryProvider)/set_repository_provider(Option<RepositoryProvider>):The repository provider.
branch(impl Into<String>)/set_branch(Option<String>):The repository branch.
sync_type(SyncType)/set_sync_type(Option<SyncType>):The repository sync type.
- On success, responds with
GetRepositorySyncStatusOutputwith field(s):latest_sync(Option<RepositorySyncAttempt>):The repository sync status detail data that’s returned by Proton.
- On failure, responds with
SdkError<GetRepositorySyncStatusError>
sourcepub fn get_service(&self) -> GetService
pub fn get_service(&self) -> GetService
Constructs a fluent builder for the GetService operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the service that you want to get the detailed data for.
- On success, responds with
GetServiceOutputwith field(s):service(Option<Service>):The detailed data of the requested service.
- On failure, responds with
SdkError<GetServiceError>
sourcepub fn get_service_instance(&self) -> GetServiceInstance
pub fn get_service_instance(&self) -> GetServiceInstance
Constructs a fluent builder for the GetServiceInstance operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of a service instance that you want to get the detailed data for.
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service that the service instance belongs to.
- On success, responds with
GetServiceInstanceOutputwith field(s):service_instance(Option<ServiceInstance>):The detailed data of the requested service instance.
- On failure, responds with
SdkError<GetServiceInstanceError>
sourcepub fn get_service_template(&self) -> GetServiceTemplate
pub fn get_service_template(&self) -> GetServiceTemplate
Constructs a fluent builder for the GetServiceTemplate operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the service template that you want to get detailed data for.
- On success, responds with
GetServiceTemplateOutputwith field(s):service_template(Option<ServiceTemplate>):The detailed data of the requested service template.
- On failure, responds with
SdkError<GetServiceTemplateError>
sourcepub fn get_service_template_version(&self) -> GetServiceTemplateVersion
pub fn get_service_template_version(&self) -> GetServiceTemplateVersion
Constructs a fluent builder for the GetServiceTemplateVersion operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the service template a version of which you want to get detailed data for.
major_version(impl Into<String>)/set_major_version(Option<String>):To get service template major version detail data, include
major Version.minor_version(impl Into<String>)/set_minor_version(Option<String>):To get service template minor version detail data, include
minorVersion.
- On success, responds with
GetServiceTemplateVersionOutputwith field(s):service_template_version(Option<ServiceTemplateVersion>):The detailed data of the requested service template version.
- On failure, responds with
SdkError<GetServiceTemplateVersionError>
sourcepub fn get_template_sync_config(&self) -> GetTemplateSyncConfig
pub fn get_template_sync_config(&self) -> GetTemplateSyncConfig
Constructs a fluent builder for the GetTemplateSyncConfig operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The template name.
template_type(TemplateType)/set_template_type(Option<TemplateType>):The template type.
- On success, responds with
GetTemplateSyncConfigOutputwith field(s):template_sync_config(Option<TemplateSyncConfig>):The template sync configuration detail data that’s returned by Proton.
- On failure, responds with
SdkError<GetTemplateSyncConfigError>
sourcepub fn get_template_sync_status(&self) -> GetTemplateSyncStatus
pub fn get_template_sync_status(&self) -> GetTemplateSyncStatus
Constructs a fluent builder for the GetTemplateSyncStatus operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The template name.
template_type(TemplateType)/set_template_type(Option<TemplateType>):The template type.
template_version(impl Into<String>)/set_template_version(Option<String>):The template major version.
- On success, responds with
GetTemplateSyncStatusOutputwith field(s):latest_sync(Option<ResourceSyncAttempt>):The details of the last sync that’s returned by Proton.
latest_successful_sync(Option<ResourceSyncAttempt>):The details of the last successful sync that’s returned by Proton.
desired_state(Option<Revision>):The template sync desired state that’s returned by Proton.
- On failure, responds with
SdkError<GetTemplateSyncStatusError>
sourcepub fn list_component_outputs(&self) -> ListComponentOutputs
pub fn list_component_outputs(&self) -> ListComponentOutputs
Constructs a fluent builder for the ListComponentOutputs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component whose outputs you want.
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next output in the array of outputs, after the list of outputs that was previously requested.
- On success, responds with
ListComponentOutputsOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next output in the array of outputs, after the list of outputs that was previously requested.
outputs(Option<Vec<Output>>):An array of component Infrastructure as Code (IaC) outputs.
- On failure, responds with
SdkError<ListComponentOutputsError>
sourcepub fn list_component_provisioned_resources(
&self
) -> ListComponentProvisionedResources
pub fn list_component_provisioned_resources(
&self
) -> ListComponentProvisionedResources
Constructs a fluent builder for the ListComponentProvisionedResources operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component whose provisioned resources you want.
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the list of provisioned resources that was previously requested.
- On success, responds with
ListComponentProvisionedResourcesOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the current requested list of provisioned resources.
provisioned_resources(Option<Vec<ProvisionedResource>>):An array of provisioned resources for a component.
- On failure, responds with
SdkError<ListComponentProvisionedResourcesError>
sourcepub fn list_components(&self) -> ListComponents
pub fn list_components(&self) -> ListComponents
Constructs a fluent builder for the ListComponents operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next component in the array of components, after the list of components that was previously requested.
environment_name(impl Into<String>)/set_environment_name(Option<String>):The name of an environment for result list filtering. Proton returns components associated with the environment or attached to service instances running in it.
service_name(impl Into<String>)/set_service_name(Option<String>):The name of a service for result list filtering. Proton returns components attached to service instances of the service.
service_instance_name(impl Into<String>)/set_service_instance_name(Option<String>):The name of a service instance for result list filtering. Proton returns the component attached to the service instance, if any.
max_results(i32)/set_max_results(Option<i32>):The maximum number of components to list.
- On success, responds with
ListComponentsOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next component in the array of components, after the current requested list of components.
components(Option<Vec<ComponentSummary>>):An array of components with summary data.
- On failure, responds with
SdkError<ListComponentsError>
sourcepub fn list_environment_account_connections(
&self
) -> ListEnvironmentAccountConnections
pub fn list_environment_account_connections(
&self
) -> ListEnvironmentAccountConnections
Constructs a fluent builder for the ListEnvironmentAccountConnections operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
requested_by(EnvironmentAccountConnectionRequesterAccountType)/set_requested_by(Option<EnvironmentAccountConnectionRequesterAccountType>):The type of account making the
ListEnvironmentAccountConnectionsrequest.environment_name(impl Into<String>)/set_environment_name(Option<String>):The environment name that’s associated with each listed environment account connection.
statuses(Vec<EnvironmentAccountConnectionStatus>)/set_statuses(Option<Vec<EnvironmentAccountConnectionStatus>>):The status details for each listed environment account connection.
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next environment account connection in the array of environment account connections, after the list of environment account connections that was previously requested.
max_results(i32)/set_max_results(Option<i32>):The maximum number of environment account connections to list.
- On success, responds with
ListEnvironmentAccountConnectionsOutputwith field(s):environment_account_connections(Option<Vec<EnvironmentAccountConnectionSummary>>):An array of environment account connections with details that’s returned by Proton.
next_token(Option<String>):A token that indicates the location of the next environment account connection in the array of environment account connections, after the current requested list of environment account connections.
- On failure, responds with
SdkError<ListEnvironmentAccountConnectionsError>
sourcepub fn list_environment_outputs(&self) -> ListEnvironmentOutputs
pub fn list_environment_outputs(&self) -> ListEnvironmentOutputs
Constructs a fluent builder for the ListEnvironmentOutputs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
environment_name(impl Into<String>)/set_environment_name(Option<String>):The environment name.
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next environment output in the array of environment outputs, after the list of environment outputs that was previously requested.
- On success, responds with
ListEnvironmentOutputsOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next environment output in the array of environment outputs, after the current requested list of environment outputs.
outputs(Option<Vec<Output>>):An array of environment outputs with detail data.
- On failure, responds with
SdkError<ListEnvironmentOutputsError>
sourcepub fn list_environment_provisioned_resources(
&self
) -> ListEnvironmentProvisionedResources
pub fn list_environment_provisioned_resources(
&self
) -> ListEnvironmentProvisionedResources
Constructs a fluent builder for the ListEnvironmentProvisionedResources operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
environment_name(impl Into<String>)/set_environment_name(Option<String>):The environment name.
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next environment provisioned resource in the array of environment provisioned resources, after the list of environment provisioned resources that was previously requested.
- On success, responds with
ListEnvironmentProvisionedResourcesOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next environment provisioned resource in the array of provisioned resources, after the current requested list of environment provisioned resources.
provisioned_resources(Option<Vec<ProvisionedResource>>):An array of environment provisioned resources.
- On failure, responds with
SdkError<ListEnvironmentProvisionedResourcesError>
sourcepub fn list_environments(&self) -> ListEnvironments
pub fn list_environments(&self) -> ListEnvironments
Constructs a fluent builder for the ListEnvironments operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.
max_results(i32)/set_max_results(Option<i32>):The maximum number of environments to list.
environment_templates(Vec<EnvironmentTemplateFilter>)/set_environment_templates(Option<Vec<EnvironmentTemplateFilter>>):An array of the versions of the environment template.
- On success, responds with
ListEnvironmentsOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next environment in the array of environments, after the current requested list of environments.
environments(Option<Vec<EnvironmentSummary>>):An array of environment detail data summaries.
- On failure, responds with
SdkError<ListEnvironmentsError>
sourcepub fn list_environment_templates(&self) -> ListEnvironmentTemplates
pub fn list_environment_templates(&self) -> ListEnvironmentTemplates
Constructs a fluent builder for the ListEnvironmentTemplates operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next environment template in the array of environment templates, after the list of environment templates that was previously requested.
max_results(i32)/set_max_results(Option<i32>):The maximum number of environment templates to list.
- On success, responds with
ListEnvironmentTemplatesOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next environment template in the array of environment templates, after the current requested list of environment templates.
templates(Option<Vec<EnvironmentTemplateSummary>>):An array of environment templates with detail data.
- On failure, responds with
SdkError<ListEnvironmentTemplatesError>
sourcepub fn list_environment_template_versions(
&self
) -> ListEnvironmentTemplateVersions
pub fn list_environment_template_versions(
&self
) -> ListEnvironmentTemplateVersions
Constructs a fluent builder for the ListEnvironmentTemplateVersions operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.
max_results(i32)/set_max_results(Option<i32>):The maximum number of major or minor versions of an environment template to list.
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the environment template.
major_version(impl Into<String>)/set_major_version(Option<String>):To view a list of minor of versions under a major version of an environment template, include
major Version.To view a list of major versions of an environment template, exclude
major Version.
- On success, responds with
ListEnvironmentTemplateVersionsOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.
template_versions(Option<Vec<EnvironmentTemplateVersionSummary>>):An array of major or minor versions of an environment template detail data.
- On failure, responds with
SdkError<ListEnvironmentTemplateVersionsError>
sourcepub fn list_repositories(&self) -> ListRepositories
pub fn list_repositories(&self) -> ListRepositories
Constructs a fluent builder for the ListRepositories operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next repository in the array of repositories, after the list of repositories previously requested.
max_results(i32)/set_max_results(Option<i32>):The maximum number of repositories to list.
- On success, responds with
ListRepositoriesOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next repository in the array of repositories, after the current requested list of repositories.
repositories(Option<Vec<RepositorySummary>>):An array of repository links.
- On failure, responds with
SdkError<ListRepositoriesError>
sourcepub fn list_repository_sync_definitions(&self) -> ListRepositorySyncDefinitions
pub fn list_repository_sync_definitions(&self) -> ListRepositorySyncDefinitions
Constructs a fluent builder for the ListRepositorySyncDefinitions operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
repository_name(impl Into<String>)/set_repository_name(Option<String>):The repository name.
repository_provider(RepositoryProvider)/set_repository_provider(Option<RepositoryProvider>):The repository provider.
sync_type(SyncType)/set_sync_type(Option<SyncType>):The sync type. The only supported value is
TEMPLATE_SYNC.next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next repository sync definition in the array of repository sync definitions, after the list of repository sync definitions previously requested.
- On success, responds with
ListRepositorySyncDefinitionsOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next repository sync definition in the array of repository sync definitions, after the current requested list of repository sync definitions.
sync_definitions(Option<Vec<RepositorySyncDefinition>>):An array of repository sync definitions.
- On failure, responds with
SdkError<ListRepositorySyncDefinitionsError>
sourcepub fn list_service_instance_outputs(&self) -> ListServiceInstanceOutputs
pub fn list_service_instance_outputs(&self) -> ListServiceInstanceOutputs
Constructs a fluent builder for the ListServiceInstanceOutputs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
service_instance_name(impl Into<String>)/set_service_instance_name(Option<String>):The name of the service instance whose outputs you want.
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service that
serviceInstanceNameis associated to.next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next output in the array of outputs, after the list of outputs that was previously requested.
- On success, responds with
ListServiceInstanceOutputsOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next output in the array of outputs, after the current requested list of outputs.
outputs(Option<Vec<Output>>):An array of service instance Infrastructure as Code (IaC) outputs.
- On failure, responds with
SdkError<ListServiceInstanceOutputsError>
sourcepub fn list_service_instance_provisioned_resources(
&self
) -> ListServiceInstanceProvisionedResources
pub fn list_service_instance_provisioned_resources(
&self
) -> ListServiceInstanceProvisionedResources
Constructs a fluent builder for the ListServiceInstanceProvisionedResources operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service that
serviceInstanceNameis associated to.service_instance_name(impl Into<String>)/set_service_instance_name(Option<String>):The name of the service instance whose provisioned resources you want.
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the list of provisioned resources that was previously requested.
- On success, responds with
ListServiceInstanceProvisionedResourcesOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the current requested list of provisioned resources.
provisioned_resources(Option<Vec<ProvisionedResource>>):An array of provisioned resources for a service instance.
- On failure, responds with
SdkError<ListServiceInstanceProvisionedResourcesError>
sourcepub fn list_service_instances(&self) -> ListServiceInstances
pub fn list_service_instances(&self) -> ListServiceInstances
Constructs a fluent builder for the ListServiceInstances operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service that the service instance belongs to.
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next service in the array of service instances, after the list of service instances that was previously requested.
max_results(i32)/set_max_results(Option<i32>):The maximum number of service instances to list.
filters(Vec<ListServiceInstancesFilter>)/set_filters(Option<Vec<ListServiceInstancesFilter>>):An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
sort_by(ListServiceInstancesSortBy)/set_sort_by(Option<ListServiceInstancesSortBy>):The field that the result list is sorted by.
When you choose to sort by
serviceName, service instances within each service are sorted by service instance name.Default:
serviceNamesort_order(SortOrder)/set_sort_order(Option<SortOrder>):Result list sort order.
Default:
ASCENDING
- On success, responds with
ListServiceInstancesOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next service instance in the array of service instances, after the current requested list of service instances.
service_instances(Option<Vec<ServiceInstanceSummary>>):An array of service instances with summary data.
- On failure, responds with
SdkError<ListServiceInstancesError>
sourcepub fn list_service_pipeline_outputs(&self) -> ListServicePipelineOutputs
pub fn list_service_pipeline_outputs(&self) -> ListServicePipelineOutputs
Constructs a fluent builder for the ListServicePipelineOutputs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service whose pipeline’s outputs you want.
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next output in the array of outputs, after the list of outputs that was previously requested.
- On success, responds with
ListServicePipelineOutputsOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next output in the array of outputs, after the current requested list of outputs.
outputs(Option<Vec<Output>>):An array of service pipeline Infrastructure as Code (IaC) outputs.
- On failure, responds with
SdkError<ListServicePipelineOutputsError>
sourcepub fn list_service_pipeline_provisioned_resources(
&self
) -> ListServicePipelineProvisionedResources
pub fn list_service_pipeline_provisioned_resources(
&self
) -> ListServicePipelineProvisionedResources
Constructs a fluent builder for the ListServicePipelineProvisionedResources operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service whose pipeline’s provisioned resources you want.
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the list of provisioned resources that was previously requested.
- On success, responds with
ListServicePipelineProvisionedResourcesOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the current requested list of provisioned resources.
provisioned_resources(Option<Vec<ProvisionedResource>>):An array of provisioned resources for a service and pipeline.
- On failure, responds with
SdkError<ListServicePipelineProvisionedResourcesError>
sourcepub fn list_services(&self) -> ListServices
pub fn list_services(&self) -> ListServices
Constructs a fluent builder for the ListServices operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next service in the array of services, after the list of services that was previously requested.
max_results(i32)/set_max_results(Option<i32>):The maximum number of services to list.
- On success, responds with
ListServicesOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next service in the array of services, after the current requested list of services.
services(Option<Vec<ServiceSummary>>):An array of services with summaries of detail data.
- On failure, responds with
SdkError<ListServicesError>
sourcepub fn list_service_templates(&self) -> ListServiceTemplates
pub fn list_service_templates(&self) -> ListServiceTemplates
Constructs a fluent builder for the ListServiceTemplates operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next service template in the array of service templates, after the list of service templates previously requested.
max_results(i32)/set_max_results(Option<i32>):The maximum number of service templates to list.
- On success, responds with
ListServiceTemplatesOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.
templates(Option<Vec<ServiceTemplateSummary>>):An array of service templates with detail data.
- On failure, responds with
SdkError<ListServiceTemplatesError>
sourcepub fn list_service_template_versions(&self) -> ListServiceTemplateVersions
pub fn list_service_template_versions(&self) -> ListServiceTemplateVersions
Constructs a fluent builder for the ListServiceTemplateVersions operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next major or minor version in the array of major or minor versions of a service template, after the list of major or minor versions that was previously requested.
max_results(i32)/set_max_results(Option<i32>):The maximum number of major or minor versions of a service template to list.
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the service template.
major_version(impl Into<String>)/set_major_version(Option<String>):To view a list of minor of versions under a major version of a service template, include
major Version.To view a list of major versions of a service template, exclude
major Version.
- On success, responds with
ListServiceTemplateVersionsOutputwith field(s):next_token(Option<String>):A token that indicates the location of the next major or minor version in the array of major or minor versions of a service template, after the current requested list of service major or minor versions.
template_versions(Option<Vec<ServiceTemplateVersionSummary>>):An array of major or minor versions of a service template with detail data.
- On failure, responds with
SdkError<ListServiceTemplateVersionsError>
Constructs a fluent builder for the ListTagsForResource operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the resource for the listed tags.
next_token(impl Into<String>)/set_next_token(Option<String>):A token that indicates the location of the next resource tag in the array of resource tags, after the list of resource tags that was previously requested.
max_results(i32)/set_max_results(Option<i32>):The maximum number of tags to list.
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<Vec<Tag>>):A list of resource tags with detail data.
next_token(Option<String>):A token that indicates the location of the next resource tag in the array of resource tags, after the current requested list of resource tags.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn notify_resource_deployment_status_change(
&self
) -> NotifyResourceDeploymentStatusChange
pub fn notify_resource_deployment_status_change(
&self
) -> NotifyResourceDeploymentStatusChange
Constructs a fluent builder for the NotifyResourceDeploymentStatusChange operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The provisioned resource Amazon Resource Name (ARN).
status(ResourceDeploymentStatus)/set_status(Option<ResourceDeploymentStatus>):The status of your provisioned resource.
outputs(Vec<Output>)/set_outputs(Option<Vec<Output>>):The provisioned resource state change detail data that’s returned by Proton.
deployment_id(impl Into<String>)/set_deployment_id(Option<String>):The deployment ID for your provisioned resource.
status_message(impl Into<String>)/set_status_message(Option<String>):The deployment status message for your provisioned resource.
- On success, responds with
NotifyResourceDeploymentStatusChangeOutput - On failure, responds with
SdkError<NotifyResourceDeploymentStatusChangeError>
sourcepub fn reject_environment_account_connection(
&self
) -> RejectEnvironmentAccountConnection
pub fn reject_environment_account_connection(
&self
) -> RejectEnvironmentAccountConnection
Constructs a fluent builder for the RejectEnvironmentAccountConnection operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the environment account connection to reject.
- On success, responds with
RejectEnvironmentAccountConnectionOutputwith field(s):environment_account_connection(Option<EnvironmentAccountConnection>):The environment connection account detail data that’s returned by Proton.
- On failure, responds with
SdkError<RejectEnvironmentAccountConnectionError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the Proton resource to apply customer tags to.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):A list of customer tags to apply to the Proton resource.
- On success, responds with
TagResourceOutput - On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the resource to remove customer tags from.
tag_keys(Vec<String>)/set_tag_keys(Option<Vec<String>>):A list of customer tag keys that indicate the customer tags to be removed from the resource.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_account_settings(&self) -> UpdateAccountSettings
pub fn update_account_settings(&self) -> UpdateAccountSettings
Constructs a fluent builder for the UpdateAccountSettings operation.
- The fluent builder is configurable:
pipeline_service_role_arn(impl Into<String>)/set_pipeline_service_role_arn(Option<String>):The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.
To remove a previously configured ARN, specify an empty string.
pipeline_provisioning_repository(RepositoryBranchInput)/set_pipeline_provisioning_repository(Option<RepositoryBranchInput>):A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see
CreateRepository.To remove a previously configured repository, set
deletePipelineProvisioningRepositorytotrue, and don’t setpipelineProvisioningRepository.delete_pipeline_provisioning_repository(bool)/set_delete_pipeline_provisioning_repository(Option<bool>):Set to
trueto remove a configured pipeline repository from the account settings. Don’t set this field if you are updating the configured pipeline repository.pipeline_codebuild_role_arn(impl Into<String>)/set_pipeline_codebuild_role_arn(Option<String>):The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
- On success, responds with
UpdateAccountSettingsOutputwith field(s):account_settings(Option<AccountSettings>):The Proton pipeline service role and repository data shared across the Amazon Web Services account.
- On failure, responds with
SdkError<UpdateAccountSettingsError>
sourcepub fn update_component(&self) -> UpdateComponent
pub fn update_component(&self) -> UpdateComponent
Constructs a fluent builder for the UpdateComponent operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the component to update.
deployment_type(ComponentDeploymentUpdateType)/set_deployment_type(Option<ComponentDeploymentUpdateType>):The deployment type. It defines the mode for updating a component, as follows:
-
NONEIn this mode, a deployment doesn’t occur. Only the requested metadata parameters are updated. You can only specify
descriptionin this mode. -
CURRENT_VERSIONIn this mode, the component is deployed and updated with the new
serviceSpec,templateSource, and/ortypethat you provide. Only requested parameters are updated.
-
description(impl Into<String>)/set_description(Option<String>):An optional customer-provided description of the component.
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service that
serviceInstanceNameis associated with. Don’t specify to keep the component’s current service instance attachment. Specify an empty string to detach the component from the service instance it’s attached to. Specify non-empty values for bothserviceInstanceNameandserviceNameor for neither of them.service_instance_name(impl Into<String>)/set_service_instance_name(Option<String>):The name of the service instance that you want to attach this component to. Don’t specify to keep the component’s current service instance attachment. Specify an empty string to detach the component from the service instance it’s attached to. Specify non-empty values for both
serviceInstanceNameandserviceNameor for neither of them.service_spec(impl Into<String>)/set_service_spec(Option<String>):The service spec that you want the component to use to access service inputs. Set this only when the component is attached to a service instance.
template_file(impl Into<String>)/set_template_file(Option<String>):A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
Components support a single IaC file, even if you use Terraform as your template language.
- On success, responds with
UpdateComponentOutputwith field(s):component(Option<Component>):The detailed data of the updated component.
- On failure, responds with
SdkError<UpdateComponentError>
sourcepub fn update_environment(&self) -> UpdateEnvironment
pub fn update_environment(&self) -> UpdateEnvironment
Constructs a fluent builder for the UpdateEnvironment operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the environment to update.
description(impl Into<String>)/set_description(Option<String>):A description of the environment update.
spec(impl Into<String>)/set_spec(Option<String>):The formatted specification that defines the update.
template_major_version(impl Into<String>)/set_template_major_version(Option<String>):The major version of the environment to update.
template_minor_version(impl Into<String>)/set_template_minor_version(Option<String>):The minor version of the environment to update.
proton_service_role_arn(impl Into<String>)/set_proton_service_role_arn(Option<String>):The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other services your behalf.
deployment_type(DeploymentUpdateType)/set_deployment_type(Option<DeploymentUpdateType>):There are four modes for updating an environment. The
deploymentTypefield defines the mode.-
NONEIn this mode, a deployment doesn’t occur. Only the requested metadata parameters are updated.
-
CURRENT_VERSIONIn this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this
deployment-type. -
MINOR_VERSIONIn this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
-
MAJOR_VERSIONIn this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).
-
environment_account_connection_id(impl Into<String>)/set_environment_account_connection_id(Option<String>):The ID of the environment account connection.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and is associated with the current environment.
provisioning_repository(RepositoryBranchInput)/set_provisioning_repository(Option<RepositoryBranchInput>):The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see
CreateRepository.component_role_arn(impl Into<String>)/set_component_role_arn(Option<String>):The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a
componentRoleArnto allow directly defined components to be associated with the environment.For more information about components, see Proton components in the Proton User Guide.
codebuild_role_arn(impl Into<String>)/set_codebuild_role_arn(Option<String>):The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
- On success, responds with
UpdateEnvironmentOutputwith field(s):environment(Option<Environment>):The environment detail data that’s returned by Proton.
- On failure, responds with
SdkError<UpdateEnvironmentError>
sourcepub fn update_environment_account_connection(
&self
) -> UpdateEnvironmentAccountConnection
pub fn update_environment_account_connection(
&self
) -> UpdateEnvironmentAccountConnection
Constructs a fluent builder for the UpdateEnvironmentAccountConnection operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the environment account connection to update.
role_arn(impl Into<String>)/set_role_arn(Option<String>):The Amazon Resource Name (ARN) of the IAM service role that’s associated with the environment account connection to update.
component_role_arn(impl Into<String>)/set_component_role_arn(Option<String>):The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a
componentRoleArnto allow directly defined components to be associated with any environments running in the account.For more information about components, see Proton components in the Proton User Guide.
codebuild_role_arn(impl Into<String>)/set_codebuild_role_arn(Option<String>):The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- On success, responds with
UpdateEnvironmentAccountConnectionOutputwith field(s):environment_account_connection(Option<EnvironmentAccountConnection>):The environment account connection detail data that’s returned by Proton.
- On failure, responds with
SdkError<UpdateEnvironmentAccountConnectionError>
sourcepub fn update_environment_template(&self) -> UpdateEnvironmentTemplate
pub fn update_environment_template(&self) -> UpdateEnvironmentTemplate
Constructs a fluent builder for the UpdateEnvironmentTemplate operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the environment template to update.
display_name(impl Into<String>)/set_display_name(Option<String>):The name of the environment template to update as displayed in the developer interface.
description(impl Into<String>)/set_description(Option<String>):A description of the environment template update.
- On success, responds with
UpdateEnvironmentTemplateOutputwith field(s):environment_template(Option<EnvironmentTemplate>):The environment template detail data that’s returned by Proton.
- On failure, responds with
SdkError<UpdateEnvironmentTemplateError>
sourcepub fn update_environment_template_version(
&self
) -> UpdateEnvironmentTemplateVersion
pub fn update_environment_template_version(
&self
) -> UpdateEnvironmentTemplateVersion
Constructs a fluent builder for the UpdateEnvironmentTemplateVersion operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the environment template.
major_version(impl Into<String>)/set_major_version(Option<String>):To update a major version of an environment template, include
major Version.minor_version(impl Into<String>)/set_minor_version(Option<String>):To update a minor version of an environment template, include
minorVersion.description(impl Into<String>)/set_description(Option<String>):A description of environment template version to update.
status(TemplateVersionStatus)/set_status(Option<TemplateVersionStatus>):The status of the environment template minor version to update.
- On success, responds with
UpdateEnvironmentTemplateVersionOutputwith field(s):environment_template_version(Option<EnvironmentTemplateVersion>):The environment template version detail data that’s returned by Proton.
- On failure, responds with
SdkError<UpdateEnvironmentTemplateVersionError>
sourcepub fn update_service(&self) -> UpdateService
pub fn update_service(&self) -> UpdateService
Constructs a fluent builder for the UpdateService operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the service to edit.
description(impl Into<String>)/set_description(Option<String>):The edited service description.
spec(impl Into<String>)/set_spec(Option<String>):Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. Don’t include edits to the existing service instances or pipeline. For more information, see Edit a service in the Proton User Guide.
- On success, responds with
UpdateServiceOutputwith field(s):service(Option<Service>):The service detail data that’s returned by Proton.
- On failure, responds with
SdkError<UpdateServiceError>
sourcepub fn update_service_instance(&self) -> UpdateServiceInstance
pub fn update_service_instance(&self) -> UpdateServiceInstance
Constructs a fluent builder for the UpdateServiceInstance operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the service instance to update.
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service that the service instance belongs to.
deployment_type(DeploymentUpdateType)/set_deployment_type(Option<DeploymentUpdateType>):The deployment type. It defines the mode for updating a service instance, as follows:
-
NONEIn this mode, a deployment doesn’t occur. Only the requested metadata parameters are updated.
-
CURRENT_VERSIONIn this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment type.
-
MINOR_VERSIONIn this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
-
MAJOR_VERSIONIn this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that’s higher than the major version in use and a minor version.
-
spec(impl Into<String>)/set_spec(Option<String>):The formatted specification that defines the service instance update.
template_major_version(impl Into<String>)/set_template_major_version(Option<String>):The major version of the service template to update.
template_minor_version(impl Into<String>)/set_template_minor_version(Option<String>):The minor version of the service template to update.
- On success, responds with
UpdateServiceInstanceOutputwith field(s):service_instance(Option<ServiceInstance>):The service instance summary data that’s returned by Proton.
- On failure, responds with
SdkError<UpdateServiceInstanceError>
sourcepub fn update_service_pipeline(&self) -> UpdateServicePipeline
pub fn update_service_pipeline(&self) -> UpdateServicePipeline
Constructs a fluent builder for the UpdateServicePipeline operation.
- The fluent builder is configurable:
service_name(impl Into<String>)/set_service_name(Option<String>):The name of the service to that the pipeline is associated with.
spec(impl Into<String>)/set_spec(Option<String>):The spec for the service pipeline to update.
deployment_type(DeploymentUpdateType)/set_deployment_type(Option<DeploymentUpdateType>):The deployment type.
There are four modes for updating a service pipeline. The
deploymentTypefield defines the mode.-
NONEIn this mode, a deployment doesn’t occur. Only the requested metadata parameters are updated.
-
CURRENT_VERSIONIn this mode, the service pipeline is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this
deployment-type. -
MINOR_VERSIONIn this mode, the service pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can specify a different minor version of the current major version in use.
-
MAJOR_VERSIONIn this mode, the service pipeline is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that’s higher than the major version in use and a minor version.
-
template_major_version(impl Into<String>)/set_template_major_version(Option<String>):The major version of the service template that was used to create the service that the pipeline is associated with.
template_minor_version(impl Into<String>)/set_template_minor_version(Option<String>):The minor version of the service template that was used to create the service that the pipeline is associated with.
- On success, responds with
UpdateServicePipelineOutputwith field(s):pipeline(Option<ServicePipeline>):The pipeline details that are returned by Proton.
- On failure, responds with
SdkError<UpdateServicePipelineError>
sourcepub fn update_service_template(&self) -> UpdateServiceTemplate
pub fn update_service_template(&self) -> UpdateServiceTemplate
Constructs a fluent builder for the UpdateServiceTemplate operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the service template to update.
display_name(impl Into<String>)/set_display_name(Option<String>):The name of the service template to update that’s displayed in the developer interface.
description(impl Into<String>)/set_description(Option<String>):A description of the service template update.
- On success, responds with
UpdateServiceTemplateOutputwith field(s):service_template(Option<ServiceTemplate>):The service template detail data that’s returned by Proton.
- On failure, responds with
SdkError<UpdateServiceTemplateError>
sourcepub fn update_service_template_version(&self) -> UpdateServiceTemplateVersion
pub fn update_service_template_version(&self) -> UpdateServiceTemplateVersion
Constructs a fluent builder for the UpdateServiceTemplateVersion operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The name of the service template.
major_version(impl Into<String>)/set_major_version(Option<String>):To update a major version of a service template, include
major Version.minor_version(impl Into<String>)/set_minor_version(Option<String>):To update a minor version of a service template, include
minorVersion.description(impl Into<String>)/set_description(Option<String>):A description of a service template version to update.
status(TemplateVersionStatus)/set_status(Option<TemplateVersionStatus>):The status of the service template minor version to update.
compatible_environment_templates(Vec<CompatibleEnvironmentTemplateInput>)/set_compatible_environment_templates(Option<Vec<CompatibleEnvironmentTemplateInput>>):An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.
supported_component_sources(Vec<ServiceTemplateSupportedComponentSourceType>)/set_supported_component_sources(Option<Vec<ServiceTemplateSupportedComponentSourceType>>):An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
A change to
supportedComponentSourcesdoesn’t impact existing component attachments to instances based on this template version. A change only affects later associations.For more information about components, see Proton components in the Proton User Guide.
- On success, responds with
UpdateServiceTemplateVersionOutputwith field(s):service_template_version(Option<ServiceTemplateVersion>):The service template version detail data that’s returned by Proton.
- On failure, responds with
SdkError<UpdateServiceTemplateVersionError>
sourcepub fn update_template_sync_config(&self) -> UpdateTemplateSyncConfig
pub fn update_template_sync_config(&self) -> UpdateTemplateSyncConfig
Constructs a fluent builder for the UpdateTemplateSyncConfig operation.
- The fluent builder is configurable:
template_name(impl Into<String>)/set_template_name(Option<String>):The synced template name.
template_type(TemplateType)/set_template_type(Option<TemplateType>):The synced template type.
repository_provider(RepositoryProvider)/set_repository_provider(Option<RepositoryProvider>):The repository provider.
repository_name(impl Into<String>)/set_repository_name(Option<String>):The repository name (for example,
myrepos/myrepo).branch(impl Into<String>)/set_branch(Option<String>):The repository branch for your template.
subdirectory(impl Into<String>)/set_subdirectory(Option<String>):A subdirectory path to your template bundle version. When included, limits the template bundle search to this repository directory.
- On success, responds with
UpdateTemplateSyncConfigOutputwith field(s):template_sync_config(Option<TemplateSyncConfig>):The template sync configuration detail data that’s returned by Proton.
- On failure, responds with
SdkError<UpdateTemplateSyncConfigError>
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
Panics
- This method will panic if the
sdk_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.
sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config.
Panics
- This method will panic if the
confis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
confis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.