aws-sdk-devopsagent 1.7.0 → 1.9.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 +960 -25
- data/lib/aws-sdk-devopsagent/client_api.rb +761 -26
- data/lib/aws-sdk-devopsagent/types.rb +1283 -42
- data/lib/aws-sdk-devopsagent.rb +1 -1
- data/sig/client.rbs +270 -5
- data/sig/params.rbs +17 -0
- data/sig/types.rbs +363 -3
- metadata +1 -1
|
@@ -725,6 +725,143 @@ module Aws::DevOpsAgent
|
|
|
725
725
|
req.send_request(options)
|
|
726
726
|
end
|
|
727
727
|
|
|
728
|
+
# Creates a new asset in the specified agent space
|
|
729
|
+
#
|
|
730
|
+
# @option params [required, String] :agent_space_id
|
|
731
|
+
# The unique identifier for the agent space where the asset will be
|
|
732
|
+
# created
|
|
733
|
+
#
|
|
734
|
+
# @option params [required, String] :asset_type
|
|
735
|
+
# The type of asset to create
|
|
736
|
+
#
|
|
737
|
+
# @option params [Hash,Array,String,Numeric,Boolean] :metadata
|
|
738
|
+
# The metadata describing this asset
|
|
739
|
+
#
|
|
740
|
+
# Document type used to carry open content
|
|
741
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
742
|
+
# serialized using the same format as its surroundings and requires no
|
|
743
|
+
# additional encoding or escaping.
|
|
744
|
+
#
|
|
745
|
+
# @option params [required, Types::AssetContent] :content
|
|
746
|
+
# The content for the asset. Provide a single file or a zip bundle.
|
|
747
|
+
#
|
|
748
|
+
# @option params [String] :client_token
|
|
749
|
+
# A unique, case-sensitive identifier used for idempotent asset creation
|
|
750
|
+
#
|
|
751
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
752
|
+
# not need to pass this option.**
|
|
753
|
+
#
|
|
754
|
+
# @return [Types::CreateAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
755
|
+
#
|
|
756
|
+
# * {Types::CreateAssetResponse#asset #asset} => Types::Asset
|
|
757
|
+
#
|
|
758
|
+
# @example Request syntax with placeholder values
|
|
759
|
+
#
|
|
760
|
+
# resp = client.create_asset({
|
|
761
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
762
|
+
# asset_type: "AssetType", # required
|
|
763
|
+
# metadata: {
|
|
764
|
+
# },
|
|
765
|
+
# content: { # required
|
|
766
|
+
# file: {
|
|
767
|
+
# path: "AssetFilePath", # required
|
|
768
|
+
# body: { # required
|
|
769
|
+
# bytes: "data",
|
|
770
|
+
# text: "AssetFileText",
|
|
771
|
+
# },
|
|
772
|
+
# metadata: {
|
|
773
|
+
# },
|
|
774
|
+
# },
|
|
775
|
+
# zip: {
|
|
776
|
+
# zip_file: "data", # required
|
|
777
|
+
# },
|
|
778
|
+
# },
|
|
779
|
+
# client_token: "CreateAssetRequestClientTokenString",
|
|
780
|
+
# })
|
|
781
|
+
#
|
|
782
|
+
# @example Response structure
|
|
783
|
+
#
|
|
784
|
+
# resp.asset.asset_id #=> String
|
|
785
|
+
# resp.asset.asset_type #=> String
|
|
786
|
+
# resp.asset.version #=> Integer
|
|
787
|
+
# resp.asset.created_at #=> Time
|
|
788
|
+
# resp.asset.updated_at #=> Time
|
|
789
|
+
#
|
|
790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CreateAsset AWS API Documentation
|
|
791
|
+
#
|
|
792
|
+
# @overload create_asset(params = {})
|
|
793
|
+
# @param [Hash] params ({})
|
|
794
|
+
def create_asset(params = {}, options = {})
|
|
795
|
+
req = build_request(:create_asset, params)
|
|
796
|
+
req.send_request(options)
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
# Creates a file in an asset
|
|
800
|
+
#
|
|
801
|
+
# @option params [required, String] :agent_space_id
|
|
802
|
+
# The unique identifier for the agent space containing the asset
|
|
803
|
+
#
|
|
804
|
+
# @option params [required, String] :asset_id
|
|
805
|
+
# The unique identifier of the asset to create the file in
|
|
806
|
+
#
|
|
807
|
+
# @option params [required, String] :path
|
|
808
|
+
# The path of the file within the asset
|
|
809
|
+
#
|
|
810
|
+
# @option params [required, Types::AssetFileBody] :content
|
|
811
|
+
# The content of the file to create
|
|
812
|
+
#
|
|
813
|
+
# @option params [Hash,Array,String,Numeric,Boolean] :metadata
|
|
814
|
+
# Optional metadata describing this file
|
|
815
|
+
#
|
|
816
|
+
# Document type used to carry open content
|
|
817
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
818
|
+
# serialized using the same format as its surroundings and requires no
|
|
819
|
+
# additional encoding or escaping.
|
|
820
|
+
#
|
|
821
|
+
# @option params [String] :client_token
|
|
822
|
+
# A unique, case-sensitive identifier used for idempotent asset file
|
|
823
|
+
# creation
|
|
824
|
+
#
|
|
825
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
826
|
+
# not need to pass this option.**
|
|
827
|
+
#
|
|
828
|
+
# @return [Types::CreateAssetFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
829
|
+
#
|
|
830
|
+
# * {Types::CreateAssetFileResponse#file #file} => Types::AssetFile
|
|
831
|
+
#
|
|
832
|
+
# @example Request syntax with placeholder values
|
|
833
|
+
#
|
|
834
|
+
# resp = client.create_asset_file({
|
|
835
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
836
|
+
# asset_id: "ResourceId", # required
|
|
837
|
+
# path: "AssetFilePath", # required
|
|
838
|
+
# content: { # required
|
|
839
|
+
# bytes: "data",
|
|
840
|
+
# text: "AssetFileText",
|
|
841
|
+
# },
|
|
842
|
+
# metadata: {
|
|
843
|
+
# },
|
|
844
|
+
# client_token: "CreateAssetFileRequestClientTokenString",
|
|
845
|
+
# })
|
|
846
|
+
#
|
|
847
|
+
# @example Response structure
|
|
848
|
+
#
|
|
849
|
+
# resp.file.path #=> String
|
|
850
|
+
# resp.file.content.bytes #=> String
|
|
851
|
+
# resp.file.content.text #=> String
|
|
852
|
+
# resp.file.version #=> Integer
|
|
853
|
+
# resp.file.created_at #=> Time
|
|
854
|
+
# resp.file.updated_at #=> Time
|
|
855
|
+
#
|
|
856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CreateAssetFile AWS API Documentation
|
|
857
|
+
#
|
|
858
|
+
# @overload create_asset_file(params = {})
|
|
859
|
+
# @param [Hash] params ({})
|
|
860
|
+
def create_asset_file(params = {}, options = {})
|
|
861
|
+
req = build_request(:create_asset_file, params)
|
|
862
|
+
req.send_request(options)
|
|
863
|
+
end
|
|
864
|
+
|
|
728
865
|
# Creates a new backlog task in the specified agent space
|
|
729
866
|
#
|
|
730
867
|
# @option params [required, String] :agent_space_id
|
|
@@ -788,7 +925,7 @@ module Aws::DevOpsAgent
|
|
|
788
925
|
# resp.task.reference.association_id #=> String
|
|
789
926
|
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
790
927
|
# resp.task.priority #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINIMAL"
|
|
791
|
-
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED"
|
|
928
|
+
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
792
929
|
# resp.task.created_at #=> Time
|
|
793
930
|
# resp.task.updated_at #=> Time
|
|
794
931
|
# resp.task.version #=> Integer
|
|
@@ -867,6 +1004,8 @@ module Aws::DevOpsAgent
|
|
|
867
1004
|
# * {Types::CreatePrivateConnectionOutput#resource_configuration_id #resource_configuration_id} => String
|
|
868
1005
|
# * {Types::CreatePrivateConnectionOutput#status #status} => String
|
|
869
1006
|
# * {Types::CreatePrivateConnectionOutput#certificate_expiry_time #certificate_expiry_time} => Time
|
|
1007
|
+
# * {Types::CreatePrivateConnectionOutput#dns_resolution #dns_resolution} => String
|
|
1008
|
+
# * {Types::CreatePrivateConnectionOutput#failure_message #failure_message} => String
|
|
870
1009
|
# * {Types::CreatePrivateConnectionOutput#tags #tags} => Hash<String,String>
|
|
871
1010
|
#
|
|
872
1011
|
# @example Request syntax with placeholder values
|
|
@@ -883,6 +1022,7 @@ module Aws::DevOpsAgent
|
|
|
883
1022
|
# ipv4_addresses_per_eni: 1,
|
|
884
1023
|
# port_ranges: ["PortRange"],
|
|
885
1024
|
# certificate: "CertificateString",
|
|
1025
|
+
# dns_resolution: "PUBLIC", # accepts PUBLIC, IN_VPC
|
|
886
1026
|
# },
|
|
887
1027
|
# self_managed: {
|
|
888
1028
|
# resource_configuration_id: "ResourceConfigurationArn", # required
|
|
@@ -904,6 +1044,8 @@ module Aws::DevOpsAgent
|
|
|
904
1044
|
# resp.resource_configuration_id #=> String
|
|
905
1045
|
# resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
|
906
1046
|
# resp.certificate_expiry_time #=> Time
|
|
1047
|
+
# resp.dns_resolution #=> String, one of "PUBLIC", "IN_VPC"
|
|
1048
|
+
# resp.failure_message #=> String
|
|
907
1049
|
# resp.tags #=> Hash
|
|
908
1050
|
# resp.tags["TagKey"] #=> String
|
|
909
1051
|
#
|
|
@@ -916,6 +1058,75 @@ module Aws::DevOpsAgent
|
|
|
916
1058
|
req.send_request(options)
|
|
917
1059
|
end
|
|
918
1060
|
|
|
1061
|
+
# Creates a new Trigger in the specified agent space
|
|
1062
|
+
#
|
|
1063
|
+
# @option params [required, String] :agent_space_id
|
|
1064
|
+
# Unique identifier for an agent space (allows alphanumeric characters
|
|
1065
|
+
# and hyphens; 1-64 characters)
|
|
1066
|
+
#
|
|
1067
|
+
# @option params [required, String] :type
|
|
1068
|
+
# How the new Trigger fires
|
|
1069
|
+
#
|
|
1070
|
+
# @option params [required, Types::TriggerCondition] :condition
|
|
1071
|
+
# The condition that fires the new Trigger
|
|
1072
|
+
#
|
|
1073
|
+
# @option params [required, Hash,Array,String,Numeric,Boolean] :action
|
|
1074
|
+
# The action the new Trigger performs when it fires
|
|
1075
|
+
#
|
|
1076
|
+
# Document type used to carry open content
|
|
1077
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
1078
|
+
# serialized using the same format as its surroundings and requires no
|
|
1079
|
+
# additional encoding or escaping.
|
|
1080
|
+
#
|
|
1081
|
+
# @option params [String] :status
|
|
1082
|
+
# The initial status of the Trigger
|
|
1083
|
+
#
|
|
1084
|
+
# @option params [String] :client_token
|
|
1085
|
+
# A unique, case-sensitive identifier used for idempotent Trigger
|
|
1086
|
+
# creation
|
|
1087
|
+
#
|
|
1088
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1089
|
+
# not need to pass this option.**
|
|
1090
|
+
#
|
|
1091
|
+
# @return [Types::CreateTriggerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1092
|
+
#
|
|
1093
|
+
# * {Types::CreateTriggerResponse#trigger #trigger} => Types::Trigger
|
|
1094
|
+
#
|
|
1095
|
+
# @example Request syntax with placeholder values
|
|
1096
|
+
#
|
|
1097
|
+
# resp = client.create_trigger({
|
|
1098
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1099
|
+
# type: "TriggerType", # required
|
|
1100
|
+
# condition: { # required
|
|
1101
|
+
# schedule: {
|
|
1102
|
+
# expression: "ScheduleExpression", # required
|
|
1103
|
+
# },
|
|
1104
|
+
# },
|
|
1105
|
+
# action: { # required
|
|
1106
|
+
# },
|
|
1107
|
+
# status: "TriggerStatus",
|
|
1108
|
+
# client_token: "CreateTriggerRequestClientTokenString",
|
|
1109
|
+
# })
|
|
1110
|
+
#
|
|
1111
|
+
# @example Response structure
|
|
1112
|
+
#
|
|
1113
|
+
# resp.trigger.trigger_id #=> String
|
|
1114
|
+
# resp.trigger.agent_space_id #=> String
|
|
1115
|
+
# resp.trigger.type #=> String
|
|
1116
|
+
# resp.trigger.condition.schedule.expression #=> String
|
|
1117
|
+
# resp.trigger.status #=> String
|
|
1118
|
+
# resp.trigger.created_at #=> Time
|
|
1119
|
+
# resp.trigger.updated_at #=> Time
|
|
1120
|
+
#
|
|
1121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/CreateTrigger AWS API Documentation
|
|
1122
|
+
#
|
|
1123
|
+
# @overload create_trigger(params = {})
|
|
1124
|
+
# @param [Hash] params ({})
|
|
1125
|
+
def create_trigger(params = {}, options = {})
|
|
1126
|
+
req = build_request(:create_trigger, params)
|
|
1127
|
+
req.send_request(options)
|
|
1128
|
+
end
|
|
1129
|
+
|
|
919
1130
|
# Deletes an AgentSpace. This operation is idempotent and returns a 204
|
|
920
1131
|
# No Content response on success.
|
|
921
1132
|
#
|
|
@@ -939,6 +1150,62 @@ module Aws::DevOpsAgent
|
|
|
939
1150
|
req.send_request(options)
|
|
940
1151
|
end
|
|
941
1152
|
|
|
1153
|
+
# Deletes an asset and all its files from the specified agent space
|
|
1154
|
+
#
|
|
1155
|
+
# @option params [required, String] :agent_space_id
|
|
1156
|
+
# The unique identifier for the agent space containing the asset
|
|
1157
|
+
#
|
|
1158
|
+
# @option params [required, String] :asset_id
|
|
1159
|
+
# The unique identifier of the asset to delete
|
|
1160
|
+
#
|
|
1161
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1162
|
+
#
|
|
1163
|
+
# @example Request syntax with placeholder values
|
|
1164
|
+
#
|
|
1165
|
+
# resp = client.delete_asset({
|
|
1166
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1167
|
+
# asset_id: "ResourceId", # required
|
|
1168
|
+
# })
|
|
1169
|
+
#
|
|
1170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/DeleteAsset AWS API Documentation
|
|
1171
|
+
#
|
|
1172
|
+
# @overload delete_asset(params = {})
|
|
1173
|
+
# @param [Hash] params ({})
|
|
1174
|
+
def delete_asset(params = {}, options = {})
|
|
1175
|
+
req = build_request(:delete_asset, params)
|
|
1176
|
+
req.send_request(options)
|
|
1177
|
+
end
|
|
1178
|
+
|
|
1179
|
+
# Deletes a file from an asset
|
|
1180
|
+
#
|
|
1181
|
+
# @option params [required, String] :agent_space_id
|
|
1182
|
+
# The unique identifier for the agent space containing the asset
|
|
1183
|
+
#
|
|
1184
|
+
# @option params [required, String] :asset_id
|
|
1185
|
+
# The unique identifier of the asset containing the file
|
|
1186
|
+
#
|
|
1187
|
+
# @option params [required, String] :path
|
|
1188
|
+
# The path of the file within the asset to delete
|
|
1189
|
+
#
|
|
1190
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1191
|
+
#
|
|
1192
|
+
# @example Request syntax with placeholder values
|
|
1193
|
+
#
|
|
1194
|
+
# resp = client.delete_asset_file({
|
|
1195
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1196
|
+
# asset_id: "ResourceId", # required
|
|
1197
|
+
# path: "AssetFilePath", # required
|
|
1198
|
+
# })
|
|
1199
|
+
#
|
|
1200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/DeleteAssetFile AWS API Documentation
|
|
1201
|
+
#
|
|
1202
|
+
# @overload delete_asset_file(params = {})
|
|
1203
|
+
# @param [Hash] params ({})
|
|
1204
|
+
def delete_asset_file(params = {}, options = {})
|
|
1205
|
+
req = build_request(:delete_asset_file, params)
|
|
1206
|
+
req.send_request(options)
|
|
1207
|
+
end
|
|
1208
|
+
|
|
942
1209
|
# Deletes a Private Connection. The deletion is asynchronous and returns
|
|
943
1210
|
# DELETE\_IN\_PROGRESS status.
|
|
944
1211
|
#
|
|
@@ -970,6 +1237,34 @@ module Aws::DevOpsAgent
|
|
|
970
1237
|
req.send_request(options)
|
|
971
1238
|
end
|
|
972
1239
|
|
|
1240
|
+
# Deletes a Trigger from the specified agent space
|
|
1241
|
+
#
|
|
1242
|
+
# @option params [required, String] :agent_space_id
|
|
1243
|
+
# Unique identifier for an agent space (allows alphanumeric characters
|
|
1244
|
+
# and hyphens; 1-64 characters)
|
|
1245
|
+
#
|
|
1246
|
+
# @option params [required, String] :trigger_id
|
|
1247
|
+
# Generic resource identifier (allows alphanumeric characters, hyphens,
|
|
1248
|
+
# and underscores; 1-128 characters)
|
|
1249
|
+
#
|
|
1250
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1251
|
+
#
|
|
1252
|
+
# @example Request syntax with placeholder values
|
|
1253
|
+
#
|
|
1254
|
+
# resp = client.delete_trigger({
|
|
1255
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1256
|
+
# trigger_id: "ResourceId", # required
|
|
1257
|
+
# })
|
|
1258
|
+
#
|
|
1259
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/DeleteTrigger AWS API Documentation
|
|
1260
|
+
#
|
|
1261
|
+
# @overload delete_trigger(params = {})
|
|
1262
|
+
# @param [Hash] params ({})
|
|
1263
|
+
def delete_trigger(params = {}, options = {})
|
|
1264
|
+
req = build_request(:delete_trigger, params)
|
|
1265
|
+
req.send_request(options)
|
|
1266
|
+
end
|
|
1267
|
+
|
|
973
1268
|
# Deregister a service
|
|
974
1269
|
#
|
|
975
1270
|
# @option params [required, String] :service_id
|
|
@@ -1008,6 +1303,8 @@ module Aws::DevOpsAgent
|
|
|
1008
1303
|
# * {Types::DescribePrivateConnectionOutput#resource_configuration_id #resource_configuration_id} => String
|
|
1009
1304
|
# * {Types::DescribePrivateConnectionOutput#status #status} => String
|
|
1010
1305
|
# * {Types::DescribePrivateConnectionOutput#certificate_expiry_time #certificate_expiry_time} => Time
|
|
1306
|
+
# * {Types::DescribePrivateConnectionOutput#dns_resolution #dns_resolution} => String
|
|
1307
|
+
# * {Types::DescribePrivateConnectionOutput#failure_message #failure_message} => String
|
|
1011
1308
|
# * {Types::DescribePrivateConnectionOutput#tags #tags} => Hash<String,String>
|
|
1012
1309
|
#
|
|
1013
1310
|
# @example Request syntax with placeholder values
|
|
@@ -1026,6 +1323,8 @@ module Aws::DevOpsAgent
|
|
|
1026
1323
|
# resp.resource_configuration_id #=> String
|
|
1027
1324
|
# resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
|
1028
1325
|
# resp.certificate_expiry_time #=> Time
|
|
1326
|
+
# resp.dns_resolution #=> String, one of "PUBLIC", "IN_VPC"
|
|
1327
|
+
# resp.failure_message #=> String
|
|
1029
1328
|
# resp.tags #=> Hash
|
|
1030
1329
|
# resp.tags["TagKey"] #=> String
|
|
1031
1330
|
#
|
|
@@ -1122,6 +1421,7 @@ module Aws::DevOpsAgent
|
|
|
1122
1421
|
# @return [Types::EnableOperatorAppOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1123
1422
|
#
|
|
1124
1423
|
# * {Types::EnableOperatorAppOutput#agent_space_id #agent_space_id} => String
|
|
1424
|
+
# * {Types::EnableOperatorAppOutput#operator_app_url #operator_app_url} => String
|
|
1125
1425
|
# * {Types::EnableOperatorAppOutput#iam #iam} => Types::IamAuthConfiguration
|
|
1126
1426
|
# * {Types::EnableOperatorAppOutput#idc #idc} => Types::IdcAuthConfiguration
|
|
1127
1427
|
# * {Types::EnableOperatorAppOutput#idp #idp} => Types::IdpAuthConfiguration
|
|
@@ -1142,6 +1442,7 @@ module Aws::DevOpsAgent
|
|
|
1142
1442
|
# @example Response structure
|
|
1143
1443
|
#
|
|
1144
1444
|
# resp.agent_space_id #=> String
|
|
1445
|
+
# resp.operator_app_url #=> String
|
|
1145
1446
|
# resp.iam.operator_app_role_arn #=> String
|
|
1146
1447
|
# resp.iam.created_at #=> Time
|
|
1147
1448
|
# resp.iam.updated_at #=> Time
|
|
@@ -1237,6 +1538,132 @@ module Aws::DevOpsAgent
|
|
|
1237
1538
|
req.send_request(options)
|
|
1238
1539
|
end
|
|
1239
1540
|
|
|
1541
|
+
# Gets an asset from the specified agent space
|
|
1542
|
+
#
|
|
1543
|
+
# @option params [required, String] :agent_space_id
|
|
1544
|
+
# The unique identifier for the agent space containing the asset
|
|
1545
|
+
#
|
|
1546
|
+
# @option params [required, String] :asset_id
|
|
1547
|
+
# The unique identifier of the asset to retrieve
|
|
1548
|
+
#
|
|
1549
|
+
# @option params [Integer] :asset_version
|
|
1550
|
+
# The specific version of the asset to retrieve. If omitted, the latest
|
|
1551
|
+
# version is returned.
|
|
1552
|
+
#
|
|
1553
|
+
# @return [Types::GetAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1554
|
+
#
|
|
1555
|
+
# * {Types::GetAssetResponse#asset #asset} => Types::Asset
|
|
1556
|
+
#
|
|
1557
|
+
# @example Request syntax with placeholder values
|
|
1558
|
+
#
|
|
1559
|
+
# resp = client.get_asset({
|
|
1560
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1561
|
+
# asset_id: "ResourceId", # required
|
|
1562
|
+
# asset_version: 1,
|
|
1563
|
+
# })
|
|
1564
|
+
#
|
|
1565
|
+
# @example Response structure
|
|
1566
|
+
#
|
|
1567
|
+
# resp.asset.asset_id #=> String
|
|
1568
|
+
# resp.asset.asset_type #=> String
|
|
1569
|
+
# resp.asset.version #=> Integer
|
|
1570
|
+
# resp.asset.created_at #=> Time
|
|
1571
|
+
# resp.asset.updated_at #=> Time
|
|
1572
|
+
#
|
|
1573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetAsset AWS API Documentation
|
|
1574
|
+
#
|
|
1575
|
+
# @overload get_asset(params = {})
|
|
1576
|
+
# @param [Hash] params ({})
|
|
1577
|
+
def get_asset(params = {}, options = {})
|
|
1578
|
+
req = build_request(:get_asset, params)
|
|
1579
|
+
req.send_request(options)
|
|
1580
|
+
end
|
|
1581
|
+
|
|
1582
|
+
# Gets an asset's content as a zip bundle
|
|
1583
|
+
#
|
|
1584
|
+
# @option params [required, String] :agent_space_id
|
|
1585
|
+
# The unique identifier for the agent space containing the asset
|
|
1586
|
+
#
|
|
1587
|
+
# @option params [required, String] :asset_id
|
|
1588
|
+
# The unique identifier of the asset
|
|
1589
|
+
#
|
|
1590
|
+
# @option params [Integer] :asset_version
|
|
1591
|
+
# The specific asset version to export. If omitted, the latest version
|
|
1592
|
+
# is returned.
|
|
1593
|
+
#
|
|
1594
|
+
# @return [Types::GetAssetContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1595
|
+
#
|
|
1596
|
+
# * {Types::GetAssetContentResponse#content #content} => Types::AssetZipContent
|
|
1597
|
+
# * {Types::GetAssetContentResponse#version #version} => Integer
|
|
1598
|
+
#
|
|
1599
|
+
# @example Request syntax with placeholder values
|
|
1600
|
+
#
|
|
1601
|
+
# resp = client.get_asset_content({
|
|
1602
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1603
|
+
# asset_id: "ResourceId", # required
|
|
1604
|
+
# asset_version: 1,
|
|
1605
|
+
# })
|
|
1606
|
+
#
|
|
1607
|
+
# @example Response structure
|
|
1608
|
+
#
|
|
1609
|
+
# resp.content.zip_file #=> String
|
|
1610
|
+
# resp.version #=> Integer
|
|
1611
|
+
#
|
|
1612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetAssetContent AWS API Documentation
|
|
1613
|
+
#
|
|
1614
|
+
# @overload get_asset_content(params = {})
|
|
1615
|
+
# @param [Hash] params ({})
|
|
1616
|
+
def get_asset_content(params = {}, options = {})
|
|
1617
|
+
req = build_request(:get_asset_content, params)
|
|
1618
|
+
req.send_request(options)
|
|
1619
|
+
end
|
|
1620
|
+
|
|
1621
|
+
# Gets a file from an asset
|
|
1622
|
+
#
|
|
1623
|
+
# @option params [required, String] :agent_space_id
|
|
1624
|
+
# The unique identifier for the agent space containing the asset
|
|
1625
|
+
#
|
|
1626
|
+
# @option params [required, String] :asset_id
|
|
1627
|
+
# The unique identifier of the asset containing the file
|
|
1628
|
+
#
|
|
1629
|
+
# @option params [required, String] :path
|
|
1630
|
+
# The path of the file within the asset to retrieve
|
|
1631
|
+
#
|
|
1632
|
+
# @option params [Integer] :asset_version
|
|
1633
|
+
# The specific asset version to retrieve the file from. If omitted, the
|
|
1634
|
+
# latest version is returned.
|
|
1635
|
+
#
|
|
1636
|
+
# @return [Types::GetAssetFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1637
|
+
#
|
|
1638
|
+
# * {Types::GetAssetFileResponse#file #file} => Types::AssetFile
|
|
1639
|
+
#
|
|
1640
|
+
# @example Request syntax with placeholder values
|
|
1641
|
+
#
|
|
1642
|
+
# resp = client.get_asset_file({
|
|
1643
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1644
|
+
# asset_id: "ResourceId", # required
|
|
1645
|
+
# path: "AssetFilePath", # required
|
|
1646
|
+
# asset_version: 1,
|
|
1647
|
+
# })
|
|
1648
|
+
#
|
|
1649
|
+
# @example Response structure
|
|
1650
|
+
#
|
|
1651
|
+
# resp.file.path #=> String
|
|
1652
|
+
# resp.file.content.bytes #=> String
|
|
1653
|
+
# resp.file.content.text #=> String
|
|
1654
|
+
# resp.file.version #=> Integer
|
|
1655
|
+
# resp.file.created_at #=> Time
|
|
1656
|
+
# resp.file.updated_at #=> Time
|
|
1657
|
+
#
|
|
1658
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetAssetFile AWS API Documentation
|
|
1659
|
+
#
|
|
1660
|
+
# @overload get_asset_file(params = {})
|
|
1661
|
+
# @param [Hash] params ({})
|
|
1662
|
+
def get_asset_file(params = {}, options = {})
|
|
1663
|
+
req = build_request(:get_asset_file, params)
|
|
1664
|
+
req.send_request(options)
|
|
1665
|
+
end
|
|
1666
|
+
|
|
1240
1667
|
# Retrieves given associations configured for a specific AgentSpace.
|
|
1241
1668
|
#
|
|
1242
1669
|
# @option params [required, String] :agent_space_id
|
|
@@ -1351,7 +1778,7 @@ module Aws::DevOpsAgent
|
|
|
1351
1778
|
# resp.task.reference.association_id #=> String
|
|
1352
1779
|
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
1353
1780
|
# resp.task.priority #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINIMAL"
|
|
1354
|
-
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED"
|
|
1781
|
+
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
1355
1782
|
# resp.task.created_at #=> Time
|
|
1356
1783
|
# resp.task.updated_at #=> Time
|
|
1357
1784
|
# resp.task.version #=> Integer
|
|
@@ -1376,6 +1803,7 @@ module Aws::DevOpsAgent
|
|
|
1376
1803
|
#
|
|
1377
1804
|
# @return [Types::GetOperatorAppOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1378
1805
|
#
|
|
1806
|
+
# * {Types::GetOperatorAppOutput#operator_app_url #operator_app_url} => String
|
|
1379
1807
|
# * {Types::GetOperatorAppOutput#iam #iam} => Types::IamAuthConfiguration
|
|
1380
1808
|
# * {Types::GetOperatorAppOutput#idc #idc} => Types::IdcAuthConfiguration
|
|
1381
1809
|
# * {Types::GetOperatorAppOutput#idp #idp} => Types::IdpAuthConfiguration
|
|
@@ -1388,6 +1816,7 @@ module Aws::DevOpsAgent
|
|
|
1388
1816
|
#
|
|
1389
1817
|
# @example Response structure
|
|
1390
1818
|
#
|
|
1819
|
+
# resp.operator_app_url #=> String
|
|
1391
1820
|
# resp.iam.operator_app_role_arn #=> String
|
|
1392
1821
|
# resp.iam.created_at #=> Time
|
|
1393
1822
|
# resp.iam.updated_at #=> Time
|
|
@@ -1530,6 +1959,7 @@ module Aws::DevOpsAgent
|
|
|
1530
1959
|
# resp.service.additional_service_details.mcpserversigv4.region #=> String
|
|
1531
1960
|
# resp.service.additional_service_details.mcpserversigv4.service #=> String
|
|
1532
1961
|
# resp.service.additional_service_details.mcpserversigv4.role_arn #=> String
|
|
1962
|
+
# resp.service.additional_service_details.mcpserversigv4.mcp_role_arn #=> String
|
|
1533
1963
|
# resp.service.additional_service_details.mcpserversigv4.custom_headers #=> Hash
|
|
1534
1964
|
# resp.service.additional_service_details.mcpserversigv4.custom_headers["CustomHeaderName"] #=> String
|
|
1535
1965
|
# resp.service.kms_key_arn #=> String
|
|
@@ -1546,6 +1976,46 @@ module Aws::DevOpsAgent
|
|
|
1546
1976
|
req.send_request(options)
|
|
1547
1977
|
end
|
|
1548
1978
|
|
|
1979
|
+
# Gets a Trigger from the specified agent space
|
|
1980
|
+
#
|
|
1981
|
+
# @option params [required, String] :agent_space_id
|
|
1982
|
+
# Unique identifier for an agent space (allows alphanumeric characters
|
|
1983
|
+
# and hyphens; 1-64 characters)
|
|
1984
|
+
#
|
|
1985
|
+
# @option params [required, String] :trigger_id
|
|
1986
|
+
# Generic resource identifier (allows alphanumeric characters, hyphens,
|
|
1987
|
+
# and underscores; 1-128 characters)
|
|
1988
|
+
#
|
|
1989
|
+
# @return [Types::GetTriggerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1990
|
+
#
|
|
1991
|
+
# * {Types::GetTriggerResponse#trigger #trigger} => Types::Trigger
|
|
1992
|
+
#
|
|
1993
|
+
# @example Request syntax with placeholder values
|
|
1994
|
+
#
|
|
1995
|
+
# resp = client.get_trigger({
|
|
1996
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1997
|
+
# trigger_id: "ResourceId", # required
|
|
1998
|
+
# })
|
|
1999
|
+
#
|
|
2000
|
+
# @example Response structure
|
|
2001
|
+
#
|
|
2002
|
+
# resp.trigger.trigger_id #=> String
|
|
2003
|
+
# resp.trigger.agent_space_id #=> String
|
|
2004
|
+
# resp.trigger.type #=> String
|
|
2005
|
+
# resp.trigger.condition.schedule.expression #=> String
|
|
2006
|
+
# resp.trigger.status #=> String
|
|
2007
|
+
# resp.trigger.created_at #=> Time
|
|
2008
|
+
# resp.trigger.updated_at #=> Time
|
|
2009
|
+
#
|
|
2010
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetTrigger AWS API Documentation
|
|
2011
|
+
#
|
|
2012
|
+
# @overload get_trigger(params = {})
|
|
2013
|
+
# @param [Hash] params ({})
|
|
2014
|
+
def get_trigger(params = {}, options = {})
|
|
2015
|
+
req = build_request(:get_trigger, params)
|
|
2016
|
+
req.send_request(options)
|
|
2017
|
+
end
|
|
2018
|
+
|
|
1549
2019
|
# Lists all AgentSpaces with optional pagination.
|
|
1550
2020
|
#
|
|
1551
2021
|
# @option params [Integer] :max_results
|
|
@@ -1589,6 +2059,205 @@ module Aws::DevOpsAgent
|
|
|
1589
2059
|
req.send_request(options)
|
|
1590
2060
|
end
|
|
1591
2061
|
|
|
2062
|
+
# Lists files in an asset
|
|
2063
|
+
#
|
|
2064
|
+
# @option params [required, String] :agent_space_id
|
|
2065
|
+
# The unique identifier for the agent space containing the asset
|
|
2066
|
+
#
|
|
2067
|
+
# @option params [required, String] :asset_id
|
|
2068
|
+
# The unique identifier of the asset whose files to list
|
|
2069
|
+
#
|
|
2070
|
+
# @option params [Integer] :asset_version
|
|
2071
|
+
# The specific asset version to list files from. If omitted, files from
|
|
2072
|
+
# the latest version are returned.
|
|
2073
|
+
#
|
|
2074
|
+
# @option params [String] :next_token
|
|
2075
|
+
# Pagination token from a previous response to retrieve the next page of
|
|
2076
|
+
# results
|
|
2077
|
+
#
|
|
2078
|
+
# @option params [Integer] :max_results
|
|
2079
|
+
# The maximum number of results to return in a single response
|
|
2080
|
+
#
|
|
2081
|
+
# @return [Types::ListAssetFilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2082
|
+
#
|
|
2083
|
+
# * {Types::ListAssetFilesResponse#items #items} => Array<Types::AssetFileSummary>
|
|
2084
|
+
# * {Types::ListAssetFilesResponse#next_token #next_token} => String
|
|
2085
|
+
#
|
|
2086
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2087
|
+
#
|
|
2088
|
+
# @example Request syntax with placeholder values
|
|
2089
|
+
#
|
|
2090
|
+
# resp = client.list_asset_files({
|
|
2091
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
2092
|
+
# asset_id: "ResourceId", # required
|
|
2093
|
+
# asset_version: 1,
|
|
2094
|
+
# next_token: "NextToken",
|
|
2095
|
+
# max_results: 1,
|
|
2096
|
+
# })
|
|
2097
|
+
#
|
|
2098
|
+
# @example Response structure
|
|
2099
|
+
#
|
|
2100
|
+
# resp.items #=> Array
|
|
2101
|
+
# resp.items[0].path #=> String
|
|
2102
|
+
# resp.items[0].version #=> Integer
|
|
2103
|
+
# resp.items[0].created_at #=> Time
|
|
2104
|
+
# resp.items[0].updated_at #=> Time
|
|
2105
|
+
# resp.next_token #=> String
|
|
2106
|
+
#
|
|
2107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListAssetFiles AWS API Documentation
|
|
2108
|
+
#
|
|
2109
|
+
# @overload list_asset_files(params = {})
|
|
2110
|
+
# @param [Hash] params ({})
|
|
2111
|
+
def list_asset_files(params = {}, options = {})
|
|
2112
|
+
req = build_request(:list_asset_files, params)
|
|
2113
|
+
req.send_request(options)
|
|
2114
|
+
end
|
|
2115
|
+
|
|
2116
|
+
# Lists the supported asset types
|
|
2117
|
+
#
|
|
2118
|
+
# @option params [String] :next_token
|
|
2119
|
+
# Pagination token from a previous response to retrieve the next page of
|
|
2120
|
+
# results
|
|
2121
|
+
#
|
|
2122
|
+
# @option params [Integer] :max_results
|
|
2123
|
+
# The maximum number of results to return in a single response
|
|
2124
|
+
#
|
|
2125
|
+
# @return [Types::ListAssetTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2126
|
+
#
|
|
2127
|
+
# * {Types::ListAssetTypesResponse#items #items} => Array<Types::AssetTypeSummary>
|
|
2128
|
+
# * {Types::ListAssetTypesResponse#next_token #next_token} => String
|
|
2129
|
+
#
|
|
2130
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2131
|
+
#
|
|
2132
|
+
# @example Request syntax with placeholder values
|
|
2133
|
+
#
|
|
2134
|
+
# resp = client.list_asset_types({
|
|
2135
|
+
# next_token: "NextToken",
|
|
2136
|
+
# max_results: 1,
|
|
2137
|
+
# })
|
|
2138
|
+
#
|
|
2139
|
+
# @example Response structure
|
|
2140
|
+
#
|
|
2141
|
+
# resp.items #=> Array
|
|
2142
|
+
# resp.items[0].asset_type #=> String
|
|
2143
|
+
# resp.items[0].description #=> String
|
|
2144
|
+
# resp.next_token #=> String
|
|
2145
|
+
#
|
|
2146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListAssetTypes AWS API Documentation
|
|
2147
|
+
#
|
|
2148
|
+
# @overload list_asset_types(params = {})
|
|
2149
|
+
# @param [Hash] params ({})
|
|
2150
|
+
def list_asset_types(params = {}, options = {})
|
|
2151
|
+
req = build_request(:list_asset_types, params)
|
|
2152
|
+
req.send_request(options)
|
|
2153
|
+
end
|
|
2154
|
+
|
|
2155
|
+
# Lists versions of an asset in the specified agent space
|
|
2156
|
+
#
|
|
2157
|
+
# @option params [required, String] :agent_space_id
|
|
2158
|
+
# The unique identifier for the agent space containing the asset
|
|
2159
|
+
#
|
|
2160
|
+
# @option params [required, String] :asset_id
|
|
2161
|
+
# The unique identifier of the asset whose versions to list
|
|
2162
|
+
#
|
|
2163
|
+
# @option params [Integer] :max_results
|
|
2164
|
+
# The maximum number of results to return in a single response
|
|
2165
|
+
#
|
|
2166
|
+
# @option params [String] :next_token
|
|
2167
|
+
# Pagination token from a previous response to retrieve the next page of
|
|
2168
|
+
# results
|
|
2169
|
+
#
|
|
2170
|
+
# @return [Types::ListAssetVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2171
|
+
#
|
|
2172
|
+
# * {Types::ListAssetVersionsResponse#items #items} => Array<Types::AssetVersionMetadata>
|
|
2173
|
+
# * {Types::ListAssetVersionsResponse#next_token #next_token} => String
|
|
2174
|
+
#
|
|
2175
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2176
|
+
#
|
|
2177
|
+
# @example Request syntax with placeholder values
|
|
2178
|
+
#
|
|
2179
|
+
# resp = client.list_asset_versions({
|
|
2180
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
2181
|
+
# asset_id: "ResourceId", # required
|
|
2182
|
+
# max_results: 1,
|
|
2183
|
+
# next_token: "NextToken",
|
|
2184
|
+
# })
|
|
2185
|
+
#
|
|
2186
|
+
# @example Response structure
|
|
2187
|
+
#
|
|
2188
|
+
# resp.items #=> Array
|
|
2189
|
+
# resp.items[0].version #=> Integer
|
|
2190
|
+
# resp.items[0].created_at #=> Time
|
|
2191
|
+
# resp.items[0].updated_at #=> Time
|
|
2192
|
+
# resp.next_token #=> String
|
|
2193
|
+
#
|
|
2194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListAssetVersions AWS API Documentation
|
|
2195
|
+
#
|
|
2196
|
+
# @overload list_asset_versions(params = {})
|
|
2197
|
+
# @param [Hash] params ({})
|
|
2198
|
+
def list_asset_versions(params = {}, options = {})
|
|
2199
|
+
req = build_request(:list_asset_versions, params)
|
|
2200
|
+
req.send_request(options)
|
|
2201
|
+
end
|
|
2202
|
+
|
|
2203
|
+
# Lists assets in the specified agent space
|
|
2204
|
+
#
|
|
2205
|
+
# @option params [required, String] :agent_space_id
|
|
2206
|
+
# The unique identifier for the agent space to list assets from
|
|
2207
|
+
#
|
|
2208
|
+
# @option params [String] :asset_type
|
|
2209
|
+
# Filter results to only assets of this type
|
|
2210
|
+
#
|
|
2211
|
+
# @option params [Time,DateTime,Date,Integer,String] :updated_after
|
|
2212
|
+
# Filter results to only assets updated after this timestamp
|
|
2213
|
+
#
|
|
2214
|
+
# @option params [Time,DateTime,Date,Integer,String] :updated_before
|
|
2215
|
+
# Filter results to only assets updated before this timestamp
|
|
2216
|
+
#
|
|
2217
|
+
# @option params [String] :next_token
|
|
2218
|
+
# Pagination token from a previous response to retrieve the next page of
|
|
2219
|
+
# results
|
|
2220
|
+
#
|
|
2221
|
+
# @option params [Integer] :max_results
|
|
2222
|
+
# The maximum number of results to return in a single response
|
|
2223
|
+
#
|
|
2224
|
+
# @return [Types::ListAssetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2225
|
+
#
|
|
2226
|
+
# * {Types::ListAssetsResponse#items #items} => Array<Types::Asset>
|
|
2227
|
+
# * {Types::ListAssetsResponse#next_token #next_token} => String
|
|
2228
|
+
#
|
|
2229
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2230
|
+
#
|
|
2231
|
+
# @example Request syntax with placeholder values
|
|
2232
|
+
#
|
|
2233
|
+
# resp = client.list_assets({
|
|
2234
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
2235
|
+
# asset_type: "AssetType",
|
|
2236
|
+
# updated_after: Time.now,
|
|
2237
|
+
# updated_before: Time.now,
|
|
2238
|
+
# next_token: "NextToken",
|
|
2239
|
+
# max_results: 1,
|
|
2240
|
+
# })
|
|
2241
|
+
#
|
|
2242
|
+
# @example Response structure
|
|
2243
|
+
#
|
|
2244
|
+
# resp.items #=> Array
|
|
2245
|
+
# resp.items[0].asset_id #=> String
|
|
2246
|
+
# resp.items[0].asset_type #=> String
|
|
2247
|
+
# resp.items[0].version #=> Integer
|
|
2248
|
+
# resp.items[0].created_at #=> Time
|
|
2249
|
+
# resp.items[0].updated_at #=> Time
|
|
2250
|
+
# resp.next_token #=> String
|
|
2251
|
+
#
|
|
2252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListAssets AWS API Documentation
|
|
2253
|
+
#
|
|
2254
|
+
# @overload list_assets(params = {})
|
|
2255
|
+
# @param [Hash] params ({})
|
|
2256
|
+
def list_assets(params = {}, options = {})
|
|
2257
|
+
req = build_request(:list_assets, params)
|
|
2258
|
+
req.send_request(options)
|
|
2259
|
+
end
|
|
2260
|
+
|
|
1592
2261
|
# List all associations for given AgentSpace
|
|
1593
2262
|
#
|
|
1594
2263
|
# @option params [required, String] :agent_space_id
|
|
@@ -1728,7 +2397,7 @@ module Aws::DevOpsAgent
|
|
|
1728
2397
|
# created_after: Time.now,
|
|
1729
2398
|
# created_before: Time.now,
|
|
1730
2399
|
# priority: ["CRITICAL"], # accepts CRITICAL, HIGH, MEDIUM, LOW, MINIMAL
|
|
1731
|
-
# status: ["PENDING_TRIAGE"], # accepts PENDING_TRIAGE, LINKED, PENDING_START, IN_PROGRESS, PENDING_CUSTOMER_APPROVAL, COMPLETED, FAILED, TIMED_OUT, CANCELED
|
|
2400
|
+
# status: ["PENDING_TRIAGE"], # accepts PENDING_TRIAGE, LINKED, PENDING_START, IN_PROGRESS, PENDING_CUSTOMER_APPROVAL, COMPLETED, FAILED, TIMED_OUT, CANCELED, SKIPPED
|
|
1732
2401
|
# task_type: ["INVESTIGATION"], # accepts INVESTIGATION, EVALUATION
|
|
1733
2402
|
# primary_task_id: "ResourceId",
|
|
1734
2403
|
# },
|
|
@@ -1753,7 +2422,7 @@ module Aws::DevOpsAgent
|
|
|
1753
2422
|
# resp.tasks[0].reference.association_id #=> String
|
|
1754
2423
|
# resp.tasks[0].task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
1755
2424
|
# resp.tasks[0].priority #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINIMAL"
|
|
1756
|
-
# resp.tasks[0].status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED"
|
|
2425
|
+
# resp.tasks[0].status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
1757
2426
|
# resp.tasks[0].created_at #=> Time
|
|
1758
2427
|
# resp.tasks[0].updated_at #=> Time
|
|
1759
2428
|
# resp.tasks[0].version #=> Integer
|
|
@@ -2059,6 +2728,8 @@ module Aws::DevOpsAgent
|
|
|
2059
2728
|
# resp.private_connections[0].resource_configuration_id #=> String
|
|
2060
2729
|
# resp.private_connections[0].status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
|
2061
2730
|
# resp.private_connections[0].certificate_expiry_time #=> Time
|
|
2731
|
+
# resp.private_connections[0].dns_resolution #=> String, one of "PUBLIC", "IN_VPC"
|
|
2732
|
+
# resp.private_connections[0].failure_message #=> String
|
|
2062
2733
|
#
|
|
2063
2734
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListPrivateConnections AWS API Documentation
|
|
2064
2735
|
#
|
|
@@ -2217,6 +2888,7 @@ module Aws::DevOpsAgent
|
|
|
2217
2888
|
# resp.services[0].additional_service_details.mcpserversigv4.region #=> String
|
|
2218
2889
|
# resp.services[0].additional_service_details.mcpserversigv4.service #=> String
|
|
2219
2890
|
# resp.services[0].additional_service_details.mcpserversigv4.role_arn #=> String
|
|
2891
|
+
# resp.services[0].additional_service_details.mcpserversigv4.mcp_role_arn #=> String
|
|
2220
2892
|
# resp.services[0].additional_service_details.mcpserversigv4.custom_headers #=> Hash
|
|
2221
2893
|
# resp.services[0].additional_service_details.mcpserversigv4.custom_headers["CustomHeaderName"] #=> String
|
|
2222
2894
|
# resp.services[0].kms_key_arn #=> String
|
|
@@ -2260,6 +2932,59 @@ module Aws::DevOpsAgent
|
|
|
2260
2932
|
req.send_request(options)
|
|
2261
2933
|
end
|
|
2262
2934
|
|
|
2935
|
+
# Lists Triggers in the specified agent space
|
|
2936
|
+
#
|
|
2937
|
+
# @option params [required, String] :agent_space_id
|
|
2938
|
+
# Unique identifier for an agent space (allows alphanumeric characters
|
|
2939
|
+
# and hyphens; 1-64 characters)
|
|
2940
|
+
#
|
|
2941
|
+
# @option params [String] :status
|
|
2942
|
+
# Filter results to Triggers in this status
|
|
2943
|
+
#
|
|
2944
|
+
# @option params [String] :next_token
|
|
2945
|
+
# Pagination token from a previous response to retrieve the next page of
|
|
2946
|
+
# results
|
|
2947
|
+
#
|
|
2948
|
+
# @option params [Integer] :max_results
|
|
2949
|
+
# The maximum number of results to return in a single response
|
|
2950
|
+
#
|
|
2951
|
+
# @return [Types::ListTriggersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2952
|
+
#
|
|
2953
|
+
# * {Types::ListTriggersResponse#items #items} => Array<Types::Trigger>
|
|
2954
|
+
# * {Types::ListTriggersResponse#next_token #next_token} => String
|
|
2955
|
+
#
|
|
2956
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2957
|
+
#
|
|
2958
|
+
# @example Request syntax with placeholder values
|
|
2959
|
+
#
|
|
2960
|
+
# resp = client.list_triggers({
|
|
2961
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
2962
|
+
# status: "TriggerStatus",
|
|
2963
|
+
# next_token: "NextToken",
|
|
2964
|
+
# max_results: 1,
|
|
2965
|
+
# })
|
|
2966
|
+
#
|
|
2967
|
+
# @example Response structure
|
|
2968
|
+
#
|
|
2969
|
+
# resp.items #=> Array
|
|
2970
|
+
# resp.items[0].trigger_id #=> String
|
|
2971
|
+
# resp.items[0].agent_space_id #=> String
|
|
2972
|
+
# resp.items[0].type #=> String
|
|
2973
|
+
# resp.items[0].condition.schedule.expression #=> String
|
|
2974
|
+
# resp.items[0].status #=> String
|
|
2975
|
+
# resp.items[0].created_at #=> Time
|
|
2976
|
+
# resp.items[0].updated_at #=> Time
|
|
2977
|
+
# resp.next_token #=> String
|
|
2978
|
+
#
|
|
2979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListTriggers AWS API Documentation
|
|
2980
|
+
#
|
|
2981
|
+
# @overload list_triggers(params = {})
|
|
2982
|
+
# @param [Hash] params ({})
|
|
2983
|
+
def list_triggers(params = {}, options = {})
|
|
2984
|
+
req = build_request(:list_triggers, params)
|
|
2985
|
+
req.send_request(options)
|
|
2986
|
+
end
|
|
2987
|
+
|
|
2263
2988
|
# List all webhooks for given Association
|
|
2264
2989
|
#
|
|
2265
2990
|
# @option params [required, String] :agent_space_id
|
|
@@ -2311,6 +3036,15 @@ module Aws::DevOpsAgent
|
|
|
2311
3036
|
# @option params [String] :private_connection_name
|
|
2312
3037
|
# The name of the private connection to use for VPC connectivity.
|
|
2313
3038
|
#
|
|
3039
|
+
# @option params [String] :target_url_private_connection_name
|
|
3040
|
+
# The name of the private connection to use for API calls (target URL)
|
|
3041
|
+
# only. Cannot be specified when privateConnectionName is provided.
|
|
3042
|
+
#
|
|
3043
|
+
# @option params [String] :exchange_url_private_connection_name
|
|
3044
|
+
# The name of the private connection to use for OAuth token exchange
|
|
3045
|
+
# requests only. Cannot be specified when privateConnectionName is
|
|
3046
|
+
# provided.
|
|
3047
|
+
#
|
|
2314
3048
|
# @option params [String] :name
|
|
2315
3049
|
# The display name for the service registration.
|
|
2316
3050
|
#
|
|
@@ -2356,8 +3090,8 @@ module Aws::DevOpsAgent
|
|
|
2356
3090
|
# },
|
|
2357
3091
|
# },
|
|
2358
3092
|
# mcpserverdatadog: {
|
|
2359
|
-
# name: "
|
|
2360
|
-
# endpoint: "
|
|
3093
|
+
# name: "MCPServerName", # required
|
|
3094
|
+
# endpoint: "MCPServerEndpoint", # required
|
|
2361
3095
|
# description: "DatadogServiceDetailsDescriptionString",
|
|
2362
3096
|
# authorization_config: { # required
|
|
2363
3097
|
# authorization_discovery: {
|
|
@@ -2366,8 +3100,8 @@ module Aws::DevOpsAgent
|
|
|
2366
3100
|
# },
|
|
2367
3101
|
# },
|
|
2368
3102
|
# mcpserver: {
|
|
2369
|
-
# name: "
|
|
2370
|
-
# endpoint: "
|
|
3103
|
+
# name: "MCPServerName", # required
|
|
3104
|
+
# endpoint: "MCPServerEndpoint", # required
|
|
2371
3105
|
# description: "MCPServerDetailsDescriptionString",
|
|
2372
3106
|
# authorization_config: { # required
|
|
2373
3107
|
# o_auth_client_credentials: {
|
|
@@ -2378,7 +3112,7 @@ module Aws::DevOpsAgent
|
|
|
2378
3112
|
# },
|
|
2379
3113
|
# client_secret: "ClientSecret", # required
|
|
2380
3114
|
# exchange_url: "MCPServerOAuthClientCredentialsConfigExchangeUrlString", # required
|
|
2381
|
-
# scopes: ["
|
|
3115
|
+
# scopes: ["OAuthScope"],
|
|
2382
3116
|
# },
|
|
2383
3117
|
# o_auth_3_lo: {
|
|
2384
3118
|
# client_name: "MCPServerOAuth3LOConfigClientNameString",
|
|
@@ -2391,7 +3125,7 @@ module Aws::DevOpsAgent
|
|
|
2391
3125
|
# exchange_url: "MCPServerOAuth3LOConfigExchangeUrlString", # required
|
|
2392
3126
|
# client_secret: "ClientSecret",
|
|
2393
3127
|
# support_code_challenge: false,
|
|
2394
|
-
# scopes: ["
|
|
3128
|
+
# scopes: ["OAuthScope"],
|
|
2395
3129
|
# },
|
|
2396
3130
|
# api_key: {
|
|
2397
3131
|
# api_key_name: "MCPServerAPIKeyConfigApiKeyNameString", # required
|
|
@@ -2415,8 +3149,8 @@ module Aws::DevOpsAgent
|
|
|
2415
3149
|
# group_id: "String",
|
|
2416
3150
|
# },
|
|
2417
3151
|
# mcpserversplunk: {
|
|
2418
|
-
# name: "
|
|
2419
|
-
# endpoint: "
|
|
3152
|
+
# name: "MCPServerName", # required
|
|
3153
|
+
# endpoint: "MCPServerEndpoint", # required
|
|
2420
3154
|
# description: "MCPServerDetailsDescriptionString",
|
|
2421
3155
|
# authorization_config: { # required
|
|
2422
3156
|
# o_auth_client_credentials: {
|
|
@@ -2427,7 +3161,7 @@ module Aws::DevOpsAgent
|
|
|
2427
3161
|
# },
|
|
2428
3162
|
# client_secret: "ClientSecret", # required
|
|
2429
3163
|
# exchange_url: "MCPServerOAuthClientCredentialsConfigExchangeUrlString", # required
|
|
2430
|
-
# scopes: ["
|
|
3164
|
+
# scopes: ["OAuthScope"],
|
|
2431
3165
|
# },
|
|
2432
3166
|
# o_auth_3_lo: {
|
|
2433
3167
|
# client_name: "MCPServerOAuth3LOConfigClientNameString",
|
|
@@ -2440,7 +3174,7 @@ module Aws::DevOpsAgent
|
|
|
2440
3174
|
# exchange_url: "MCPServerOAuth3LOConfigExchangeUrlString", # required
|
|
2441
3175
|
# client_secret: "ClientSecret",
|
|
2442
3176
|
# support_code_challenge: false,
|
|
2443
|
-
# scopes: ["
|
|
3177
|
+
# scopes: ["OAuthScope"],
|
|
2444
3178
|
# },
|
|
2445
3179
|
# api_key: {
|
|
2446
3180
|
# api_key_name: "MCPServerAPIKeyConfigApiKeyNameString", # required
|
|
@@ -2473,8 +3207,8 @@ module Aws::DevOpsAgent
|
|
|
2473
3207
|
# type: "webhook", # accepts webhook
|
|
2474
3208
|
# },
|
|
2475
3209
|
# mcpservergrafana: {
|
|
2476
|
-
# name: "
|
|
2477
|
-
# endpoint: "
|
|
3210
|
+
# name: "MCPServerName", # required
|
|
3211
|
+
# endpoint: "MCPServerEndpoint", # required
|
|
2478
3212
|
# description: "GrafanaServiceDetailsDescriptionString",
|
|
2479
3213
|
# authorization_config: { # required
|
|
2480
3214
|
# o_auth_client_credentials: {
|
|
@@ -2485,7 +3219,7 @@ module Aws::DevOpsAgent
|
|
|
2485
3219
|
# },
|
|
2486
3220
|
# client_secret: "ClientSecret", # required
|
|
2487
3221
|
# exchange_url: "MCPServerOAuthClientCredentialsConfigExchangeUrlString", # required
|
|
2488
|
-
# scopes: ["
|
|
3222
|
+
# scopes: ["OAuthScope"],
|
|
2489
3223
|
# },
|
|
2490
3224
|
# o_auth_3_lo: {
|
|
2491
3225
|
# client_name: "MCPServerOAuth3LOConfigClientNameString",
|
|
@@ -2498,7 +3232,7 @@ module Aws::DevOpsAgent
|
|
|
2498
3232
|
# exchange_url: "MCPServerOAuth3LOConfigExchangeUrlString", # required
|
|
2499
3233
|
# client_secret: "ClientSecret",
|
|
2500
3234
|
# support_code_challenge: false,
|
|
2501
|
-
# scopes: ["
|
|
3235
|
+
# scopes: ["OAuthScope"],
|
|
2502
3236
|
# },
|
|
2503
3237
|
# api_key: {
|
|
2504
3238
|
# api_key_name: "MCPServerAPIKeyConfigApiKeyNameString", # required
|
|
@@ -2535,13 +3269,14 @@ module Aws::DevOpsAgent
|
|
|
2535
3269
|
# web_identity_token_audiences: ["String"], # required
|
|
2536
3270
|
# },
|
|
2537
3271
|
# mcpserversigv4: {
|
|
2538
|
-
# name: "
|
|
2539
|
-
# endpoint: "
|
|
3272
|
+
# name: "MCPServerName", # required
|
|
3273
|
+
# endpoint: "MCPServerEndpoint", # required
|
|
2540
3274
|
# description: "MCPServerSigV4ServiceDetailsDescriptionString",
|
|
2541
3275
|
# authorization_config: { # required
|
|
2542
3276
|
# region: "SigV4Region", # required
|
|
2543
3277
|
# service: "MCPServerSigV4AuthorizationConfigServiceString", # required
|
|
2544
|
-
# role_arn: "
|
|
3278
|
+
# role_arn: "MCPServerSigV4AuthorizationConfigRoleArnString",
|
|
3279
|
+
# mcp_role_arn: "RoleArn",
|
|
2545
3280
|
# custom_headers: {
|
|
2546
3281
|
# "CustomHeaderName" => "CustomHeaderValue",
|
|
2547
3282
|
# },
|
|
@@ -2550,6 +3285,8 @@ module Aws::DevOpsAgent
|
|
|
2550
3285
|
# },
|
|
2551
3286
|
# kms_key_arn: "KmsKeyArn",
|
|
2552
3287
|
# private_connection_name: "PrivateConnectionName",
|
|
3288
|
+
# target_url_private_connection_name: "PrivateConnectionName",
|
|
3289
|
+
# exchange_url_private_connection_name: "PrivateConnectionName",
|
|
2553
3290
|
# name: "ServiceName",
|
|
2554
3291
|
# tags: {
|
|
2555
3292
|
# "TagKey" => "TagValue",
|
|
@@ -2592,6 +3329,9 @@ module Aws::DevOpsAgent
|
|
|
2592
3329
|
# User identifier. This field is deprecated and will be ignored — the
|
|
2593
3330
|
# service resolves user identity from the authenticated session.
|
|
2594
3331
|
#
|
|
3332
|
+
# @option params [Array<String>] :asset_ids
|
|
3333
|
+
# Optional list of asset identifiers to attach to the message
|
|
3334
|
+
#
|
|
2595
3335
|
# @return [Types::SendMessageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2596
3336
|
#
|
|
2597
3337
|
# * {Types::SendMessageResponse#events #events} => Types::SendMessageEvents
|
|
@@ -2761,7 +3501,7 @@ module Aws::DevOpsAgent
|
|
|
2761
3501
|
#
|
|
2762
3502
|
# resp = client.send_message({
|
|
2763
3503
|
# agent_space_id: "AgentSpaceId", # required
|
|
2764
|
-
# execution_id: "
|
|
3504
|
+
# execution_id: "ChatExecutionId", # required
|
|
2765
3505
|
# content: "MessageContent", # required
|
|
2766
3506
|
# context: {
|
|
2767
3507
|
# current_page: "String",
|
|
@@ -2769,6 +3509,7 @@ module Aws::DevOpsAgent
|
|
|
2769
3509
|
# user_action_response: "String",
|
|
2770
3510
|
# },
|
|
2771
3511
|
# user_id: "ResourceId",
|
|
3512
|
+
# asset_ids: ["String"],
|
|
2772
3513
|
# })
|
|
2773
3514
|
#
|
|
2774
3515
|
# @example Response structure
|
|
@@ -2952,6 +3693,145 @@ module Aws::DevOpsAgent
|
|
|
2952
3693
|
req.send_request(options)
|
|
2953
3694
|
end
|
|
2954
3695
|
|
|
3696
|
+
# Updates an asset in the specified agent space
|
|
3697
|
+
#
|
|
3698
|
+
# @option params [required, String] :agent_space_id
|
|
3699
|
+
# The unique identifier for the agent space containing the asset
|
|
3700
|
+
#
|
|
3701
|
+
# @option params [required, String] :asset_id
|
|
3702
|
+
# The unique identifier of the asset to update
|
|
3703
|
+
#
|
|
3704
|
+
# @option params [Hash,Array,String,Numeric,Boolean] :metadata
|
|
3705
|
+
# Metadata fields to update. Only the fields present in this document
|
|
3706
|
+
# are updated. Omitted fields retain their current values.
|
|
3707
|
+
#
|
|
3708
|
+
# Document type used to carry open content
|
|
3709
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
3710
|
+
# serialized using the same format as its surroundings and requires no
|
|
3711
|
+
# additional encoding or escaping.
|
|
3712
|
+
#
|
|
3713
|
+
# @option params [Types::AssetContent] :content
|
|
3714
|
+
# Optional content to set or replace. A single file adds or replaces one
|
|
3715
|
+
# file; a zip replaces all files.
|
|
3716
|
+
#
|
|
3717
|
+
# @option params [String] :client_token
|
|
3718
|
+
# A unique, case-sensitive identifier used for idempotent asset update
|
|
3719
|
+
#
|
|
3720
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3721
|
+
# not need to pass this option.**
|
|
3722
|
+
#
|
|
3723
|
+
# @return [Types::UpdateAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3724
|
+
#
|
|
3725
|
+
# * {Types::UpdateAssetResponse#asset #asset} => Types::Asset
|
|
3726
|
+
#
|
|
3727
|
+
# @example Request syntax with placeholder values
|
|
3728
|
+
#
|
|
3729
|
+
# resp = client.update_asset({
|
|
3730
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
3731
|
+
# asset_id: "ResourceId", # required
|
|
3732
|
+
# metadata: {
|
|
3733
|
+
# },
|
|
3734
|
+
# content: {
|
|
3735
|
+
# file: {
|
|
3736
|
+
# path: "AssetFilePath", # required
|
|
3737
|
+
# body: { # required
|
|
3738
|
+
# bytes: "data",
|
|
3739
|
+
# text: "AssetFileText",
|
|
3740
|
+
# },
|
|
3741
|
+
# metadata: {
|
|
3742
|
+
# },
|
|
3743
|
+
# },
|
|
3744
|
+
# zip: {
|
|
3745
|
+
# zip_file: "data", # required
|
|
3746
|
+
# },
|
|
3747
|
+
# },
|
|
3748
|
+
# client_token: "UpdateAssetRequestClientTokenString",
|
|
3749
|
+
# })
|
|
3750
|
+
#
|
|
3751
|
+
# @example Response structure
|
|
3752
|
+
#
|
|
3753
|
+
# resp.asset.asset_id #=> String
|
|
3754
|
+
# resp.asset.asset_type #=> String
|
|
3755
|
+
# resp.asset.version #=> Integer
|
|
3756
|
+
# resp.asset.created_at #=> Time
|
|
3757
|
+
# resp.asset.updated_at #=> Time
|
|
3758
|
+
#
|
|
3759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateAsset AWS API Documentation
|
|
3760
|
+
#
|
|
3761
|
+
# @overload update_asset(params = {})
|
|
3762
|
+
# @param [Hash] params ({})
|
|
3763
|
+
def update_asset(params = {}, options = {})
|
|
3764
|
+
req = build_request(:update_asset, params)
|
|
3765
|
+
req.send_request(options)
|
|
3766
|
+
end
|
|
3767
|
+
|
|
3768
|
+
# Updates a file in an asset
|
|
3769
|
+
#
|
|
3770
|
+
# @option params [required, String] :agent_space_id
|
|
3771
|
+
# The unique identifier for the agent space containing the asset
|
|
3772
|
+
#
|
|
3773
|
+
# @option params [required, String] :asset_id
|
|
3774
|
+
# The unique identifier of the asset containing the file
|
|
3775
|
+
#
|
|
3776
|
+
# @option params [required, String] :path
|
|
3777
|
+
# The path of the file within the asset to update
|
|
3778
|
+
#
|
|
3779
|
+
# @option params [Types::AssetFileBody] :content
|
|
3780
|
+
# Updated file content. If omitted, the existing content is unchanged.
|
|
3781
|
+
#
|
|
3782
|
+
# @option params [Hash,Array,String,Numeric,Boolean] :metadata
|
|
3783
|
+
# Metadata fields to update. Only the fields present in this document
|
|
3784
|
+
# are updated. Omitted fields retain their current values.
|
|
3785
|
+
#
|
|
3786
|
+
# Document type used to carry open content
|
|
3787
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
3788
|
+
# serialized using the same format as its surroundings and requires no
|
|
3789
|
+
# additional encoding or escaping.
|
|
3790
|
+
#
|
|
3791
|
+
# @option params [String] :client_token
|
|
3792
|
+
# A unique, case-sensitive identifier used for idempotent asset file
|
|
3793
|
+
# update
|
|
3794
|
+
#
|
|
3795
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3796
|
+
# not need to pass this option.**
|
|
3797
|
+
#
|
|
3798
|
+
# @return [Types::UpdateAssetFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3799
|
+
#
|
|
3800
|
+
# * {Types::UpdateAssetFileResponse#file #file} => Types::AssetFile
|
|
3801
|
+
#
|
|
3802
|
+
# @example Request syntax with placeholder values
|
|
3803
|
+
#
|
|
3804
|
+
# resp = client.update_asset_file({
|
|
3805
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
3806
|
+
# asset_id: "ResourceId", # required
|
|
3807
|
+
# path: "AssetFilePath", # required
|
|
3808
|
+
# content: {
|
|
3809
|
+
# bytes: "data",
|
|
3810
|
+
# text: "AssetFileText",
|
|
3811
|
+
# },
|
|
3812
|
+
# metadata: {
|
|
3813
|
+
# },
|
|
3814
|
+
# client_token: "UpdateAssetFileRequestClientTokenString",
|
|
3815
|
+
# })
|
|
3816
|
+
#
|
|
3817
|
+
# @example Response structure
|
|
3818
|
+
#
|
|
3819
|
+
# resp.file.path #=> String
|
|
3820
|
+
# resp.file.content.bytes #=> String
|
|
3821
|
+
# resp.file.content.text #=> String
|
|
3822
|
+
# resp.file.version #=> Integer
|
|
3823
|
+
# resp.file.created_at #=> Time
|
|
3824
|
+
# resp.file.updated_at #=> Time
|
|
3825
|
+
#
|
|
3826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateAssetFile AWS API Documentation
|
|
3827
|
+
#
|
|
3828
|
+
# @overload update_asset_file(params = {})
|
|
3829
|
+
# @param [Hash] params ({})
|
|
3830
|
+
def update_asset_file(params = {}, options = {})
|
|
3831
|
+
req = build_request(:update_asset_file, params)
|
|
3832
|
+
req.send_request(options)
|
|
3833
|
+
end
|
|
3834
|
+
|
|
2955
3835
|
# Partially updates the configuration of an existing service association
|
|
2956
3836
|
# for an AgentSpace. Present fields are fully replaced; absent fields
|
|
2957
3837
|
# are left unchanged. Returns 200 OK on success.
|
|
@@ -3151,7 +4031,7 @@ module Aws::DevOpsAgent
|
|
|
3151
4031
|
# resp = client.update_backlog_task({
|
|
3152
4032
|
# agent_space_id: "AgentSpaceId", # required
|
|
3153
4033
|
# task_id: "ResourceId", # required
|
|
3154
|
-
# task_status: "PENDING_TRIAGE", # accepts PENDING_TRIAGE, LINKED, PENDING_START, IN_PROGRESS, PENDING_CUSTOMER_APPROVAL, COMPLETED, FAILED, TIMED_OUT, CANCELED
|
|
4034
|
+
# task_status: "PENDING_TRIAGE", # accepts PENDING_TRIAGE, LINKED, PENDING_START, IN_PROGRESS, PENDING_CUSTOMER_APPROVAL, COMPLETED, FAILED, TIMED_OUT, CANCELED, SKIPPED
|
|
3155
4035
|
# client_token: "String",
|
|
3156
4036
|
# })
|
|
3157
4037
|
#
|
|
@@ -3169,7 +4049,7 @@ module Aws::DevOpsAgent
|
|
|
3169
4049
|
# resp.task.reference.association_id #=> String
|
|
3170
4050
|
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
3171
4051
|
# resp.task.priority #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINIMAL"
|
|
3172
|
-
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED"
|
|
4052
|
+
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
3173
4053
|
# resp.task.created_at #=> Time
|
|
3174
4054
|
# resp.task.updated_at #=> Time
|
|
3175
4055
|
# resp.task.version #=> Integer
|
|
@@ -3303,6 +4183,8 @@ module Aws::DevOpsAgent
|
|
|
3303
4183
|
# * {Types::UpdatePrivateConnectionCertificateOutput#resource_configuration_id #resource_configuration_id} => String
|
|
3304
4184
|
# * {Types::UpdatePrivateConnectionCertificateOutput#status #status} => String
|
|
3305
4185
|
# * {Types::UpdatePrivateConnectionCertificateOutput#certificate_expiry_time #certificate_expiry_time} => Time
|
|
4186
|
+
# * {Types::UpdatePrivateConnectionCertificateOutput#dns_resolution #dns_resolution} => String
|
|
4187
|
+
# * {Types::UpdatePrivateConnectionCertificateOutput#failure_message #failure_message} => String
|
|
3306
4188
|
#
|
|
3307
4189
|
# @example Request syntax with placeholder values
|
|
3308
4190
|
#
|
|
@@ -3321,6 +4203,8 @@ module Aws::DevOpsAgent
|
|
|
3321
4203
|
# resp.resource_configuration_id #=> String
|
|
3322
4204
|
# resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
|
3323
4205
|
# resp.certificate_expiry_time #=> Time
|
|
4206
|
+
# resp.dns_resolution #=> String, one of "PUBLIC", "IN_VPC"
|
|
4207
|
+
# resp.failure_message #=> String
|
|
3324
4208
|
#
|
|
3325
4209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdatePrivateConnectionCertificate AWS API Documentation
|
|
3326
4210
|
#
|
|
@@ -3395,6 +4279,57 @@ module Aws::DevOpsAgent
|
|
|
3395
4279
|
req.send_request(options)
|
|
3396
4280
|
end
|
|
3397
4281
|
|
|
4282
|
+
# Updates the status of an existing Trigger
|
|
4283
|
+
#
|
|
4284
|
+
# @option params [required, String] :agent_space_id
|
|
4285
|
+
# Unique identifier for an agent space (allows alphanumeric characters
|
|
4286
|
+
# and hyphens; 1-64 characters)
|
|
4287
|
+
#
|
|
4288
|
+
# @option params [required, String] :trigger_id
|
|
4289
|
+
# Generic resource identifier (allows alphanumeric characters, hyphens,
|
|
4290
|
+
# and underscores; 1-128 characters)
|
|
4291
|
+
#
|
|
4292
|
+
# @option params [String] :status
|
|
4293
|
+
# The new status for the Trigger
|
|
4294
|
+
#
|
|
4295
|
+
# @option params [String] :client_token
|
|
4296
|
+
# A unique, case-sensitive identifier used for idempotent Trigger update
|
|
4297
|
+
#
|
|
4298
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
4299
|
+
# not need to pass this option.**
|
|
4300
|
+
#
|
|
4301
|
+
# @return [Types::UpdateTriggerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4302
|
+
#
|
|
4303
|
+
# * {Types::UpdateTriggerResponse#trigger #trigger} => Types::Trigger
|
|
4304
|
+
#
|
|
4305
|
+
# @example Request syntax with placeholder values
|
|
4306
|
+
#
|
|
4307
|
+
# resp = client.update_trigger({
|
|
4308
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
4309
|
+
# trigger_id: "ResourceId", # required
|
|
4310
|
+
# status: "TriggerStatus",
|
|
4311
|
+
# client_token: "UpdateTriggerRequestClientTokenString",
|
|
4312
|
+
# })
|
|
4313
|
+
#
|
|
4314
|
+
# @example Response structure
|
|
4315
|
+
#
|
|
4316
|
+
# resp.trigger.trigger_id #=> String
|
|
4317
|
+
# resp.trigger.agent_space_id #=> String
|
|
4318
|
+
# resp.trigger.type #=> String
|
|
4319
|
+
# resp.trigger.condition.schedule.expression #=> String
|
|
4320
|
+
# resp.trigger.status #=> String
|
|
4321
|
+
# resp.trigger.created_at #=> Time
|
|
4322
|
+
# resp.trigger.updated_at #=> Time
|
|
4323
|
+
#
|
|
4324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateTrigger AWS API Documentation
|
|
4325
|
+
#
|
|
4326
|
+
# @overload update_trigger(params = {})
|
|
4327
|
+
# @param [Hash] params ({})
|
|
4328
|
+
def update_trigger(params = {}, options = {})
|
|
4329
|
+
req = build_request(:update_trigger, params)
|
|
4330
|
+
req.send_request(options)
|
|
4331
|
+
end
|
|
4332
|
+
|
|
3398
4333
|
# Validates an aws association and set status and returns a 204 No
|
|
3399
4334
|
# Content response on success.
|
|
3400
4335
|
#
|
|
@@ -3436,7 +4371,7 @@ module Aws::DevOpsAgent
|
|
|
3436
4371
|
tracer: tracer
|
|
3437
4372
|
)
|
|
3438
4373
|
context[:gem_name] = 'aws-sdk-devopsagent'
|
|
3439
|
-
context[:gem_version] = '1.
|
|
4374
|
+
context[:gem_version] = '1.9.0'
|
|
3440
4375
|
Seahorse::Client::Request.new(handlers, context)
|
|
3441
4376
|
end
|
|
3442
4377
|
|