aws-sdk-devopsagent 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-devopsagent/client.rb +362 -17
- data/lib/aws-sdk-devopsagent/client_api.rb +318 -1
- data/lib/aws-sdk-devopsagent/types.rb +714 -10
- data/lib/aws-sdk-devopsagent.rb +1 -1
- data/sig/client.rbs +115 -6
- data/sig/params.rbs +19 -8
- data/sig/types.rbs +221 -6
- metadata +1 -1
|
@@ -499,6 +499,9 @@ module Aws::DevOpsAgent
|
|
|
499
499
|
# The configuration that directs how AgentSpace interacts with the given
|
|
500
500
|
# service.
|
|
501
501
|
#
|
|
502
|
+
# @option params [Hash<String,Types::CapabilityConfiguration>] :capabilities
|
|
503
|
+
# Enabled capabilities for this association.
|
|
504
|
+
#
|
|
502
505
|
# @return [Types::AssociateServiceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
503
506
|
#
|
|
504
507
|
# * {Types::AssociateServiceOutput#association #association} => Types::Association
|
|
@@ -527,6 +530,7 @@ module Aws::DevOpsAgent
|
|
|
527
530
|
# owner: "String", # required
|
|
528
531
|
# owner_type: "organization", # required, accepts organization, user
|
|
529
532
|
# instance_identifier: "String",
|
|
533
|
+
# runtime_role_arn: "RoleArn",
|
|
530
534
|
# },
|
|
531
535
|
# slack: {
|
|
532
536
|
# workspace_id: "SlackConfigurationWorkspaceIdString", # required
|
|
@@ -563,6 +567,7 @@ module Aws::DevOpsAgent
|
|
|
563
567
|
# project_id: "String", # required
|
|
564
568
|
# project_path: "String", # required
|
|
565
569
|
# instance_identifier: "String",
|
|
570
|
+
# runtime_role_arn: "RoleArn",
|
|
566
571
|
# },
|
|
567
572
|
# mcpserversplunk: {
|
|
568
573
|
# },
|
|
@@ -588,6 +593,15 @@ module Aws::DevOpsAgent
|
|
|
588
593
|
# mcpserversigv4: {
|
|
589
594
|
# tools: ["MCPToolsListMemberString"], # required
|
|
590
595
|
# },
|
|
596
|
+
# remoteagent: {
|
|
597
|
+
# },
|
|
598
|
+
# remoteagentsigv4: {
|
|
599
|
+
# },
|
|
600
|
+
# },
|
|
601
|
+
# capabilities: {
|
|
602
|
+
# "RELEASE_READINESS_REVIEW" => {
|
|
603
|
+
# enabled: false,
|
|
604
|
+
# },
|
|
591
605
|
# },
|
|
592
606
|
# })
|
|
593
607
|
#
|
|
@@ -611,6 +625,7 @@ module Aws::DevOpsAgent
|
|
|
611
625
|
# resp.association.configuration.github.owner #=> String
|
|
612
626
|
# resp.association.configuration.github.owner_type #=> String, one of "organization", "user"
|
|
613
627
|
# resp.association.configuration.github.instance_identifier #=> String
|
|
628
|
+
# resp.association.configuration.github.runtime_role_arn #=> String
|
|
614
629
|
# resp.association.configuration.slack.workspace_id #=> String
|
|
615
630
|
# resp.association.configuration.slack.workspace_name #=> String
|
|
616
631
|
# resp.association.configuration.slack.transmission_target.ops_oncall_target.channel_name #=> String
|
|
@@ -630,6 +645,7 @@ module Aws::DevOpsAgent
|
|
|
630
645
|
# resp.association.configuration.gitlab.project_id #=> String
|
|
631
646
|
# resp.association.configuration.gitlab.project_path #=> String
|
|
632
647
|
# resp.association.configuration.gitlab.instance_identifier #=> String
|
|
648
|
+
# resp.association.configuration.gitlab.runtime_role_arn #=> String
|
|
633
649
|
# resp.association.configuration.azure.subscription_id #=> String
|
|
634
650
|
# resp.association.configuration.azuredevops.organization_name #=> String
|
|
635
651
|
# resp.association.configuration.azuredevops.project_id #=> String
|
|
@@ -643,6 +659,8 @@ module Aws::DevOpsAgent
|
|
|
643
659
|
# resp.association.configuration.pagerduty.customer_email #=> String
|
|
644
660
|
# resp.association.configuration.mcpserversigv4.tools #=> Array
|
|
645
661
|
# resp.association.configuration.mcpserversigv4.tools[0] #=> String
|
|
662
|
+
# resp.association.capabilities #=> Hash
|
|
663
|
+
# resp.association.capabilities["CapabilityType"].enabled #=> Boolean
|
|
646
664
|
# resp.webhook.webhook_url #=> String
|
|
647
665
|
# resp.webhook.webhook_id #=> String
|
|
648
666
|
# resp.webhook.webhook_type #=> String, one of "hmac", "apikey", "gitlab", "pagerduty"
|
|
@@ -743,7 +761,8 @@ module Aws::DevOpsAgent
|
|
|
743
761
|
# additional encoding or escaping.
|
|
744
762
|
#
|
|
745
763
|
# @option params [required, Types::AssetContent] :content
|
|
746
|
-
# The content for the asset. Provide a single file
|
|
764
|
+
# The content for the asset. Provide a single file, a zip bundle, or a
|
|
765
|
+
# sourceUrl to import from an external source.
|
|
747
766
|
#
|
|
748
767
|
# @option params [String] :client_token
|
|
749
768
|
# A unique, case-sensitive identifier used for idempotent asset creation
|
|
@@ -775,6 +794,9 @@ module Aws::DevOpsAgent
|
|
|
775
794
|
# zip: {
|
|
776
795
|
# zip_file: "data", # required
|
|
777
796
|
# },
|
|
797
|
+
# source_url: {
|
|
798
|
+
# url: "AssetContentUrl", # required
|
|
799
|
+
# },
|
|
778
800
|
# },
|
|
779
801
|
# client_token: "CreateAssetRequestClientTokenString",
|
|
780
802
|
# })
|
|
@@ -904,7 +926,7 @@ module Aws::DevOpsAgent
|
|
|
904
926
|
# reference_url: "ReferenceInputReferenceUrlString", # required
|
|
905
927
|
# association_id: "ResourceId", # required
|
|
906
928
|
# },
|
|
907
|
-
# task_type: "INVESTIGATION", # required, accepts INVESTIGATION, EVALUATION
|
|
929
|
+
# task_type: "INVESTIGATION", # required, accepts INVESTIGATION, EVALUATION, RELEASE_READINESS_REVIEW, RELEASE_TESTING
|
|
908
930
|
# title: "BacklogTaskTitle", # required
|
|
909
931
|
# description: "BacklogTaskDescription",
|
|
910
932
|
# priority: "CRITICAL", # required, accepts CRITICAL, HIGH, MEDIUM, LOW, MINIMAL
|
|
@@ -923,7 +945,7 @@ module Aws::DevOpsAgent
|
|
|
923
945
|
# resp.task.reference.reference_id #=> String
|
|
924
946
|
# resp.task.reference.reference_url #=> String
|
|
925
947
|
# resp.task.reference.association_id #=> String
|
|
926
|
-
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
948
|
+
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION", "RELEASE_READINESS_REVIEW", "RELEASE_TESTING"
|
|
927
949
|
# resp.task.priority #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINIMAL"
|
|
928
950
|
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
929
951
|
# resp.task.created_at #=> Time
|
|
@@ -1058,6 +1080,75 @@ module Aws::DevOpsAgent
|
|
|
1058
1080
|
req.send_request(options)
|
|
1059
1081
|
end
|
|
1060
1082
|
|
|
1083
|
+
# Creates a new Trigger in the specified agent space
|
|
1084
|
+
#
|
|
1085
|
+
# @option params [required, String] :agent_space_id
|
|
1086
|
+
# The unique identifier for the agent space where the Trigger will be
|
|
1087
|
+
# created
|
|
1088
|
+
#
|
|
1089
|
+
# @option params [required, String] :type
|
|
1090
|
+
# How the new Trigger fires
|
|
1091
|
+
#
|
|
1092
|
+
# @option params [required, Types::TriggerCondition] :condition
|
|
1093
|
+
# The condition that fires the new Trigger
|
|
1094
|
+
#
|
|
1095
|
+
# @option params [required, Hash,Array,String,Numeric,Boolean] :action
|
|
1096
|
+
# The action the new Trigger performs when it fires
|
|
1097
|
+
#
|
|
1098
|
+
# Document type used to carry open content
|
|
1099
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
1100
|
+
# serialized using the same format as its surroundings and requires no
|
|
1101
|
+
# additional encoding or escaping.
|
|
1102
|
+
#
|
|
1103
|
+
# @option params [String] :status
|
|
1104
|
+
# The initial status of the Trigger
|
|
1105
|
+
#
|
|
1106
|
+
# @option params [String] :client_token
|
|
1107
|
+
# A unique, case-sensitive identifier used for idempotent Trigger
|
|
1108
|
+
# creation
|
|
1109
|
+
#
|
|
1110
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1111
|
+
# not need to pass this option.**
|
|
1112
|
+
#
|
|
1113
|
+
# @return [Types::CreateTriggerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1114
|
+
#
|
|
1115
|
+
# * {Types::CreateTriggerResponse#trigger #trigger} => Types::Trigger
|
|
1116
|
+
#
|
|
1117
|
+
# @example Request syntax with placeholder values
|
|
1118
|
+
#
|
|
1119
|
+
# resp = client.create_trigger({
|
|
1120
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1121
|
+
# type: "TriggerType", # required
|
|
1122
|
+
# condition: { # required
|
|
1123
|
+
# schedule: {
|
|
1124
|
+
# expression: "ScheduleExpression", # required
|
|
1125
|
+
# },
|
|
1126
|
+
# },
|
|
1127
|
+
# action: { # required
|
|
1128
|
+
# },
|
|
1129
|
+
# status: "TriggerStatus",
|
|
1130
|
+
# client_token: "CreateTriggerRequestClientTokenString",
|
|
1131
|
+
# })
|
|
1132
|
+
#
|
|
1133
|
+
# @example Response structure
|
|
1134
|
+
#
|
|
1135
|
+
# resp.trigger.trigger_id #=> String
|
|
1136
|
+
# resp.trigger.agent_space_id #=> String
|
|
1137
|
+
# resp.trigger.type #=> String
|
|
1138
|
+
# resp.trigger.condition.schedule.expression #=> String
|
|
1139
|
+
# resp.trigger.status #=> String
|
|
1140
|
+
# resp.trigger.created_at #=> Time
|
|
1141
|
+
# resp.trigger.updated_at #=> Time
|
|
1142
|
+
#
|
|
1143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CreateTrigger AWS API Documentation
|
|
1144
|
+
#
|
|
1145
|
+
# @overload create_trigger(params = {})
|
|
1146
|
+
# @param [Hash] params ({})
|
|
1147
|
+
def create_trigger(params = {}, options = {})
|
|
1148
|
+
req = build_request(:create_trigger, params)
|
|
1149
|
+
req.send_request(options)
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1061
1152
|
# Deletes an AgentSpace. This operation is idempotent and returns a 204
|
|
1062
1153
|
# No Content response on success.
|
|
1063
1154
|
#
|
|
@@ -1168,6 +1259,32 @@ module Aws::DevOpsAgent
|
|
|
1168
1259
|
req.send_request(options)
|
|
1169
1260
|
end
|
|
1170
1261
|
|
|
1262
|
+
# Deletes a Trigger from the specified agent space
|
|
1263
|
+
#
|
|
1264
|
+
# @option params [required, String] :agent_space_id
|
|
1265
|
+
# The unique identifier for the agent space containing the Trigger
|
|
1266
|
+
#
|
|
1267
|
+
# @option params [required, String] :trigger_id
|
|
1268
|
+
# The unique identifier of the Trigger to delete
|
|
1269
|
+
#
|
|
1270
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1271
|
+
#
|
|
1272
|
+
# @example Request syntax with placeholder values
|
|
1273
|
+
#
|
|
1274
|
+
# resp = client.delete_trigger({
|
|
1275
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1276
|
+
# trigger_id: "ResourceId", # required
|
|
1277
|
+
# })
|
|
1278
|
+
#
|
|
1279
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/DeleteTrigger AWS API Documentation
|
|
1280
|
+
#
|
|
1281
|
+
# @overload delete_trigger(params = {})
|
|
1282
|
+
# @param [Hash] params ({})
|
|
1283
|
+
def delete_trigger(params = {}, options = {})
|
|
1284
|
+
req = build_request(:delete_trigger, params)
|
|
1285
|
+
req.send_request(options)
|
|
1286
|
+
end
|
|
1287
|
+
|
|
1171
1288
|
# Deregister a service
|
|
1172
1289
|
#
|
|
1173
1290
|
# @option params [required, String] :service_id
|
|
@@ -1606,6 +1723,7 @@ module Aws::DevOpsAgent
|
|
|
1606
1723
|
# resp.association.configuration.github.owner #=> String
|
|
1607
1724
|
# resp.association.configuration.github.owner_type #=> String, one of "organization", "user"
|
|
1608
1725
|
# resp.association.configuration.github.instance_identifier #=> String
|
|
1726
|
+
# resp.association.configuration.github.runtime_role_arn #=> String
|
|
1609
1727
|
# resp.association.configuration.slack.workspace_id #=> String
|
|
1610
1728
|
# resp.association.configuration.slack.workspace_name #=> String
|
|
1611
1729
|
# resp.association.configuration.slack.transmission_target.ops_oncall_target.channel_name #=> String
|
|
@@ -1625,6 +1743,7 @@ module Aws::DevOpsAgent
|
|
|
1625
1743
|
# resp.association.configuration.gitlab.project_id #=> String
|
|
1626
1744
|
# resp.association.configuration.gitlab.project_path #=> String
|
|
1627
1745
|
# resp.association.configuration.gitlab.instance_identifier #=> String
|
|
1746
|
+
# resp.association.configuration.gitlab.runtime_role_arn #=> String
|
|
1628
1747
|
# resp.association.configuration.azure.subscription_id #=> String
|
|
1629
1748
|
# resp.association.configuration.azuredevops.organization_name #=> String
|
|
1630
1749
|
# resp.association.configuration.azuredevops.project_id #=> String
|
|
@@ -1638,6 +1757,8 @@ module Aws::DevOpsAgent
|
|
|
1638
1757
|
# resp.association.configuration.pagerduty.customer_email #=> String
|
|
1639
1758
|
# resp.association.configuration.mcpserversigv4.tools #=> Array
|
|
1640
1759
|
# resp.association.configuration.mcpserversigv4.tools[0] #=> String
|
|
1760
|
+
# resp.association.capabilities #=> Hash
|
|
1761
|
+
# resp.association.capabilities["CapabilityType"].enabled #=> Boolean
|
|
1641
1762
|
#
|
|
1642
1763
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetAssociation AWS API Documentation
|
|
1643
1764
|
#
|
|
@@ -1679,7 +1800,7 @@ module Aws::DevOpsAgent
|
|
|
1679
1800
|
# resp.task.reference.reference_id #=> String
|
|
1680
1801
|
# resp.task.reference.reference_url #=> String
|
|
1681
1802
|
# resp.task.reference.association_id #=> String
|
|
1682
|
-
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
1803
|
+
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION", "RELEASE_READINESS_REVIEW", "RELEASE_TESTING"
|
|
1683
1804
|
# resp.task.priority #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINIMAL"
|
|
1684
1805
|
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
1685
1806
|
# resp.task.created_at #=> Time
|
|
@@ -1816,7 +1937,7 @@ module Aws::DevOpsAgent
|
|
|
1816
1937
|
# @example Response structure
|
|
1817
1938
|
#
|
|
1818
1939
|
# resp.service.service_id #=> String
|
|
1819
|
-
# resp.service.service_type #=> String, one of "github", "slack", "azure", "azuredevops", "dynatrace", "servicenow", "pagerduty", "gitlab", "eventChannel", "mcpservernewrelic", "mcpservergrafana", "mcpserverdatadog", "mcpserver", "mcpserversplunk", "azureidentity", "mcpserversigv4"
|
|
1940
|
+
# resp.service.service_type #=> String, one of "github", "slack", "azure", "azuredevops", "dynatrace", "servicenow", "pagerduty", "gitlab", "eventChannel", "mcpservernewrelic", "mcpservergrafana", "mcpserverdatadog", "mcpserver", "mcpserversplunk", "azureidentity", "mcpserversigv4", "remoteagent", "remoteagentsigv4"
|
|
1820
1941
|
# resp.service.name #=> String
|
|
1821
1942
|
# resp.service.accessible_resources #=> Array
|
|
1822
1943
|
# resp.service.additional_service_details.github.owner #=> String
|
|
@@ -1865,6 +1986,17 @@ module Aws::DevOpsAgent
|
|
|
1865
1986
|
# resp.service.additional_service_details.mcpserversigv4.mcp_role_arn #=> String
|
|
1866
1987
|
# resp.service.additional_service_details.mcpserversigv4.custom_headers #=> Hash
|
|
1867
1988
|
# resp.service.additional_service_details.mcpserversigv4.custom_headers["CustomHeaderName"] #=> String
|
|
1989
|
+
# resp.service.additional_service_details.remoteagent.name #=> String
|
|
1990
|
+
# resp.service.additional_service_details.remoteagent.endpoint #=> String
|
|
1991
|
+
# resp.service.additional_service_details.remoteagent.description #=> String
|
|
1992
|
+
# resp.service.additional_service_details.remoteagent.authorization_method #=> String, one of "oauth-client-credentials", "api-key", "bearer-token"
|
|
1993
|
+
# resp.service.additional_service_details.remoteagent.api_key_header #=> String
|
|
1994
|
+
# resp.service.additional_service_details.remoteagentsigv4.name #=> String
|
|
1995
|
+
# resp.service.additional_service_details.remoteagentsigv4.endpoint #=> String
|
|
1996
|
+
# resp.service.additional_service_details.remoteagentsigv4.description #=> String
|
|
1997
|
+
# resp.service.additional_service_details.remoteagentsigv4.region #=> String
|
|
1998
|
+
# resp.service.additional_service_details.remoteagentsigv4.service #=> String
|
|
1999
|
+
# resp.service.additional_service_details.remoteagentsigv4.role_arn #=> String
|
|
1868
2000
|
# resp.service.kms_key_arn #=> String
|
|
1869
2001
|
# resp.service.private_connection_name #=> String
|
|
1870
2002
|
# resp.tags #=> Hash
|
|
@@ -1879,6 +2011,44 @@ module Aws::DevOpsAgent
|
|
|
1879
2011
|
req.send_request(options)
|
|
1880
2012
|
end
|
|
1881
2013
|
|
|
2014
|
+
# Gets a Trigger from the specified agent space
|
|
2015
|
+
#
|
|
2016
|
+
# @option params [required, String] :agent_space_id
|
|
2017
|
+
# The unique identifier for the agent space containing the Trigger
|
|
2018
|
+
#
|
|
2019
|
+
# @option params [required, String] :trigger_id
|
|
2020
|
+
# The unique identifier of the Trigger to retrieve
|
|
2021
|
+
#
|
|
2022
|
+
# @return [Types::GetTriggerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2023
|
+
#
|
|
2024
|
+
# * {Types::GetTriggerResponse#trigger #trigger} => Types::Trigger
|
|
2025
|
+
#
|
|
2026
|
+
# @example Request syntax with placeholder values
|
|
2027
|
+
#
|
|
2028
|
+
# resp = client.get_trigger({
|
|
2029
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
2030
|
+
# trigger_id: "ResourceId", # required
|
|
2031
|
+
# })
|
|
2032
|
+
#
|
|
2033
|
+
# @example Response structure
|
|
2034
|
+
#
|
|
2035
|
+
# resp.trigger.trigger_id #=> String
|
|
2036
|
+
# resp.trigger.agent_space_id #=> String
|
|
2037
|
+
# resp.trigger.type #=> String
|
|
2038
|
+
# resp.trigger.condition.schedule.expression #=> String
|
|
2039
|
+
# resp.trigger.status #=> String
|
|
2040
|
+
# resp.trigger.created_at #=> Time
|
|
2041
|
+
# resp.trigger.updated_at #=> Time
|
|
2042
|
+
#
|
|
2043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetTrigger AWS API Documentation
|
|
2044
|
+
#
|
|
2045
|
+
# @overload get_trigger(params = {})
|
|
2046
|
+
# @param [Hash] params ({})
|
|
2047
|
+
def get_trigger(params = {}, options = {})
|
|
2048
|
+
req = build_request(:get_trigger, params)
|
|
2049
|
+
req.send_request(options)
|
|
2050
|
+
end
|
|
2051
|
+
|
|
1882
2052
|
# Lists all AgentSpaces with optional pagination.
|
|
1883
2053
|
#
|
|
1884
2054
|
# @option params [Integer] :max_results
|
|
@@ -2174,6 +2344,7 @@ module Aws::DevOpsAgent
|
|
|
2174
2344
|
# resp.associations[0].configuration.github.owner #=> String
|
|
2175
2345
|
# resp.associations[0].configuration.github.owner_type #=> String, one of "organization", "user"
|
|
2176
2346
|
# resp.associations[0].configuration.github.instance_identifier #=> String
|
|
2347
|
+
# resp.associations[0].configuration.github.runtime_role_arn #=> String
|
|
2177
2348
|
# resp.associations[0].configuration.slack.workspace_id #=> String
|
|
2178
2349
|
# resp.associations[0].configuration.slack.workspace_name #=> String
|
|
2179
2350
|
# resp.associations[0].configuration.slack.transmission_target.ops_oncall_target.channel_name #=> String
|
|
@@ -2193,6 +2364,7 @@ module Aws::DevOpsAgent
|
|
|
2193
2364
|
# resp.associations[0].configuration.gitlab.project_id #=> String
|
|
2194
2365
|
# resp.associations[0].configuration.gitlab.project_path #=> String
|
|
2195
2366
|
# resp.associations[0].configuration.gitlab.instance_identifier #=> String
|
|
2367
|
+
# resp.associations[0].configuration.gitlab.runtime_role_arn #=> String
|
|
2196
2368
|
# resp.associations[0].configuration.azure.subscription_id #=> String
|
|
2197
2369
|
# resp.associations[0].configuration.azuredevops.organization_name #=> String
|
|
2198
2370
|
# resp.associations[0].configuration.azuredevops.project_id #=> String
|
|
@@ -2206,6 +2378,8 @@ module Aws::DevOpsAgent
|
|
|
2206
2378
|
# resp.associations[0].configuration.pagerduty.customer_email #=> String
|
|
2207
2379
|
# resp.associations[0].configuration.mcpserversigv4.tools #=> Array
|
|
2208
2380
|
# resp.associations[0].configuration.mcpserversigv4.tools[0] #=> String
|
|
2381
|
+
# resp.associations[0].capabilities #=> Hash
|
|
2382
|
+
# resp.associations[0].capabilities["CapabilityType"].enabled #=> Boolean
|
|
2209
2383
|
#
|
|
2210
2384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListAssociations AWS API Documentation
|
|
2211
2385
|
#
|
|
@@ -2261,7 +2435,7 @@ module Aws::DevOpsAgent
|
|
|
2261
2435
|
# created_before: Time.now,
|
|
2262
2436
|
# priority: ["CRITICAL"], # accepts CRITICAL, HIGH, MEDIUM, LOW, MINIMAL
|
|
2263
2437
|
# status: ["PENDING_TRIAGE"], # accepts PENDING_TRIAGE, LINKED, PENDING_START, IN_PROGRESS, PENDING_CUSTOMER_APPROVAL, COMPLETED, FAILED, TIMED_OUT, CANCELED, SKIPPED
|
|
2264
|
-
# task_type: ["INVESTIGATION"], # accepts INVESTIGATION, EVALUATION
|
|
2438
|
+
# task_type: ["INVESTIGATION"], # accepts INVESTIGATION, EVALUATION, RELEASE_READINESS_REVIEW, RELEASE_TESTING
|
|
2265
2439
|
# primary_task_id: "ResourceId",
|
|
2266
2440
|
# },
|
|
2267
2441
|
# limit: 1,
|
|
@@ -2283,7 +2457,7 @@ module Aws::DevOpsAgent
|
|
|
2283
2457
|
# resp.tasks[0].reference.reference_id #=> String
|
|
2284
2458
|
# resp.tasks[0].reference.reference_url #=> String
|
|
2285
2459
|
# resp.tasks[0].reference.association_id #=> String
|
|
2286
|
-
# resp.tasks[0].task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
2460
|
+
# resp.tasks[0].task_type #=> String, one of "INVESTIGATION", "EVALUATION", "RELEASE_READINESS_REVIEW", "RELEASE_TESTING"
|
|
2287
2461
|
# resp.tasks[0].priority #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINIMAL"
|
|
2288
2462
|
# resp.tasks[0].status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
2289
2463
|
# resp.tasks[0].created_at #=> Time
|
|
@@ -2697,7 +2871,7 @@ module Aws::DevOpsAgent
|
|
|
2697
2871
|
# resp = client.list_services({
|
|
2698
2872
|
# max_results: 1,
|
|
2699
2873
|
# next_token: "NextToken",
|
|
2700
|
-
# filter_service_type: "github", # accepts github, slack, azure, azuredevops, dynatrace, servicenow, pagerduty, gitlab, eventChannel, mcpservernewrelic, mcpservergrafana, mcpserverdatadog, mcpserver, mcpserversplunk, azureidentity, mcpserversigv4
|
|
2874
|
+
# filter_service_type: "github", # accepts github, slack, azure, azuredevops, dynatrace, servicenow, pagerduty, gitlab, eventChannel, mcpservernewrelic, mcpservergrafana, mcpserverdatadog, mcpserver, mcpserversplunk, azureidentity, mcpserversigv4, remoteagent, remoteagentsigv4
|
|
2701
2875
|
# })
|
|
2702
2876
|
#
|
|
2703
2877
|
# @example Response structure
|
|
@@ -2705,7 +2879,7 @@ module Aws::DevOpsAgent
|
|
|
2705
2879
|
# resp.next_token #=> String
|
|
2706
2880
|
# resp.services #=> Array
|
|
2707
2881
|
# resp.services[0].service_id #=> String
|
|
2708
|
-
# resp.services[0].service_type #=> String, one of "github", "slack", "azure", "azuredevops", "dynatrace", "servicenow", "pagerduty", "gitlab", "eventChannel", "mcpservernewrelic", "mcpservergrafana", "mcpserverdatadog", "mcpserver", "mcpserversplunk", "azureidentity", "mcpserversigv4"
|
|
2882
|
+
# resp.services[0].service_type #=> String, one of "github", "slack", "azure", "azuredevops", "dynatrace", "servicenow", "pagerduty", "gitlab", "eventChannel", "mcpservernewrelic", "mcpservergrafana", "mcpserverdatadog", "mcpserver", "mcpserversplunk", "azureidentity", "mcpserversigv4", "remoteagent", "remoteagentsigv4"
|
|
2709
2883
|
# resp.services[0].name #=> String
|
|
2710
2884
|
# resp.services[0].accessible_resources #=> Array
|
|
2711
2885
|
# resp.services[0].additional_service_details.github.owner #=> String
|
|
@@ -2754,6 +2928,17 @@ module Aws::DevOpsAgent
|
|
|
2754
2928
|
# resp.services[0].additional_service_details.mcpserversigv4.mcp_role_arn #=> String
|
|
2755
2929
|
# resp.services[0].additional_service_details.mcpserversigv4.custom_headers #=> Hash
|
|
2756
2930
|
# resp.services[0].additional_service_details.mcpserversigv4.custom_headers["CustomHeaderName"] #=> String
|
|
2931
|
+
# resp.services[0].additional_service_details.remoteagent.name #=> String
|
|
2932
|
+
# resp.services[0].additional_service_details.remoteagent.endpoint #=> String
|
|
2933
|
+
# resp.services[0].additional_service_details.remoteagent.description #=> String
|
|
2934
|
+
# resp.services[0].additional_service_details.remoteagent.authorization_method #=> String, one of "oauth-client-credentials", "api-key", "bearer-token"
|
|
2935
|
+
# resp.services[0].additional_service_details.remoteagent.api_key_header #=> String
|
|
2936
|
+
# resp.services[0].additional_service_details.remoteagentsigv4.name #=> String
|
|
2937
|
+
# resp.services[0].additional_service_details.remoteagentsigv4.endpoint #=> String
|
|
2938
|
+
# resp.services[0].additional_service_details.remoteagentsigv4.description #=> String
|
|
2939
|
+
# resp.services[0].additional_service_details.remoteagentsigv4.region #=> String
|
|
2940
|
+
# resp.services[0].additional_service_details.remoteagentsigv4.service #=> String
|
|
2941
|
+
# resp.services[0].additional_service_details.remoteagentsigv4.role_arn #=> String
|
|
2757
2942
|
# resp.services[0].kms_key_arn #=> String
|
|
2758
2943
|
# resp.services[0].private_connection_name #=> String
|
|
2759
2944
|
#
|
|
@@ -2795,6 +2980,59 @@ module Aws::DevOpsAgent
|
|
|
2795
2980
|
req.send_request(options)
|
|
2796
2981
|
end
|
|
2797
2982
|
|
|
2983
|
+
# Lists Triggers in the specified agent space
|
|
2984
|
+
#
|
|
2985
|
+
# @option params [required, String] :agent_space_id
|
|
2986
|
+
# The unique identifier for the agent space whose Triggers should be
|
|
2987
|
+
# listed
|
|
2988
|
+
#
|
|
2989
|
+
# @option params [String] :status
|
|
2990
|
+
# Filter results to Triggers in this status
|
|
2991
|
+
#
|
|
2992
|
+
# @option params [String] :next_token
|
|
2993
|
+
# Pagination token from a previous response to retrieve the next page of
|
|
2994
|
+
# results
|
|
2995
|
+
#
|
|
2996
|
+
# @option params [Integer] :max_results
|
|
2997
|
+
# The maximum number of results to return in a single response
|
|
2998
|
+
#
|
|
2999
|
+
# @return [Types::ListTriggersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3000
|
+
#
|
|
3001
|
+
# * {Types::ListTriggersResponse#items #items} => Array<Types::Trigger>
|
|
3002
|
+
# * {Types::ListTriggersResponse#next_token #next_token} => String
|
|
3003
|
+
#
|
|
3004
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3005
|
+
#
|
|
3006
|
+
# @example Request syntax with placeholder values
|
|
3007
|
+
#
|
|
3008
|
+
# resp = client.list_triggers({
|
|
3009
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
3010
|
+
# status: "TriggerStatus",
|
|
3011
|
+
# next_token: "NextToken",
|
|
3012
|
+
# max_results: 1,
|
|
3013
|
+
# })
|
|
3014
|
+
#
|
|
3015
|
+
# @example Response structure
|
|
3016
|
+
#
|
|
3017
|
+
# resp.items #=> Array
|
|
3018
|
+
# resp.items[0].trigger_id #=> String
|
|
3019
|
+
# resp.items[0].agent_space_id #=> String
|
|
3020
|
+
# resp.items[0].type #=> String
|
|
3021
|
+
# resp.items[0].condition.schedule.expression #=> String
|
|
3022
|
+
# resp.items[0].status #=> String
|
|
3023
|
+
# resp.items[0].created_at #=> Time
|
|
3024
|
+
# resp.items[0].updated_at #=> Time
|
|
3025
|
+
# resp.next_token #=> String
|
|
3026
|
+
#
|
|
3027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListTriggers AWS API Documentation
|
|
3028
|
+
#
|
|
3029
|
+
# @overload list_triggers(params = {})
|
|
3030
|
+
# @param [Hash] params ({})
|
|
3031
|
+
def list_triggers(params = {}, options = {})
|
|
3032
|
+
req = build_request(:list_triggers, params)
|
|
3033
|
+
req.send_request(options)
|
|
3034
|
+
end
|
|
3035
|
+
|
|
2798
3036
|
# List all webhooks for given Association
|
|
2799
3037
|
#
|
|
2800
3038
|
# @option params [required, String] :agent_space_id
|
|
@@ -2871,7 +3109,7 @@ module Aws::DevOpsAgent
|
|
|
2871
3109
|
# @example Request syntax with placeholder values
|
|
2872
3110
|
#
|
|
2873
3111
|
# resp = client.register_service({
|
|
2874
|
-
# service: "dynatrace", # required, accepts dynatrace, servicenow, pagerduty, gitlab, eventChannel, mcpservernewrelic, mcpservergrafana, mcpserverdatadog, mcpserver, mcpserversplunk, azureidentity, mcpserversigv4
|
|
3112
|
+
# service: "dynatrace", # required, accepts dynatrace, servicenow, pagerduty, gitlab, eventChannel, mcpservernewrelic, mcpservergrafana, mcpserverdatadog, mcpserver, mcpserversplunk, azureidentity, mcpserversigv4, remoteagent, remoteagentsigv4
|
|
2875
3113
|
# service_details: { # required
|
|
2876
3114
|
# dynatrace: {
|
|
2877
3115
|
# account_urn: "DynatraceServiceDetailsAccountUrnString", # required
|
|
@@ -2933,7 +3171,7 @@ module Aws::DevOpsAgent
|
|
|
2933
3171
|
# return_to_endpoint: "MCPServerOAuth3LOConfigReturnToEndpointString", # required
|
|
2934
3172
|
# authorization_url: "MCPServerOAuth3LOConfigAuthorizationUrlString", # required
|
|
2935
3173
|
# exchange_url: "MCPServerOAuth3LOConfigExchangeUrlString", # required
|
|
2936
|
-
# client_secret: "
|
|
3174
|
+
# client_secret: "MCPServerOAuth3LOConfigClientSecretString",
|
|
2937
3175
|
# support_code_challenge: false,
|
|
2938
3176
|
# scopes: ["OAuthScope"],
|
|
2939
3177
|
# },
|
|
@@ -2982,7 +3220,7 @@ module Aws::DevOpsAgent
|
|
|
2982
3220
|
# return_to_endpoint: "MCPServerOAuth3LOConfigReturnToEndpointString", # required
|
|
2983
3221
|
# authorization_url: "MCPServerOAuth3LOConfigAuthorizationUrlString", # required
|
|
2984
3222
|
# exchange_url: "MCPServerOAuth3LOConfigExchangeUrlString", # required
|
|
2985
|
-
# client_secret: "
|
|
3223
|
+
# client_secret: "MCPServerOAuth3LOConfigClientSecretString",
|
|
2986
3224
|
# support_code_challenge: false,
|
|
2987
3225
|
# scopes: ["OAuthScope"],
|
|
2988
3226
|
# },
|
|
@@ -3040,7 +3278,7 @@ module Aws::DevOpsAgent
|
|
|
3040
3278
|
# return_to_endpoint: "MCPServerOAuth3LOConfigReturnToEndpointString", # required
|
|
3041
3279
|
# authorization_url: "MCPServerOAuth3LOConfigAuthorizationUrlString", # required
|
|
3042
3280
|
# exchange_url: "MCPServerOAuth3LOConfigExchangeUrlString", # required
|
|
3043
|
-
# client_secret: "
|
|
3281
|
+
# client_secret: "MCPServerOAuth3LOConfigClientSecretString",
|
|
3044
3282
|
# support_code_challenge: false,
|
|
3045
3283
|
# scopes: ["OAuthScope"],
|
|
3046
3284
|
# },
|
|
@@ -3092,6 +3330,43 @@ module Aws::DevOpsAgent
|
|
|
3092
3330
|
# },
|
|
3093
3331
|
# },
|
|
3094
3332
|
# },
|
|
3333
|
+
# remoteagent: {
|
|
3334
|
+
# name: "RemoteAgentName", # required
|
|
3335
|
+
# endpoint: "RemoteAgentEndpoint", # required
|
|
3336
|
+
# description: "RemoteAgentServiceDetailsDescriptionString",
|
|
3337
|
+
# authorization_config: { # required
|
|
3338
|
+
# api_key: {
|
|
3339
|
+
# api_key_name: "RemoteAgentAPIKeyConfigApiKeyNameString", # required
|
|
3340
|
+
# api_key_value: "RemoteAgentAPIKeyConfigApiKeyValueString", # required
|
|
3341
|
+
# api_key_header: "RemoteAgentAPIKeyConfigApiKeyHeaderString", # required
|
|
3342
|
+
# },
|
|
3343
|
+
# o_auth_client_credentials: {
|
|
3344
|
+
# client_name: "RemoteAgentOAuthClientCredentialsConfigClientNameString",
|
|
3345
|
+
# client_id: "ClientId", # required
|
|
3346
|
+
# exchange_parameters: {
|
|
3347
|
+
# "String" => "ExchangeParameterValue",
|
|
3348
|
+
# },
|
|
3349
|
+
# client_secret: "ClientSecret", # required
|
|
3350
|
+
# exchange_url: "RemoteAgentOAuthClientCredentialsConfigExchangeUrlString", # required
|
|
3351
|
+
# scopes: ["OAuthScope"],
|
|
3352
|
+
# },
|
|
3353
|
+
# bearer_token: {
|
|
3354
|
+
# token_name: "RemoteAgentBearerTokenConfigTokenNameString", # required
|
|
3355
|
+
# token_value: "RemoteAgentBearerTokenConfigTokenValueString", # required
|
|
3356
|
+
# authorization_header: "RemoteAgentBearerTokenConfigAuthorizationHeaderString",
|
|
3357
|
+
# },
|
|
3358
|
+
# },
|
|
3359
|
+
# },
|
|
3360
|
+
# remoteagentsigv4: {
|
|
3361
|
+
# name: "RemoteAgentName", # required
|
|
3362
|
+
# endpoint: "RemoteAgentEndpoint", # required
|
|
3363
|
+
# description: "RemoteAgentSigV4ServiceDetailsDescriptionString",
|
|
3364
|
+
# authorization_config: { # required
|
|
3365
|
+
# region: "SigV4Region", # required
|
|
3366
|
+
# service: "RemoteAgentSigV4AuthorizationConfigServiceString", # required
|
|
3367
|
+
# role_arn: "RoleArn",
|
|
3368
|
+
# },
|
|
3369
|
+
# },
|
|
3095
3370
|
# },
|
|
3096
3371
|
# kms_key_arn: "KmsKeyArn",
|
|
3097
3372
|
# private_connection_name: "PrivateConnectionName",
|
|
@@ -3521,8 +3796,8 @@ module Aws::DevOpsAgent
|
|
|
3521
3796
|
# additional encoding or escaping.
|
|
3522
3797
|
#
|
|
3523
3798
|
# @option params [Types::AssetContent] :content
|
|
3524
|
-
# Optional content
|
|
3525
|
-
#
|
|
3799
|
+
# Optional content update. A single file adds or replaces one file; a
|
|
3800
|
+
# zip replaces all files; a sourceUrl re-syncs from the original source.
|
|
3526
3801
|
#
|
|
3527
3802
|
# @option params [String] :client_token
|
|
3528
3803
|
# A unique, case-sensitive identifier used for idempotent asset update
|
|
@@ -3554,6 +3829,9 @@ module Aws::DevOpsAgent
|
|
|
3554
3829
|
# zip: {
|
|
3555
3830
|
# zip_file: "data", # required
|
|
3556
3831
|
# },
|
|
3832
|
+
# source_url: {
|
|
3833
|
+
# url: "AssetContentUrl", # required
|
|
3834
|
+
# },
|
|
3557
3835
|
# },
|
|
3558
3836
|
# client_token: "UpdateAssetRequestClientTokenString",
|
|
3559
3837
|
# })
|
|
@@ -3656,6 +3934,9 @@ module Aws::DevOpsAgent
|
|
|
3656
3934
|
# The configuration that directs how AgentSpace interacts with the given
|
|
3657
3935
|
# service. The entire configuration is replaced on update.
|
|
3658
3936
|
#
|
|
3937
|
+
# @option params [Hash<String,Types::CapabilityConfiguration>] :capabilities
|
|
3938
|
+
# Enabled capabilities for this association.
|
|
3939
|
+
#
|
|
3659
3940
|
# @return [Types::UpdateAssociationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3660
3941
|
#
|
|
3661
3942
|
# * {Types::UpdateAssociationOutput#association #association} => Types::Association
|
|
@@ -3684,6 +3965,7 @@ module Aws::DevOpsAgent
|
|
|
3684
3965
|
# owner: "String", # required
|
|
3685
3966
|
# owner_type: "organization", # required, accepts organization, user
|
|
3686
3967
|
# instance_identifier: "String",
|
|
3968
|
+
# runtime_role_arn: "RoleArn",
|
|
3687
3969
|
# },
|
|
3688
3970
|
# slack: {
|
|
3689
3971
|
# workspace_id: "SlackConfigurationWorkspaceIdString", # required
|
|
@@ -3720,6 +4002,7 @@ module Aws::DevOpsAgent
|
|
|
3720
4002
|
# project_id: "String", # required
|
|
3721
4003
|
# project_path: "String", # required
|
|
3722
4004
|
# instance_identifier: "String",
|
|
4005
|
+
# runtime_role_arn: "RoleArn",
|
|
3723
4006
|
# },
|
|
3724
4007
|
# mcpserversplunk: {
|
|
3725
4008
|
# },
|
|
@@ -3745,6 +4028,15 @@ module Aws::DevOpsAgent
|
|
|
3745
4028
|
# mcpserversigv4: {
|
|
3746
4029
|
# tools: ["MCPToolsListMemberString"], # required
|
|
3747
4030
|
# },
|
|
4031
|
+
# remoteagent: {
|
|
4032
|
+
# },
|
|
4033
|
+
# remoteagentsigv4: {
|
|
4034
|
+
# },
|
|
4035
|
+
# },
|
|
4036
|
+
# capabilities: {
|
|
4037
|
+
# "RELEASE_READINESS_REVIEW" => {
|
|
4038
|
+
# enabled: false,
|
|
4039
|
+
# },
|
|
3748
4040
|
# },
|
|
3749
4041
|
# })
|
|
3750
4042
|
#
|
|
@@ -3768,6 +4060,7 @@ module Aws::DevOpsAgent
|
|
|
3768
4060
|
# resp.association.configuration.github.owner #=> String
|
|
3769
4061
|
# resp.association.configuration.github.owner_type #=> String, one of "organization", "user"
|
|
3770
4062
|
# resp.association.configuration.github.instance_identifier #=> String
|
|
4063
|
+
# resp.association.configuration.github.runtime_role_arn #=> String
|
|
3771
4064
|
# resp.association.configuration.slack.workspace_id #=> String
|
|
3772
4065
|
# resp.association.configuration.slack.workspace_name #=> String
|
|
3773
4066
|
# resp.association.configuration.slack.transmission_target.ops_oncall_target.channel_name #=> String
|
|
@@ -3787,6 +4080,7 @@ module Aws::DevOpsAgent
|
|
|
3787
4080
|
# resp.association.configuration.gitlab.project_id #=> String
|
|
3788
4081
|
# resp.association.configuration.gitlab.project_path #=> String
|
|
3789
4082
|
# resp.association.configuration.gitlab.instance_identifier #=> String
|
|
4083
|
+
# resp.association.configuration.gitlab.runtime_role_arn #=> String
|
|
3790
4084
|
# resp.association.configuration.azure.subscription_id #=> String
|
|
3791
4085
|
# resp.association.configuration.azuredevops.organization_name #=> String
|
|
3792
4086
|
# resp.association.configuration.azuredevops.project_id #=> String
|
|
@@ -3800,6 +4094,8 @@ module Aws::DevOpsAgent
|
|
|
3800
4094
|
# resp.association.configuration.pagerduty.customer_email #=> String
|
|
3801
4095
|
# resp.association.configuration.mcpserversigv4.tools #=> Array
|
|
3802
4096
|
# resp.association.configuration.mcpserversigv4.tools[0] #=> String
|
|
4097
|
+
# resp.association.capabilities #=> Hash
|
|
4098
|
+
# resp.association.capabilities["CapabilityType"].enabled #=> Boolean
|
|
3803
4099
|
# resp.webhook.webhook_url #=> String
|
|
3804
4100
|
# resp.webhook.webhook_id #=> String
|
|
3805
4101
|
# resp.webhook.webhook_type #=> String, one of "hmac", "apikey", "gitlab", "pagerduty"
|
|
@@ -3857,7 +4153,7 @@ module Aws::DevOpsAgent
|
|
|
3857
4153
|
# resp.task.reference.reference_id #=> String
|
|
3858
4154
|
# resp.task.reference.reference_url #=> String
|
|
3859
4155
|
# resp.task.reference.association_id #=> String
|
|
3860
|
-
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
4156
|
+
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION", "RELEASE_READINESS_REVIEW", "RELEASE_TESTING"
|
|
3861
4157
|
# resp.task.priority #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINIMAL"
|
|
3862
4158
|
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
3863
4159
|
# resp.task.created_at #=> Time
|
|
@@ -4089,6 +4385,55 @@ module Aws::DevOpsAgent
|
|
|
4089
4385
|
req.send_request(options)
|
|
4090
4386
|
end
|
|
4091
4387
|
|
|
4388
|
+
# Updates the status of an existing Trigger
|
|
4389
|
+
#
|
|
4390
|
+
# @option params [required, String] :agent_space_id
|
|
4391
|
+
# The unique identifier for the agent space containing the Trigger
|
|
4392
|
+
#
|
|
4393
|
+
# @option params [required, String] :trigger_id
|
|
4394
|
+
# The unique identifier of the Trigger to update
|
|
4395
|
+
#
|
|
4396
|
+
# @option params [String] :status
|
|
4397
|
+
# The new status for the Trigger
|
|
4398
|
+
#
|
|
4399
|
+
# @option params [String] :client_token
|
|
4400
|
+
# A unique, case-sensitive identifier used for idempotent Trigger update
|
|
4401
|
+
#
|
|
4402
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
4403
|
+
# not need to pass this option.**
|
|
4404
|
+
#
|
|
4405
|
+
# @return [Types::UpdateTriggerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4406
|
+
#
|
|
4407
|
+
# * {Types::UpdateTriggerResponse#trigger #trigger} => Types::Trigger
|
|
4408
|
+
#
|
|
4409
|
+
# @example Request syntax with placeholder values
|
|
4410
|
+
#
|
|
4411
|
+
# resp = client.update_trigger({
|
|
4412
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
4413
|
+
# trigger_id: "ResourceId", # required
|
|
4414
|
+
# status: "TriggerStatus",
|
|
4415
|
+
# client_token: "UpdateTriggerRequestClientTokenString",
|
|
4416
|
+
# })
|
|
4417
|
+
#
|
|
4418
|
+
# @example Response structure
|
|
4419
|
+
#
|
|
4420
|
+
# resp.trigger.trigger_id #=> String
|
|
4421
|
+
# resp.trigger.agent_space_id #=> String
|
|
4422
|
+
# resp.trigger.type #=> String
|
|
4423
|
+
# resp.trigger.condition.schedule.expression #=> String
|
|
4424
|
+
# resp.trigger.status #=> String
|
|
4425
|
+
# resp.trigger.created_at #=> Time
|
|
4426
|
+
# resp.trigger.updated_at #=> Time
|
|
4427
|
+
#
|
|
4428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateTrigger AWS API Documentation
|
|
4429
|
+
#
|
|
4430
|
+
# @overload update_trigger(params = {})
|
|
4431
|
+
# @param [Hash] params ({})
|
|
4432
|
+
def update_trigger(params = {}, options = {})
|
|
4433
|
+
req = build_request(:update_trigger, params)
|
|
4434
|
+
req.send_request(options)
|
|
4435
|
+
end
|
|
4436
|
+
|
|
4092
4437
|
# Validates an aws association and set status and returns a 204 No
|
|
4093
4438
|
# Content response on success.
|
|
4094
4439
|
#
|
|
@@ -4130,7 +4475,7 @@ module Aws::DevOpsAgent
|
|
|
4130
4475
|
tracer: tracer
|
|
4131
4476
|
)
|
|
4132
4477
|
context[:gem_name] = 'aws-sdk-devopsagent'
|
|
4133
|
-
context[:gem_version] = '1.
|
|
4478
|
+
context[:gem_version] = '1.10.0'
|
|
4134
4479
|
Seahorse::Client::Request.new(handlers, context)
|
|
4135
4480
|
end
|
|
4136
4481
|
|