Class: Aws::CodeCatalyst::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::CodeCatalyst::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- lib/aws-sdk-codecatalyst/client.rb,
sig/client.rbs
Overview
An API client for CodeCatalyst. To construct a client, you need to configure a :region and :credentials.
client = Aws::CodeCatalyst::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Defined Under Namespace
Modules: _CreateAccessTokenResponseSuccess, _CreateDevEnvironmentResponseSuccess, _CreateProjectResponseSuccess, _CreateSourceRepositoryBranchResponseSuccess, _CreateSourceRepositoryResponseSuccess, _DeleteAccessTokenResponseSuccess, _DeleteDevEnvironmentResponseSuccess, _DeleteProjectResponseSuccess, _DeleteSourceRepositoryResponseSuccess, _DeleteSpaceResponseSuccess, _GetDevEnvironmentResponseSuccess, _GetProjectResponseSuccess, _GetSourceRepositoryCloneUrlsResponseSuccess, _GetSourceRepositoryResponseSuccess, _GetSpaceResponseSuccess, _GetSubscriptionResponseSuccess, _GetUserDetailsResponseSuccess, _GetWorkflowResponseSuccess, _GetWorkflowRunResponseSuccess, _ListAccessTokensResponseSuccess, _ListDevEnvironmentSessionsResponseSuccess, _ListDevEnvironmentsResponseSuccess, _ListEventLogsResponseSuccess, _ListProjectsResponseSuccess, _ListSourceRepositoriesResponseSuccess, _ListSourceRepositoryBranchesResponseSuccess, _ListSpacesResponseSuccess, _ListWorkflowRunsResponseSuccess, _ListWorkflowsResponseSuccess, _StartDevEnvironmentResponseSuccess, _StartDevEnvironmentSessionResponseSuccess, _StartWorkflowRunResponseSuccess, _StopDevEnvironmentResponseSuccess, _StopDevEnvironmentSessionResponseSuccess, _UpdateDevEnvironmentResponseSuccess, _UpdateProjectResponseSuccess, _UpdateSpaceResponseSuccess, _VerifySessionResponseSuccess
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#create_access_token(params = {}) ⇒ Types::CreateAccessTokenResponse
Creates a personal access token (PAT) for the current user.
-
#create_dev_environment(params = {}) ⇒ Types::CreateDevEnvironmentResponse
Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment that you can use to quickly work on the code stored in the source repositories of your project.
-
#create_project(params = {}) ⇒ Types::CreateProjectResponse
Creates a project in a specified space.
-
#create_source_repository(params = {}) ⇒ Types::CreateSourceRepositoryResponse
Creates an empty Git-based source repository in a specified project.
-
#create_source_repository_branch(params = {}) ⇒ Types::CreateSourceRepositoryBranchResponse
Creates a branch in a specified source repository in Amazon CodeCatalyst.
-
#delete_access_token(params = {}) ⇒ Struct
Deletes a specified personal access token (PAT).
-
#delete_dev_environment(params = {}) ⇒ Types::DeleteDevEnvironmentResponse
Deletes a Dev Environment.
-
#delete_project(params = {}) ⇒ Types::DeleteProjectResponse
Deletes a project in a space.
-
#delete_source_repository(params = {}) ⇒ Types::DeleteSourceRepositoryResponse
Deletes a source repository in Amazon CodeCatalyst.
-
#delete_space(params = {}) ⇒ Types::DeleteSpaceResponse
Deletes a space.
-
#get_dev_environment(params = {}) ⇒ Types::GetDevEnvironmentResponse
Returns information about a Dev Environment for a source repository in a project.
-
#get_project(params = {}) ⇒ Types::GetProjectResponse
Returns information about a project.
-
#get_source_repository(params = {}) ⇒ Types::GetSourceRepositoryResponse
Returns information about a source repository.
-
#get_source_repository_clone_urls(params = {}) ⇒ Types::GetSourceRepositoryCloneUrlsResponse
Returns information about the URLs that can be used with a Git client to clone a source repository.
-
#get_space(params = {}) ⇒ Types::GetSpaceResponse
Returns information about an space.
-
#get_subscription(params = {}) ⇒ Types::GetSubscriptionResponse
Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.
-
#get_user_details(params = {}) ⇒ Types::GetUserDetailsResponse
Returns information about a user.
-
#get_workflow(params = {}) ⇒ Types::GetWorkflowResponse
Returns information about a workflow.
-
#get_workflow_run(params = {}) ⇒ Types::GetWorkflowRunResponse
Returns information about a specified run of a workflow.
-
#list_access_tokens(params = {}) ⇒ Types::ListAccessTokensResponse
Lists all personal access tokens (PATs) associated with the user who calls the API.
-
#list_dev_environment_sessions(params = {}) ⇒ Types::ListDevEnvironmentSessionsResponse
Retrieves a list of active sessions for a Dev Environment in a project.
-
#list_dev_environments(params = {}) ⇒ Types::ListDevEnvironmentsResponse
Retrieves a list of Dev Environments in a project.
-
#list_event_logs(params = {}) ⇒ Types::ListEventLogsResponse
Retrieves a list of events that occurred during a specific time in a space.
-
#list_projects(params = {}) ⇒ Types::ListProjectsResponse
Retrieves a list of projects.
-
#list_source_repositories(params = {}) ⇒ Types::ListSourceRepositoriesResponse
Retrieves a list of source repositories in a project.
-
#list_source_repository_branches(params = {}) ⇒ Types::ListSourceRepositoryBranchesResponse
Retrieves a list of branches in a specified source repository.
-
#list_spaces(params = {}) ⇒ Types::ListSpacesResponse
Retrieves a list of spaces.
-
#list_workflow_runs(params = {}) ⇒ Types::ListWorkflowRunsResponse
Retrieves a list of workflow runs of a specified workflow.
-
#list_workflows(params = {}) ⇒ Types::ListWorkflowsResponse
Retrieves a list of workflows in a specified project.
-
#start_dev_environment(params = {}) ⇒ Types::StartDevEnvironmentResponse
Starts a specified Dev Environment and puts it into an active state.
-
#start_dev_environment_session(params = {}) ⇒ Types::StartDevEnvironmentSessionResponse
Starts a session for a specified Dev Environment.
-
#start_workflow_run(params = {}) ⇒ Types::StartWorkflowRunResponse
Begins a run of a specified workflow.
-
#stop_dev_environment(params = {}) ⇒ Types::StopDevEnvironmentResponse
Pauses a specified Dev Environment and places it in a non-running state.
-
#stop_dev_environment_session(params = {}) ⇒ Types::StopDevEnvironmentSessionResponse
Stops a session for a specified Dev Environment.
-
#update_dev_environment(params = {}) ⇒ Types::UpdateDevEnvironmentResponse
Changes one or more values for a Dev Environment.
-
#update_project(params = {}) ⇒ Types::UpdateProjectResponse
Changes one or more values for a project.
-
#update_space(params = {}) ⇒ Types::UpdateSpaceResponse
Changes one or more values for a space.
-
#verify_session(params = {}) ⇒ Types::VerifySessionResponse
Verifies whether the calling user has a valid Amazon CodeCatalyst login and session.
Class Method Summary collapse
- .errors_module ⇒ Object private
- .new ⇒ Object
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
479 480 481 |
# File 'lib/aws-sdk-codecatalyst/client.rb', line 479 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2512 2513 2514 |
# File 'lib/aws-sdk-codecatalyst/client.rb', line 2512 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2515 2516 2517 |
# File 'lib/aws-sdk-codecatalyst/client.rb', line 2515 def errors_module Errors end |
.new(credentials:, region:, access_key_id:, account_id:, active_endpoint_cache:, adaptive_retry_wait_to_fill:, auth_scheme_preference:, client_side_monitoring:, client_side_monitoring_client_id:, client_side_monitoring_host:, client_side_monitoring_port:, client_side_monitoring_publisher:, convert_params:, correct_clock_skew:, defaults_mode:, disable_clock_skew_correction:, disable_host_prefix_injection:, disable_request_compression:, endpoint:, endpoint_cache_max_entries:, endpoint_cache_max_threads:, endpoint_cache_poll_interval:, endpoint_discovery:, ignore_configured_endpoint_urls:, log_formatter:, log_level:, logger:, max_attempts:, profile:, request_checksum_calculation:, request_min_compression_size_bytes:, response_checksum_validation:, retry_backoff:, retry_base_delay:, retry_jitter:, retry_limit:, retry_max_delay:, retry_mode:, sdk_ua_app_id:, secret_access_key:, session_token:, sigv4a_signing_region_set:, stub_responses:, telemetry_provider:, token_provider:, use_dualstack_endpoint:, use_fips_endpoint:, validate_params:, endpoint_provider:, http_proxy:, http_open_timeout:, http_read_timeout:, http_idle_timeout:, http_continue_timeout:, ssl_timeout:, http_wire_trace:, ssl_verify_peer:, ssl_ca_bundle:, ssl_ca_directory:, ssl_ca_store:, on_chunk_received:, on_chunk_sent:, raise_response_errors:) ⇒ instance .new(arg0) ⇒ instance
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'sig/client.rbs', line 14
def self.new: (
?credentials: untyped,
?region: String,
?access_key_id: String,
?account_id: String,
?active_endpoint_cache: bool,
?adaptive_retry_wait_to_fill: bool,
?auth_scheme_preference: Array[String],
?client_side_monitoring: bool,
?client_side_monitoring_client_id: String,
?client_side_monitoring_host: String,
?client_side_monitoring_port: Integer,
?client_side_monitoring_publisher: untyped,
?convert_params: bool,
?correct_clock_skew: bool,
?defaults_mode: String,
?disable_clock_skew_correction: bool,
?disable_host_prefix_injection: bool,
?disable_request_compression: bool,
?endpoint: String,
?endpoint_cache_max_entries: Integer,
?endpoint_cache_max_threads: Integer,
?endpoint_cache_poll_interval: Integer,
?endpoint_discovery: bool,
?ignore_configured_endpoint_urls: bool,
?log_formatter: untyped,
?log_level: Symbol,
?logger: untyped,
?max_attempts: Integer,
?profile: String,
?request_checksum_calculation: String,
?request_min_compression_size_bytes: Integer,
?response_checksum_validation: String,
?retry_backoff: Proc,
?retry_base_delay: Float,
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
?retry_limit: Integer,
?retry_max_delay: Integer,
?retry_mode: ("legacy" | "standard" | "adaptive"),
?sdk_ua_app_id: String,
?secret_access_key: String,
?session_token: String,
?sigv4a_signing_region_set: Array[String],
?stub_responses: untyped,
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
?token_provider: untyped,
?use_dualstack_endpoint: bool,
?use_fips_endpoint: bool,
?validate_params: bool,
?endpoint_provider: untyped,
?http_proxy: String,
?http_open_timeout: (Float | Integer),
?http_read_timeout: (Float | Integer),
?http_idle_timeout: (Float | Integer),
?http_continue_timeout: (Float | Integer),
?ssl_timeout: (Float | Integer | nil),
?http_wire_trace: bool,
?ssl_verify_peer: bool,
?ssl_ca_bundle: String,
?ssl_ca_directory: String,
?ssl_ca_store: String,
?on_chunk_received: Proc,
?on_chunk_sent: Proc,
?raise_response_errors: bool
) -> instance
| (?Hash[Symbol, untyped]) -> instance
|
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 |
# File 'lib/aws-sdk-codecatalyst/client.rb', line 2485 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::CodeCatalyst') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-codecatalyst' context[:gem_version] = '1.66.0' Seahorse::Client::Request.new(handlers, context) end |
#create_access_token(params = {}) ⇒ Types::CreateAccessTokenResponse
Creates a personal access token (PAT) for the current user. A personal access token (PAT) is similar to a password. It is associated with your user identity for use across all spaces and projects in Amazon CodeCatalyst. You use PATs to access CodeCatalyst from resources that include integrated development environments (IDEs) and Git-based source repositories. PATs represent you in Amazon CodeCatalyst and you can manage them in your user settings.For more information, see Managing personal access tokens in Amazon CodeCatalyst.
90 91 92 93 94 |
# File 'sig/client.rbs', line 90
def create_access_token: (
name: ::String,
?expires_time: ::Time
) -> _CreateAccessTokenResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAccessTokenResponseSuccess
|
#create_dev_environment(params = {}) ⇒ Types::CreateDevEnvironmentResponse
Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment that you can use to quickly work on the code stored in the source repositories of your project.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'sig/client.rbs', line 104
def create_dev_environment: (
space_name: ::String,
project_name: ::String,
?repositories: Array[
{
repository_name: ::String,
branch_name: ::String?
}
],
?client_token: ::String,
?alias: ::String,
?ides: Array[
{
runtime: ::String?,
name: ::String?
}
],
instance_type: ("dev.standard1.small" | "dev.standard1.medium" | "dev.standard1.large" | "dev.standard1.xlarge"),
?inactivity_timeout_minutes: ::Integer,
persistent_storage: {
size_in_gi_b: ::Integer
},
?vpc_connection_name: ::String
) -> _CreateDevEnvironmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDevEnvironmentResponseSuccess
|
#create_project(params = {}) ⇒ Types::CreateProjectResponse
Creates a project in a specified space.
138 139 140 141 142 143 |
# File 'sig/client.rbs', line 138
def create_project: (
space_name: ::String,
display_name: ::String,
?description: ::String
) -> _CreateProjectResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProjectResponseSuccess
|
#create_source_repository(params = {}) ⇒ Types::CreateSourceRepositoryResponse
Creates an empty Git-based source repository in a specified project.
The repository is created with an initial empty commit with a default
branch named main.
153 154 155 156 157 158 159 |
# File 'sig/client.rbs', line 153
def create_source_repository: (
space_name: ::String,
project_name: ::String,
name: ::String,
?description: ::String
) -> _CreateSourceRepositoryResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSourceRepositoryResponseSuccess
|
#create_source_repository_branch(params = {}) ⇒ Types::CreateSourceRepositoryBranchResponse
Creates a branch in a specified source repository in Amazon CodeCatalyst.
169 170 171 172 173 174 175 176 |
# File 'sig/client.rbs', line 169
def create_source_repository_branch: (
space_name: ::String,
project_name: ::String,
source_repository_name: ::String,
name: ::String,
?head_commit_id: ::String
) -> _CreateSourceRepositoryBranchResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSourceRepositoryBranchResponseSuccess
|
#delete_access_token(params = {}) ⇒ Struct
Deletes a specified personal access token (PAT). A personal access token can only be deleted by the user who created it.
182 183 184 185 |
# File 'sig/client.rbs', line 182
def delete_access_token: (
id: ::String
) -> _DeleteAccessTokenResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccessTokenResponseSuccess
|
#delete_dev_environment(params = {}) ⇒ Types::DeleteDevEnvironmentResponse
Deletes a Dev Environment.
194 195 196 197 198 199 |
# File 'sig/client.rbs', line 194
def delete_dev_environment: (
space_name: ::String,
project_name: ::String,
id: ::String
) -> _DeleteDevEnvironmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDevEnvironmentResponseSuccess
|
#delete_project(params = {}) ⇒ Types::DeleteProjectResponse
Deletes a project in a space.
208 209 210 211 212 |
# File 'sig/client.rbs', line 208
def delete_project: (
space_name: ::String,
name: ::String
) -> _DeleteProjectResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProjectResponseSuccess
|
#delete_source_repository(params = {}) ⇒ Types::DeleteSourceRepositoryResponse
Deletes a source repository in Amazon CodeCatalyst. You cannot use this API to delete a linked repository. It can only be used to delete a Amazon CodeCatalyst source repository.
221 222 223 224 225 226 |
# File 'sig/client.rbs', line 221
def delete_source_repository: (
space_name: ::String,
project_name: ::String,
name: ::String
) -> _DeleteSourceRepositoryResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSourceRepositoryResponseSuccess
|
#delete_space(params = {}) ⇒ Types::DeleteSpaceResponse
Deletes a space.
Deleting a space cannot be undone. Additionally, since space names must be unique across Amazon CodeCatalyst, you cannot reuse names of deleted spaces.
234 235 236 237 |
# File 'sig/client.rbs', line 234
def delete_space: (
name: ::String
) -> _DeleteSpaceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSpaceResponseSuccess
|
#get_dev_environment(params = {}) ⇒ Types::GetDevEnvironmentResponse
Returns information about a Dev Environment for a source repository in a project. Dev Environments are specific to the user who creates them.
257 258 259 260 261 262 |
# File 'sig/client.rbs', line 257
def get_dev_environment: (
space_name: ::String,
project_name: ::String,
id: ::String
) -> _GetDevEnvironmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDevEnvironmentResponseSuccess
|
#get_project(params = {}) ⇒ Types::GetProjectResponse
Returns information about a project.
272 273 274 275 276 |
# File 'sig/client.rbs', line 272
def get_project: (
space_name: ::String,
name: ::String
) -> _GetProjectResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProjectResponseSuccess
|
#get_source_repository(params = {}) ⇒ Types::GetSourceRepositoryResponse
Returns information about a source repository.
288 289 290 291 292 293 |
# File 'sig/client.rbs', line 288
def get_source_repository: (
space_name: ::String,
project_name: ::String,
name: ::String
) -> _GetSourceRepositoryResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSourceRepositoryResponseSuccess
|
#get_source_repository_clone_urls(params = {}) ⇒ Types::GetSourceRepositoryCloneUrlsResponse
Returns information about the URLs that can be used with a Git client to clone a source repository.
300 301 302 303 304 305 |
# File 'sig/client.rbs', line 300
def get_source_repository_clone_urls: (
space_name: ::String,
project_name: ::String,
source_repository_name: ::String
) -> _GetSourceRepositoryCloneUrlsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSourceRepositoryCloneUrlsResponseSuccess
|
#get_space(params = {}) ⇒ Types::GetSpaceResponse
Returns information about an space.
315 316 317 318 |
# File 'sig/client.rbs', line 315
def get_space: (
name: ::String
) -> _GetSpaceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSpaceResponseSuccess
|
#get_subscription(params = {}) ⇒ Types::GetSubscriptionResponse
Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.
328 329 330 331 |
# File 'sig/client.rbs', line 328
def get_subscription: (
space_name: ::String
) -> _GetSubscriptionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSubscriptionResponseSuccess
|
#get_user_details(params = {}) ⇒ Types::GetUserDetailsResponse
Returns information about a user.
342 343 344 345 346 |
# File 'sig/client.rbs', line 342
def get_user_details: (
?id: ::String,
?user_name: ::String
) -> _GetUserDetailsResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUserDetailsResponseSuccess
|
#get_workflow(params = {}) ⇒ Types::GetWorkflowResponse
Returns information about a workflow.
363 364 365 366 367 368 |
# File 'sig/client.rbs', line 363
def get_workflow: (
space_name: ::String,
id: ::String,
project_name: ::String
) -> _GetWorkflowResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkflowResponseSuccess
|
#get_workflow_run(params = {}) ⇒ Types::GetWorkflowRunResponse
Returns information about a specified run of a workflow.
383 384 385 386 387 388 |
# File 'sig/client.rbs', line 383
def get_workflow_run: (
space_name: ::String,
id: ::String,
project_name: ::String
) -> _GetWorkflowRunResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkflowRunResponseSuccess
|
#list_access_tokens(params = {}) ⇒ Types::ListAccessTokensResponse
Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your Amazon Web Services Builder ID.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
396 397 398 399 400 |
# File 'sig/client.rbs', line 396
def list_access_tokens: (
?max_results: ::Integer,
?next_token: ::String
) -> _ListAccessTokensResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccessTokensResponseSuccess
|
#list_dev_environment_sessions(params = {}) ⇒ Types::ListDevEnvironmentSessionsResponse
Retrieves a list of active sessions for a Dev Environment in a project.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
408 409 410 411 412 413 414 415 |
# File 'sig/client.rbs', line 408
def list_dev_environment_sessions: (
space_name: ::String,
project_name: ::String,
dev_environment_id: ::String,
?next_token: ::String,
?max_results: ::Integer
) -> _ListDevEnvironmentSessionsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDevEnvironmentSessionsResponseSuccess
|
#list_dev_environments(params = {}) ⇒ Types::ListDevEnvironmentsResponse
Retrieves a list of Dev Environments in a project.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
423 424 425 426 427 428 429 430 431 432 433 434 435 436 |
# File 'sig/client.rbs', line 423
def list_dev_environments: (
space_name: ::String,
?project_name: ::String,
?filters: Array[
{
key: ::String,
values: Array[::String],
comparison_operator: ::String?
}
],
?next_token: ::String,
?max_results: ::Integer
) -> _ListDevEnvironmentsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDevEnvironmentsResponseSuccess
|
#list_event_logs(params = {}) ⇒ Types::ListEventLogsResponse
Retrieves a list of events that occurred during a specific time in a space. You can use these events to audit user and system activity in a space. For more information, see Monitoring in the Amazon CodeCatalyst User Guide.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
444 445 446 447 448 449 450 451 452 |
# File 'sig/client.rbs', line 444
def list_event_logs: (
space_name: ::String,
start_time: ::Time,
end_time: ::Time,
?event_name: ::String,
?next_token: ::String,
?max_results: ::Integer
) -> _ListEventLogsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventLogsResponseSuccess
|
#list_projects(params = {}) ⇒ Types::ListProjectsResponse
Retrieves a list of projects.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
460 461 462 463 464 465 466 467 468 469 470 471 472 |
# File 'sig/client.rbs', line 460
def list_projects: (
space_name: ::String,
?next_token: ::String,
?max_results: ::Integer,
?filters: Array[
{
key: ("hasAccessTo" | "name"),
values: Array[::String],
comparison_operator: ("EQ" | "GT" | "GE" | "LT" | "LE" | "BEGINS_WITH")?
}
]
) -> _ListProjectsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProjectsResponseSuccess
|
#list_source_repositories(params = {}) ⇒ Types::ListSourceRepositoriesResponse
Retrieves a list of source repositories in a project.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
480 481 482 483 484 485 486 |
# File 'sig/client.rbs', line 480
def list_source_repositories: (
space_name: ::String,
project_name: ::String,
?next_token: ::String,
?max_results: ::Integer
) -> _ListSourceRepositoriesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSourceRepositoriesResponseSuccess
|
#list_source_repository_branches(params = {}) ⇒ Types::ListSourceRepositoryBranchesResponse
Retrieves a list of branches in a specified source repository.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
494 495 496 497 498 499 500 501 |
# File 'sig/client.rbs', line 494
def list_source_repository_branches: (
space_name: ::String,
project_name: ::String,
source_repository_name: ::String,
?next_token: ::String,
?max_results: ::Integer
) -> _ListSourceRepositoryBranchesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSourceRepositoryBranchesResponseSuccess
|
#list_spaces(params = {}) ⇒ Types::ListSpacesResponse
Retrieves a list of spaces.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
509 510 511 512 |
# File 'sig/client.rbs', line 509
def list_spaces: (
?next_token: ::String
) -> _ListSpacesResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSpacesResponseSuccess
|
#list_workflow_runs(params = {}) ⇒ Types::ListWorkflowRunsResponse
Retrieves a list of workflow runs of a specified workflow.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
520 521 522 523 524 525 526 527 528 529 530 531 |
# File 'sig/client.rbs', line 520
def list_workflow_runs: (
space_name: ::String,
?workflow_id: ::String,
project_name: ::String,
?next_token: ::String,
?max_results: ::Integer,
?sort_by: Array[
{
}
]
) -> _ListWorkflowRunsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowRunsResponseSuccess
|
#list_workflows(params = {}) ⇒ Types::ListWorkflowsResponse
Retrieves a list of workflows in a specified project.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
539 540 541 542 543 544 545 546 547 548 549 |
# File 'sig/client.rbs', line 539
def list_workflows: (
space_name: ::String,
project_name: ::String,
?next_token: ::String,
?max_results: ::Integer,
?sort_by: Array[
{
}
]
) -> _ListWorkflowsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowsResponseSuccess
|
#start_dev_environment(params = {}) ⇒ Types::StartDevEnvironmentResponse
Starts a specified Dev Environment and puts it into an active state.
559 560 561 562 563 564 565 566 567 568 569 570 571 572 |
# File 'sig/client.rbs', line 559
def start_dev_environment: (
space_name: ::String,
project_name: ::String,
id: ::String,
?ides: Array[
{
runtime: ::String?,
name: ::String?
}
],
?instance_type: ("dev.standard1.small" | "dev.standard1.medium" | "dev.standard1.large" | "dev.standard1.xlarge"),
?inactivity_timeout_minutes: ::Integer
) -> _StartDevEnvironmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDevEnvironmentResponseSuccess
|
#start_dev_environment_session(params = {}) ⇒ Types::StartDevEnvironmentSessionResponse
Starts a session for a specified Dev Environment.
583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'sig/client.rbs', line 583
def start_dev_environment_session: (
space_name: ::String,
project_name: ::String,
id: ::String,
session_configuration: {
session_type: ("SSM" | "SSH"),
execute_command_session_configuration: {
command: ::String,
arguments: Array[::String]?
}?
}
) -> _StartDevEnvironmentSessionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDevEnvironmentSessionResponseSuccess
|
#start_workflow_run(params = {}) ⇒ Types::StartWorkflowRunResponse
Begins a run of a specified workflow.
605 606 607 608 609 610 611 |
# File 'sig/client.rbs', line 605
def start_workflow_run: (
space_name: ::String,
project_name: ::String,
workflow_id: ::String,
?client_token: ::String
) -> _StartWorkflowRunResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartWorkflowRunResponseSuccess
|
#stop_dev_environment(params = {}) ⇒ Types::StopDevEnvironmentResponse
Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev Environments do not consume compute minutes.
621 622 623 624 625 626 |
# File 'sig/client.rbs', line 621
def stop_dev_environment: (
space_name: ::String,
project_name: ::String,
id: ::String
) -> _StopDevEnvironmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDevEnvironmentResponseSuccess
|
#stop_dev_environment_session(params = {}) ⇒ Types::StopDevEnvironmentSessionResponse
Stops a session for a specified Dev Environment.
636 637 638 639 640 641 642 |
# File 'sig/client.rbs', line 636
def stop_dev_environment_session: (
space_name: ::String,
project_name: ::String,
id: ::String,
session_id: ::String
) -> _StopDevEnvironmentSessionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDevEnvironmentSessionResponseSuccess
|
#update_dev_environment(params = {}) ⇒ Types::UpdateDevEnvironmentResponse
Changes one or more values for a Dev Environment. Updating certain values of the Dev Environment will cause a restart.
656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 |
# File 'sig/client.rbs', line 656
def update_dev_environment: (
space_name: ::String,
project_name: ::String,
id: ::String,
?alias: ::String,
?ides: Array[
{
runtime: ::String?,
name: ::String?
}
],
?instance_type: ("dev.standard1.small" | "dev.standard1.medium" | "dev.standard1.large" | "dev.standard1.xlarge"),
?inactivity_timeout_minutes: ::Integer,
?client_token: ::String
) -> _UpdateDevEnvironmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDevEnvironmentResponseSuccess
|
#update_project(params = {}) ⇒ Types::UpdateProjectResponse
Changes one or more values for a project.
681 682 683 684 685 686 |
# File 'sig/client.rbs', line 681
def update_project: (
space_name: ::String,
name: ::String,
?description: ::String
) -> _UpdateProjectResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProjectResponseSuccess
|
#update_space(params = {}) ⇒ Types::UpdateSpaceResponse
Changes one or more values for a space.
695 696 697 698 699 |
# File 'sig/client.rbs', line 695
def update_space: (
name: ::String,
?description: ::String
) -> _UpdateSpaceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSpaceResponseSuccess
|
#verify_session(params = {}) ⇒ Types::VerifySessionResponse
Verifies whether the calling user has a valid Amazon CodeCatalyst login and session. If successful, this returns the ID of the user in Amazon CodeCatalyst.
706 707 |
# File 'sig/client.rbs', line 706
def verify_session: () -> _VerifySessionResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifySessionResponseSuccess
|
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2505 2506 2507 |
# File 'lib/aws-sdk-codecatalyst/client.rb', line 2505 def waiter_names [] end |