Struct aws_sdk_codecatalyst::Client
source · pub struct Client { /* private fields */ }
Expand description
Client for Amazon CodeCatalyst
Client for invoking operations on Amazon CodeCatalyst. Each operation on Amazon CodeCatalyst 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_codecatalyst::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_codecatalyst::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_codecatalyst::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 create_access_token(&self) -> CreateAccessToken
pub fn create_access_token(&self) -> CreateAccessToken
Constructs a fluent builder for the CreateAccessToken
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:The friendly name of the personal access token.
expires_time(DateTime)
/set_expires_time(Option<DateTime>)
:The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
- On success, responds with
CreateAccessTokenOutput
with field(s):secret(Option<String>)
:The secret value of the personal access token.
name(Option<String>)
:The friendly name of the personal access token.
expires_time(Option<DateTime>)
:The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in RFC 3339. If not specified, the default is one year from creation.
- On failure, responds with
SdkError<CreateAccessTokenError>
sourcepub fn create_dev_environment(&self) -> CreateDevEnvironment
pub fn create_dev_environment(&self) -> CreateDevEnvironment
Constructs a fluent builder for the CreateDevEnvironment
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
repositories(Vec<RepositoryInput>)
/set_repositories(Option<Vec<RepositoryInput>>)
:The source repository that contains the branch to clone into the Dev Environment.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
alias(impl Into<String>)
/set_alias(Option<String>)
:The user-defined alias for a Dev Environment.
ides(Vec<IdeConfiguration>)
/set_ides(Option<Vec<IdeConfiguration>>)
:Information about the integrated development environment (IDE) configured for a Dev Environment.
An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration information and must be provided.
instance_type(InstanceType)
/set_instance_type(Option<InstanceType>)
:The Amazon EC2 instace type to use for the Dev Environment.
inactivity_timeout_minutes(i32)
/set_inactivity_timeout_minutes(i32)
:The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.
persistent_storage(PersistentStorageConfiguration)
/set_persistent_storage(Option<PersistentStorageConfiguration>)
:Information about the amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage.
Valid values for persistent storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.
- On success, responds with
CreateDevEnvironmentOutput
with field(s):space_name(Option<String>)
:The name of the space.
project_name(Option<String>)
:The name of the project in the space.
id(Option<String>)
:The system-generated unique ID of the Dev Environment.
- On failure, responds with
SdkError<CreateDevEnvironmentError>
sourcepub fn create_project(&self) -> CreateProject
pub fn create_project(&self) -> CreateProject
Constructs a fluent builder for the CreateProject
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
display_name(impl Into<String>)
/set_display_name(Option<String>)
:The friendly name of the project that will be displayed to users.
description(impl Into<String>)
/set_description(Option<String>)
:The description of the project. This description will be displayed to all users of the project. We recommend providing a brief description of the project and its intended purpose.
- On success, responds with
CreateProjectOutput
with field(s):space_name(Option<String>)
:The name of the space.
name(Option<String>)
:The name of the project in the space.
display_name(Option<String>)
:The friendly name of the project.
description(Option<String>)
:The description of the project.
- On failure, responds with
SdkError<CreateProjectError>
sourcepub fn create_source_repository_branch(&self) -> CreateSourceRepositoryBranch
pub fn create_source_repository_branch(&self) -> CreateSourceRepositoryBranch
Constructs a fluent builder for the CreateSourceRepositoryBranch
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
source_repository_name(impl Into<String>)
/set_source_repository_name(Option<String>)
:The name of the repository where you want to create a branch.
name(impl Into<String>)
/set_name(Option<String>)
:The name for the branch you’re creating.
head_commit_id(impl Into<String>)
/set_head_commit_id(Option<String>)
:The commit ID in an existing branch from which you want to create the new branch.
- On success, responds with
CreateSourceRepositoryBranchOutput
with field(s):r#ref(Option<String>)
:The Git reference name of the branch.
name(Option<String>)
:The name of the newly created branch.
last_updated_time(Option<DateTime>)
:The time the branch was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
head_commit_id(Option<String>)
:The commit ID of the tip of the newly created branch.
- On failure, responds with
SdkError<CreateSourceRepositoryBranchError>
sourcepub fn delete_access_token(&self) -> DeleteAccessToken
pub fn delete_access_token(&self) -> DeleteAccessToken
Constructs a fluent builder for the DeleteAccessToken
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:The ID of the personal access token to delete. You can find the IDs of all PATs associated with your user account by calling
ListAccessTokens
.
- On success, responds with
DeleteAccessTokenOutput
- On failure, responds with
SdkError<DeleteAccessTokenError>
sourcepub fn delete_dev_environment(&self) -> DeleteDevEnvironment
pub fn delete_dev_environment(&self) -> DeleteDevEnvironment
Constructs a fluent builder for the DeleteDevEnvironment
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
id(impl Into<String>)
/set_id(Option<String>)
:The system-generated unique ID of the Dev Environment you want to delete. To retrieve a list of Dev Environment IDs, use
ListDevEnvironments
.
- On success, responds with
DeleteDevEnvironmentOutput
with field(s):space_name(Option<String>)
:The name of the space.
project_name(Option<String>)
:The name of the project in the space.
id(Option<String>)
:The system-generated unique ID of the deleted Dev Environment.
- On failure, responds with
SdkError<DeleteDevEnvironmentError>
sourcepub fn get_dev_environment(&self) -> GetDevEnvironment
pub fn get_dev_environment(&self) -> GetDevEnvironment
Constructs a fluent builder for the GetDevEnvironment
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
id(impl Into<String>)
/set_id(Option<String>)
:The system-generated unique ID of the Dev Environment for which you want to view information. To retrieve a list of Dev Environment IDs, use
ListDevEnvironments
.
- On success, responds with
GetDevEnvironmentOutput
with field(s):space_name(Option<String>)
:The name of the space.
project_name(Option<String>)
:The name of the project in the space.
id(Option<String>)
:The system-generated unique ID of the Dev Environment.
last_updated_time(Option<DateTime>)
:The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
creator_id(Option<String>)
:The system-generated unique ID of the user who created the Dev Environment.
status(Option<DevEnvironmentStatus>)
:The current status of the Dev Environment.
status_reason(Option<String>)
:The reason for the status.
repositories(Option<Vec<DevEnvironmentRepositorySummary>>)
:The source repository that contains the branch cloned into the Dev Environment.
alias(Option<String>)
:The user-specified alias for the Dev Environment.
ides(Option<Vec<Ide>>)
:Information about the integrated development environment (IDE) configured for the Dev Environment.
instance_type(Option<InstanceType>)
:The Amazon EC2 instace type to use for the Dev Environment.
inactivity_timeout_minutes(i32)
:The amount of time the Dev Environment will run without any activity detected before stopping, in minutes.
persistent_storage(Option<PersistentStorage>)
:Information about the amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage.
- On failure, responds with
SdkError<GetDevEnvironmentError>
sourcepub fn get_project(&self) -> GetProject
pub fn get_project(&self) -> GetProject
Constructs a fluent builder for the GetProject
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
name(impl Into<String>)
/set_name(Option<String>)
:The name of the project in the space.
- On success, responds with
GetProjectOutput
with field(s):space_name(Option<String>)
:The name of the space.
name(Option<String>)
:The name of the project in the space.
display_name(Option<String>)
:The friendly name of the project displayed to users in Amazon CodeCatalyst.
description(Option<String>)
:The description of the project.
- On failure, responds with
SdkError<GetProjectError>
sourcepub fn get_source_repository_clone_urls(&self) -> GetSourceRepositoryCloneUrls
pub fn get_source_repository_clone_urls(&self) -> GetSourceRepositoryCloneUrls
Constructs a fluent builder for the GetSourceRepositoryCloneUrls
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
source_repository_name(impl Into<String>)
/set_source_repository_name(Option<String>)
:The name of the source repository.
- On success, responds with
GetSourceRepositoryCloneUrlsOutput
with field(s):https(Option<String>)
:The HTTPS URL to use when cloning the source repository.
- On failure, responds with
SdkError<GetSourceRepositoryCloneUrlsError>
sourcepub fn get_space(&self) -> GetSpace
pub fn get_space(&self) -> GetSpace
Constructs a fluent builder for the GetSpace
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:The name of the space.
- On success, responds with
GetSpaceOutput
with field(s):name(Option<String>)
:The name of the space.
region_name(Option<String>)
:The Amazon Web Services Region where the space exists.
display_name(Option<String>)
:The friendly name of the space displayed to users.
description(Option<String>)
:The description of the space.
- On failure, responds with
SdkError<GetSpaceError>
sourcepub fn get_subscription(&self) -> GetSubscription
pub fn get_subscription(&self) -> GetSubscription
Constructs a fluent builder for the GetSubscription
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
- On success, responds with
GetSubscriptionOutput
with field(s):subscription_type(Option<String>)
:The type of the billing plan for the space.
aws_account_name(Option<String>)
:The display name of the Amazon Web Services account used for billing for the space.
- On failure, responds with
SdkError<GetSubscriptionError>
sourcepub fn get_user_details(&self) -> GetUserDetails
pub fn get_user_details(&self) -> GetUserDetails
Constructs a fluent builder for the GetUserDetails
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:The system-generated unique ID of the user.
user_name(impl Into<String>)
/set_user_name(Option<String>)
:The name of the user as displayed in Amazon CodeCatalyst.
- On success, responds with
GetUserDetailsOutput
with field(s):user_id(Option<String>)
:The system-generated unique ID of the user.
user_name(Option<String>)
:The name of the user as displayed in Amazon CodeCatalyst.
display_name(Option<String>)
:The friendly name displayed for the user in Amazon CodeCatalyst.
primary_email(Option<EmailAddress>)
:The email address provided by the user when they signed up.
version(Option<String>)
:
- On failure, responds with
SdkError<GetUserDetailsError>
sourcepub fn list_access_tokens(&self) -> ListAccessTokens
pub fn list_access_tokens(&self) -> ListAccessTokens
Constructs a fluent builder for the ListAccessTokens
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a
NextToken
element, which you can use to obtain additional results.next_token(impl Into<String>)
/set_next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
- On success, responds with
ListAccessTokensOutput
with field(s):items(Option<Vec<AccessTokenSummary>>)
:A list of personal access tokens (PATs) associated with the calling user.
next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
- On failure, responds with
SdkError<ListAccessTokensError>
sourcepub fn list_dev_environments(&self) -> ListDevEnvironments
pub fn list_dev_environments(&self) -> ListDevEnvironments
Constructs a fluent builder for the ListDevEnvironments
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
filters(Vec<Filter>)
/set_filters(Option<Vec<Filter>>)
:Information about filters to apply to narrow the results returned in the list.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a
NextToken
element, which you can use to obtain additional results.
- On success, responds with
ListDevEnvironmentsOutput
with field(s):items(Option<Vec<DevEnvironmentSummary>>)
:Information about the Dev Environments in a project.
next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
- On failure, responds with
SdkError<ListDevEnvironmentsError>
sourcepub fn list_event_logs(&self) -> ListEventLogs
pub fn list_event_logs(&self) -> ListEventLogs
Constructs a fluent builder for the ListEventLogs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
start_time(DateTime)
/set_start_time(Option<DateTime>)
:The date and time when you want to start retrieving events, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
end_time(DateTime)
/set_end_time(Option<DateTime>)
:The time after which you do not want any events retrieved, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
event_name(impl Into<String>)
/set_event_name(Option<String>)
:The name of the event.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a
NextToken
element, which you can use to obtain additional results.
- On success, responds with
ListEventLogsOutput
with field(s):next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
items(Option<Vec<EventLogEntry>>)
:Information about each event retrieved in the list.
- On failure, responds with
SdkError<ListEventLogsError>
sourcepub fn list_projects(&self) -> ListProjects
pub fn list_projects(&self) -> ListProjects
Constructs a fluent builder for the ListProjects
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a
NextToken
element, which you can use to obtain additional results.filters(Vec<ProjectListFilter>)
/set_filters(Option<Vec<ProjectListFilter>>)
:Information about filters to apply to narrow the results returned in the list.
- On success, responds with
ListProjectsOutput
with field(s):next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
items(Option<Vec<ProjectSummary>>)
:Information about the projects.
- On failure, responds with
SdkError<ListProjectsError>
sourcepub fn list_source_repositories(&self) -> ListSourceRepositories
pub fn list_source_repositories(&self) -> ListSourceRepositories
Constructs a fluent builder for the ListSourceRepositories
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a
NextToken
element, which you can use to obtain additional results.
- On success, responds with
ListSourceRepositoriesOutput
with field(s):items(Option<Vec<ListSourceRepositoriesItem>>)
:Information about the source repositories.
next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
- On failure, responds with
SdkError<ListSourceRepositoriesError>
sourcepub fn list_source_repository_branches(&self) -> ListSourceRepositoryBranches
pub fn list_source_repository_branches(&self) -> ListSourceRepositoryBranches
Constructs a fluent builder for the ListSourceRepositoryBranches
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
source_repository_name(impl Into<String>)
/set_source_repository_name(Option<String>)
:The name of the source repository.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a
NextToken
element, which you can use to obtain additional results.
- On success, responds with
ListSourceRepositoryBranchesOutput
with field(s):next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
items(Option<Vec<ListSourceRepositoryBranchesItem>>)
:Information about the source branches.
- On failure, responds with
SdkError<ListSourceRepositoryBranchesError>
sourcepub fn list_spaces(&self) -> ListSpaces
pub fn list_spaces(&self) -> ListSpaces
Constructs a fluent builder for the ListSpaces
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 returned from a call to this API to indicate the next batch of results to return, if any.
- On success, responds with
ListSpacesOutput
with field(s):next_token(Option<String>)
:A token returned from a call to this API to indicate the next batch of results to return, if any.
items(Option<Vec<SpaceSummary>>)
:Information about the space.
- On failure, responds with
SdkError<ListSpacesError>
sourcepub fn start_dev_environment(&self) -> StartDevEnvironment
pub fn start_dev_environment(&self) -> StartDevEnvironment
Constructs a fluent builder for the StartDevEnvironment
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
id(impl Into<String>)
/set_id(Option<String>)
:The system-generated unique ID of the Dev Environment.
ides(Vec<IdeConfiguration>)
/set_ides(Option<Vec<IdeConfiguration>>)
:Information about the integrated development environment (IDE) configured for a Dev Environment.
instance_type(InstanceType)
/set_instance_type(Option<InstanceType>)
:The Amazon EC2 instace type to use for the Dev Environment.
inactivity_timeout_minutes(i32)
/set_inactivity_timeout_minutes(i32)
:The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.
- On success, responds with
StartDevEnvironmentOutput
with field(s):space_name(Option<String>)
:The name of the space.
project_name(Option<String>)
:The name of the project in the space.
id(Option<String>)
:The system-generated unique ID of the Dev Environment.
status(Option<DevEnvironmentStatus>)
:The status of the Dev Environment.
- On failure, responds with
SdkError<StartDevEnvironmentError>
sourcepub fn start_dev_environment_session(&self) -> StartDevEnvironmentSession
pub fn start_dev_environment_session(&self) -> StartDevEnvironmentSession
Constructs a fluent builder for the StartDevEnvironmentSession
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
id(impl Into<String>)
/set_id(Option<String>)
:The system-generated unique ID of the Dev Environment.
session_configuration(DevEnvironmentSessionConfiguration)
/set_session_configuration(Option<DevEnvironmentSessionConfiguration>)
:Information about the configuration of a Dev Environment session.
- On success, responds with
StartDevEnvironmentSessionOutput
with field(s):access_details(Option<DevEnvironmentAccessDetails>)
:Information about connection details for a Dev Environment.
session_id(Option<String>)
:The system-generated unique ID of the Dev Environment session.
space_name(Option<String>)
:The name of the space.
project_name(Option<String>)
:The name of the project in the space.
id(Option<String>)
:The system-generated unique ID of the Dev Environment.
- On failure, responds with
SdkError<StartDevEnvironmentSessionError>
sourcepub fn stop_dev_environment(&self) -> StopDevEnvironment
pub fn stop_dev_environment(&self) -> StopDevEnvironment
Constructs a fluent builder for the StopDevEnvironment
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
id(impl Into<String>)
/set_id(Option<String>)
:The system-generated unique ID of the Dev Environment.
- On success, responds with
StopDevEnvironmentOutput
with field(s):space_name(Option<String>)
:The name of the space.
project_name(Option<String>)
:The name of the project in the space.
id(Option<String>)
:The system-generated unique ID of the Dev Environment.
status(Option<DevEnvironmentStatus>)
:The status of the Dev Environment.
- On failure, responds with
SdkError<StopDevEnvironmentError>
sourcepub fn update_dev_environment(&self) -> UpdateDevEnvironment
pub fn update_dev_environment(&self) -> UpdateDevEnvironment
Constructs a fluent builder for the UpdateDevEnvironment
operation.
- The fluent builder is configurable:
space_name(impl Into<String>)
/set_space_name(Option<String>)
:The name of the space.
project_name(impl Into<String>)
/set_project_name(Option<String>)
:The name of the project in the space.
id(impl Into<String>)
/set_id(Option<String>)
:The system-generated unique ID of the Dev Environment.
alias(impl Into<String>)
/set_alias(Option<String>)
:The user-specified alias for the Dev Environment. Changing this value will not cause a restart.
ides(Vec<IdeConfiguration>)
/set_ides(Option<Vec<IdeConfiguration>>)
:Information about the integrated development environment (IDE) configured for a Dev Environment.
instance_type(InstanceType)
/set_instance_type(Option<InstanceType>)
:The Amazon EC2 instace type to use for the Dev Environment.
Changing this value will cause a restart of the Dev Environment if it is running.
inactivity_timeout_minutes(i32)
/set_inactivity_timeout_minutes(i32)
:The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.
Changing this value will cause a restart of the Dev Environment if it is running.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
- On success, responds with
UpdateDevEnvironmentOutput
with field(s):id(Option<String>)
:The system-generated unique ID of the Dev Environment.
space_name(Option<String>)
:The name of the space.
project_name(Option<String>)
:The name of the project in the space.
alias(Option<String>)
:The user-specified alias for the Dev Environment.
ides(Option<Vec<IdeConfiguration>>)
:Information about the integrated development environment (IDE) configured for the Dev Environment.
instance_type(Option<InstanceType>)
:The Amazon EC2 instace type to use for the Dev Environment.
inactivity_timeout_minutes(i32)
:The amount of time the Dev Environment will run without any activity detected before stopping, in minutes.
client_token(Option<String>)
:A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
- On failure, responds with
SdkError<UpdateDevEnvironmentError>
sourcepub fn verify_session(&self) -> VerifySession
pub fn verify_session(&self) -> VerifySession
Constructs a fluent builder for the VerifySession
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
VerifySessionOutput
with field(s):identity(Option<String>)
:The system-generated unique ID of the user in Amazon CodeCatalyst.
- On failure, responds with
SdkError<VerifySessionError>
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_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on 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
conf
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
conf
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it.