Class: Aws::DevOpsAgent::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::DevOpsAgent::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb
Overview
An API client for DevOpsAgent. To construct a client, you need to configure a :region and :credentials.
client = Aws::DevOpsAgent::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.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#associate_service(params = {}) ⇒ Types::AssociateServiceOutput
Adds a specific service association to an AgentSpace.
-
#create_agent_space(params = {}) ⇒ Types::CreateAgentSpaceOutput
Creates a new AgentSpace with the specified name and description.
-
#create_backlog_task(params = {}) ⇒ Types::CreateBacklogTaskResponse
Creates a new backlog task in the specified agent space.
-
#create_chat(params = {}) ⇒ Types::CreateChatResponse
Creates a new chat execution in the specified agent space.
-
#create_private_connection(params = {}) ⇒ Types::CreatePrivateConnectionOutput
Creates a Private Connection to a target resource.
-
#delete_agent_space(params = {}) ⇒ Struct
Deletes an AgentSpace.
-
#delete_private_connection(params = {}) ⇒ Types::DeletePrivateConnectionOutput
Deletes a Private Connection.
-
#deregister_service(params = {}) ⇒ Struct
Deregister a service.
-
#describe_private_connection(params = {}) ⇒ Types::DescribePrivateConnectionOutput
Retrieves details of an existing Private Connection.
-
#disable_operator_app(params = {}) ⇒ Struct
Disable the Operator App for the specified AgentSpace.
-
#disassociate_service(params = {}) ⇒ Struct
Deletes a specific service association from an AgentSpace.
-
#enable_operator_app(params = {}) ⇒ Types::EnableOperatorAppOutput
Enable the Operator App to access the given AgentSpace.
-
#get_account_usage(params = {}) ⇒ Types::GetAccountUsageOutput
Retrieves monthly account usage metrics and limits for the AWS account.
-
#get_agent_space(params = {}) ⇒ Types::GetAgentSpaceOutput
Retrieves detailed information about a specific AgentSpace.
-
#get_association(params = {}) ⇒ Types::GetAssociationOutput
Retrieves given associations configured for a specific AgentSpace.
-
#get_backlog_task(params = {}) ⇒ Types::GetBacklogTaskResponse
Gets a backlog task for the specified agent space and task id.
-
#get_operator_app(params = {}) ⇒ Types::GetOperatorAppOutput
Get the full auth configuration of operator including any enabled auth flow.
-
#get_recommendation(params = {}) ⇒ Types::GetRecommendationResponse
Retrieves a specific recommendation by its ID.
-
#get_service(params = {}) ⇒ Types::GetServiceOutput
Retrieves given service by it's unique identifier.
-
#list_agent_spaces(params = {}) ⇒ Types::ListAgentSpacesOutput
Lists all AgentSpaces with optional pagination.
-
#list_associations(params = {}) ⇒ Types::ListAssociationsOutput
List all associations for given AgentSpace.
-
#list_backlog_tasks(params = {}) ⇒ Types::ListBacklogTasksResponse
Lists backlog tasks in the specified agent space with optional filtering and sorting.
-
#list_chats(params = {}) ⇒ Types::ListChatsResponse
Retrieves a paginated list of the user's recent chat executions.
-
#list_executions(params = {}) ⇒ Types::ListExecutionsResponse
List executions.
-
#list_goals(params = {}) ⇒ Types::ListGoalsResponse
Lists goals in the specified agent space with optional filtering.
-
#list_journal_records(params = {}) ⇒ Types::ListJournalRecordsResponse
List journal records for a specific execution.
-
#list_pending_messages(params = {}) ⇒ Types::ListPendingMessagesResponse
List pending messages for a specific execution.
-
#list_private_connections(params = {}) ⇒ Types::ListPrivateConnectionsOutput
Lists all Private Connections in the caller's account.
-
#list_recommendations(params = {}) ⇒ Types::ListRecommendationsResponse
Lists recommendations for the specified agent space.
-
#list_services(params = {}) ⇒ Types::ListServicesOutput
List a list of registered service on the account level.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists tags for the specified AWS DevOps Agent resource.
-
#list_webhooks(params = {}) ⇒ Types::ListWebhooksOutput
List all webhooks for given Association.
-
#register_service(params = {}) ⇒ Types::RegisterServiceOutput
This operation registers the specified service.
-
#send_message(params = {}) ⇒ Types::SendMessageResponse
Sends a chat message and streams the response for the specified agent space execution.
-
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites tags for the specified AWS DevOps Agent resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified AWS DevOps Agent resource.
-
#update_agent_space(params = {}) ⇒ Types::UpdateAgentSpaceOutput
Updates the information of an existing AgentSpace.
-
#update_association(params = {}) ⇒ Types::UpdateAssociationOutput
Partially updates the configuration of an existing service association for an AgentSpace.
-
#update_backlog_task(params = {}) ⇒ Types::UpdateBacklogTaskResponse
Update an existing backlog task.
-
#update_goal(params = {}) ⇒ Types::UpdateGoalResponse
Update an existing goal.
-
#update_operator_app_idp_config(params = {}) ⇒ Types::UpdateOperatorAppIdpConfigOutput
Update the external Identity Provider configuration for the Operator App.
-
#update_private_connection_certificate(params = {}) ⇒ Types::UpdatePrivateConnectionCertificateOutput
Updates the certificate associated with a Private Connection.
-
#update_recommendation(params = {}) ⇒ Types::UpdateRecommendationResponse
Updates an existing recommendation with new content, status, or metadata.
-
#validate_aws_associations(params = {}) ⇒ Struct
Validates an aws association and set status and returns a 204 No Content response on success.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
484 485 486 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 484 def initialize(*args) super end |
Instance Method Details
#associate_service(params = {}) ⇒ Types::AssociateServiceOutput
Adds a specific service association to an AgentSpace. It overwrites the existing association of the same service. Returns 201 Created on success.
658 659 660 661 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 658 def associate_service(params = {}, = {}) req = build_request(:associate_service, params) req.send_request() end |
#create_agent_space(params = {}) ⇒ Types::CreateAgentSpaceOutput
Creates a new AgentSpace with the specified name and description. Duplicate space names are allowed.
725 726 727 728 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 725 def create_agent_space(params = {}, = {}) req = build_request(:create_agent_space, params) req.send_request() end |
#create_backlog_task(params = {}) ⇒ Types::CreateBacklogTaskResponse
Creates a new backlog task in the specified agent space
805 806 807 808 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 805 def create_backlog_task(params = {}, = {}) req = build_request(:create_backlog_task, params) req.send_request() end |
#create_chat(params = {}) ⇒ Types::CreateChatResponse
Creates a new chat execution in the specified agent space
846 847 848 849 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 846 def create_chat(params = {}, = {}) req = build_request(:create_chat, params) req.send_request() end |
#create_private_connection(params = {}) ⇒ Types::CreatePrivateConnectionOutput
Creates a Private Connection to a target resource.
916 917 918 919 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 916 def create_private_connection(params = {}, = {}) req = build_request(:create_private_connection, params) req.send_request() end |
#delete_agent_space(params = {}) ⇒ Struct
Deletes an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.
939 940 941 942 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 939 def delete_agent_space(params = {}, = {}) req = build_request(:delete_agent_space, params) req.send_request() end |
#delete_private_connection(params = {}) ⇒ Types::DeletePrivateConnectionOutput
Deletes a Private Connection. The deletion is asynchronous and returns DELETE_IN_PROGRESS status.
970 971 972 973 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 970 def delete_private_connection(params = {}, = {}) req = build_request(:delete_private_connection, params) req.send_request() end |
#deregister_service(params = {}) ⇒ Struct
Deregister a service
993 994 995 996 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 993 def deregister_service(params = {}, = {}) req = build_request(:deregister_service, params) req.send_request() end |
#describe_private_connection(params = {}) ⇒ Types::DescribePrivateConnectionOutput
Retrieves details of an existing Private Connection.
1038 1039 1040 1041 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1038 def describe_private_connection(params = {}, = {}) req = build_request(:describe_private_connection, params) req.send_request() end |
#disable_operator_app(params = {}) ⇒ Struct
Disable the Operator App for the specified AgentSpace
1064 1065 1066 1067 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1064 def disable_operator_app(params = {}, = {}) req = build_request(:disable_operator_app, params) req.send_request() end |
#disassociate_service(params = {}) ⇒ Struct
Deletes a specific service association from an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.
1092 1093 1094 1095 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1092 def disassociate_service(params = {}, = {}) req = build_request(:disassociate_service, params) req.send_request() end |
#enable_operator_app(params = {}) ⇒ Types::EnableOperatorAppOutput
Enable the Operator App to access the given AgentSpace
1166 1167 1168 1169 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1166 def enable_operator_app(params = {}, = {}) req = build_request(:enable_operator_app, params) req.send_request() end |
#get_account_usage(params = {}) ⇒ Types::GetAccountUsageOutput
Retrieves monthly account usage metrics and limits for the AWS account.
1200 1201 1202 1203 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1200 def get_account_usage(params = {}, = {}) req = build_request(:get_account_usage, params) req.send_request() end |
#get_agent_space(params = {}) ⇒ Types::GetAgentSpaceOutput
Retrieves detailed information about a specific AgentSpace.
1237 1238 1239 1240 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1237 def get_agent_space(params = {}, = {}) req = build_request(:get_agent_space, params) req.send_request() end |
#get_association(params = {}) ⇒ Types::GetAssociationOutput
Retrieves given associations configured for a specific AgentSpace.
1318 1319 1320 1321 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1318 def get_association(params = {}, = {}) req = build_request(:get_association, params) req.send_request() end |
#get_backlog_task(params = {}) ⇒ Types::GetBacklogTaskResponse
Gets a backlog task for the specified agent space and task id
1368 1369 1370 1371 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1368 def get_backlog_task(params = {}, = {}) req = build_request(:get_backlog_task, params) req.send_request() end |
#get_operator_app(params = {}) ⇒ Types::GetOperatorAppOutput
Get the full auth configuration of operator including any enabled auth flow
1412 1413 1414 1415 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1412 def get_operator_app(params = {}, = {}) req = build_request(:get_operator_app, params) req.send_request() end |
#get_recommendation(params = {}) ⇒ Types::GetRecommendationResponse
Retrieves a specific recommendation by its ID
1465 1466 1467 1468 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1465 def get_recommendation(params = {}, = {}) req = build_request(:get_recommendation, params) req.send_request() end |
#get_service(params = {}) ⇒ Types::GetServiceOutput
Retrieves given service by it's unique identifier
1546 1547 1548 1549 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1546 def get_service(params = {}, = {}) req = build_request(:get_service, params) req.send_request() end |
#list_agent_spaces(params = {}) ⇒ Types::ListAgentSpacesOutput
Lists all AgentSpaces with optional pagination.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1589 1590 1591 1592 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1589 def list_agent_spaces(params = {}, = {}) req = build_request(:list_agent_spaces, params) req.send_request() end |
#list_associations(params = {}) ⇒ Types::ListAssociationsOutput
List all associations for given AgentSpace
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1684 1685 1686 1687 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1684 def list_associations(params = {}, = {}) req = build_request(:list_associations, params) req.send_request() end |
#list_backlog_tasks(params = {}) ⇒ Types::ListBacklogTasksResponse
Lists backlog tasks in the specified agent space with optional filtering and sorting
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1771 1772 1773 1774 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1771 def list_backlog_tasks(params = {}, = {}) req = build_request(:list_backlog_tasks, params) req.send_request() end |
#list_chats(params = {}) ⇒ Types::ListChatsResponse
Retrieves a paginated list of the user's recent chat executions
1820 1821 1822 1823 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1820 def list_chats(params = {}, = {}) req = build_request(:list_chats, params) req.send_request() end |
#list_executions(params = {}) ⇒ Types::ListExecutionsResponse
List executions
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1873 1874 1875 1876 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1873 def list_executions(params = {}, = {}) req = build_request(:list_executions, params) req.send_request() end |
#list_goals(params = {}) ⇒ Types::ListGoalsResponse
Lists goals in the specified agent space with optional filtering
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1936 1937 1938 1939 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1936 def list_goals(params = {}, = {}) req = build_request(:list_goals, params) req.send_request() end |
#list_journal_records(params = {}) ⇒ Types::ListJournalRecordsResponse
List journal records for a specific execution
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1997 1998 1999 2000 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 1997 def list_journal_records(params = {}, = {}) req = build_request(:list_journal_records, params) req.send_request() end |
#list_pending_messages(params = {}) ⇒ Types::ListPendingMessagesResponse
List pending messages for a specific execution.
2042 2043 2044 2045 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2042 def (params = {}, = {}) req = build_request(:list_pending_messages, params) req.send_request() end |
#list_private_connections(params = {}) ⇒ Types::ListPrivateConnectionsOutput
Lists all Private Connections in the caller's account.
2069 2070 2071 2072 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2069 def list_private_connections(params = {}, = {}) req = build_request(:list_private_connections, params) req.send_request() end |
#list_recommendations(params = {}) ⇒ Types::ListRecommendationsResponse
Lists recommendations for the specified agent space
2140 2141 2142 2143 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2140 def list_recommendations(params = {}, = {}) req = build_request(:list_recommendations, params) req.send_request() end |
#list_services(params = {}) ⇒ Types::ListServicesOutput
List a list of registered service on the account level.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2231 2232 2233 2234 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2231 def list_services(params = {}, = {}) req = build_request(:list_services, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists tags for the specified AWS DevOps Agent resource.
2260 2261 2262 2263 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2260 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_webhooks(params = {}) ⇒ Types::ListWebhooksOutput
List all webhooks for given Association
2295 2296 2297 2298 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2295 def list_webhooks(params = {}, = {}) req = build_request(:list_webhooks, params) req.send_request() end |
#register_service(params = {}) ⇒ Types::RegisterServiceOutput
This operation registers the specified service
2573 2574 2575 2576 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2573 def register_service(params = {}, = {}) req = build_request(:register_service, params) req.send_request() end |
#send_message(params = {}) ⇒ Types::SendMessageResponse
Sends a chat message and streams the response for the specified agent space execution
2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2833 def (params = {}, = {}, &block) params = params.dup event_stream_handler = case handler = params.delete(:event_stream_handler) when EventStreams::SendMessageEvents then handler when Proc then EventStreams::SendMessageEvents.new.tap(&handler) when nil then EventStreams::SendMessageEvents.new else msg = "expected :event_stream_handler to be a block or "\ "instance of Aws::DevOpsAgent::EventStreams::SendMessageEvents"\ ", got `#{handler.inspect}` instead" raise ArgumentError, msg end yield(event_stream_handler) if block_given? req = build_request(:send_message, params) req.context[:event_stream_handler] = event_stream_handler req.handlers.add(Aws::Binary::DecodeHandler, priority: 95) req.send_request(, &block) end |
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites tags for the specified AWS DevOps Agent resource.
2879 2880 2881 2882 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2879 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified AWS DevOps Agent resource.
2905 2906 2907 2908 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2905 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_agent_space(params = {}) ⇒ Types::UpdateAgentSpaceOutput
Updates the information of an existing AgentSpace.
2952 2953 2954 2955 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 2952 def update_agent_space(params = {}, = {}) req = build_request(:update_agent_space, params) req.send_request() end |
#update_association(params = {}) ⇒ Types::UpdateAssociationOutput
Partially updates the configuration of an existing service association for an AgentSpace. Present fields are fully replaced; absent fields are left unchanged. Returns 200 OK on success.
3125 3126 3127 3128 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 3125 def update_association(params = {}, = {}) req = build_request(:update_association, params) req.send_request() end |
#update_backlog_task(params = {}) ⇒ Types::UpdateBacklogTaskResponse
Update an existing backlog task.
3186 3187 3188 3189 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 3186 def update_backlog_task(params = {}, = {}) req = build_request(:update_backlog_task, params) req.send_request() end |
#update_goal(params = {}) ⇒ Types::UpdateGoalResponse
Update an existing goal
3245 3246 3247 3248 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 3245 def update_goal(params = {}, = {}) req = build_request(:update_goal, params) req.send_request() end |
#update_operator_app_idp_config(params = {}) ⇒ Types::UpdateOperatorAppIdpConfigOutput
Update the external Identity Provider configuration for the Operator App
3285 3286 3287 3288 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 3285 def update_operator_app_idp_config(params = {}, = {}) req = build_request(:update_operator_app_idp_config, params) req.send_request() end |
#update_private_connection_certificate(params = {}) ⇒ Types::UpdatePrivateConnectionCertificateOutput
Updates the certificate associated with a Private Connection.
3331 3332 3333 3334 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 3331 def update_private_connection_certificate(params = {}, = {}) req = build_request(:update_private_connection_certificate, params) req.send_request() end |
#update_recommendation(params = {}) ⇒ Types::UpdateRecommendationResponse
Updates an existing recommendation with new content, status, or metadata
3395 3396 3397 3398 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 3395 def update_recommendation(params = {}, = {}) req = build_request(:update_recommendation, params) req.send_request() end |
#validate_aws_associations(params = {}) ⇒ Struct
Validates an aws association and set status and returns a 204 No Content response on success.
3418 3419 3420 3421 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/client.rb', line 3418 def validate_aws_associations(params = {}, = {}) req = build_request(:validate_aws_associations, params) req.send_request() end |