aws-sdk-devopsagent 1.6.0 → 1.8.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 +719 -25
- data/lib/aws-sdk-devopsagent/client_api.rb +570 -26
- data/lib/aws-sdk-devopsagent/types.rb +989 -35
- data/lib/aws-sdk-devopsagent.rb +1 -1
- data/sig/client.rbs +202 -5
- data/sig/params.rbs +17 -0
- data/sig/types.rbs +273 -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
|
#
|
|
@@ -939,6 +1081,62 @@ module Aws::DevOpsAgent
|
|
|
939
1081
|
req.send_request(options)
|
|
940
1082
|
end
|
|
941
1083
|
|
|
1084
|
+
# Deletes an asset and all its files from the specified agent space
|
|
1085
|
+
#
|
|
1086
|
+
# @option params [required, String] :agent_space_id
|
|
1087
|
+
# The unique identifier for the agent space containing the asset
|
|
1088
|
+
#
|
|
1089
|
+
# @option params [required, String] :asset_id
|
|
1090
|
+
# The unique identifier of the asset to delete
|
|
1091
|
+
#
|
|
1092
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1093
|
+
#
|
|
1094
|
+
# @example Request syntax with placeholder values
|
|
1095
|
+
#
|
|
1096
|
+
# resp = client.delete_asset({
|
|
1097
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1098
|
+
# asset_id: "ResourceId", # required
|
|
1099
|
+
# })
|
|
1100
|
+
#
|
|
1101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/DeleteAsset AWS API Documentation
|
|
1102
|
+
#
|
|
1103
|
+
# @overload delete_asset(params = {})
|
|
1104
|
+
# @param [Hash] params ({})
|
|
1105
|
+
def delete_asset(params = {}, options = {})
|
|
1106
|
+
req = build_request(:delete_asset, params)
|
|
1107
|
+
req.send_request(options)
|
|
1108
|
+
end
|
|
1109
|
+
|
|
1110
|
+
# Deletes a file from an asset
|
|
1111
|
+
#
|
|
1112
|
+
# @option params [required, String] :agent_space_id
|
|
1113
|
+
# The unique identifier for the agent space containing the asset
|
|
1114
|
+
#
|
|
1115
|
+
# @option params [required, String] :asset_id
|
|
1116
|
+
# The unique identifier of the asset containing the file
|
|
1117
|
+
#
|
|
1118
|
+
# @option params [required, String] :path
|
|
1119
|
+
# The path of the file within the asset to delete
|
|
1120
|
+
#
|
|
1121
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1122
|
+
#
|
|
1123
|
+
# @example Request syntax with placeholder values
|
|
1124
|
+
#
|
|
1125
|
+
# resp = client.delete_asset_file({
|
|
1126
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1127
|
+
# asset_id: "ResourceId", # required
|
|
1128
|
+
# path: "AssetFilePath", # required
|
|
1129
|
+
# })
|
|
1130
|
+
#
|
|
1131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/DeleteAssetFile AWS API Documentation
|
|
1132
|
+
#
|
|
1133
|
+
# @overload delete_asset_file(params = {})
|
|
1134
|
+
# @param [Hash] params ({})
|
|
1135
|
+
def delete_asset_file(params = {}, options = {})
|
|
1136
|
+
req = build_request(:delete_asset_file, params)
|
|
1137
|
+
req.send_request(options)
|
|
1138
|
+
end
|
|
1139
|
+
|
|
942
1140
|
# Deletes a Private Connection. The deletion is asynchronous and returns
|
|
943
1141
|
# DELETE\_IN\_PROGRESS status.
|
|
944
1142
|
#
|
|
@@ -1008,6 +1206,8 @@ module Aws::DevOpsAgent
|
|
|
1008
1206
|
# * {Types::DescribePrivateConnectionOutput#resource_configuration_id #resource_configuration_id} => String
|
|
1009
1207
|
# * {Types::DescribePrivateConnectionOutput#status #status} => String
|
|
1010
1208
|
# * {Types::DescribePrivateConnectionOutput#certificate_expiry_time #certificate_expiry_time} => Time
|
|
1209
|
+
# * {Types::DescribePrivateConnectionOutput#dns_resolution #dns_resolution} => String
|
|
1210
|
+
# * {Types::DescribePrivateConnectionOutput#failure_message #failure_message} => String
|
|
1011
1211
|
# * {Types::DescribePrivateConnectionOutput#tags #tags} => Hash<String,String>
|
|
1012
1212
|
#
|
|
1013
1213
|
# @example Request syntax with placeholder values
|
|
@@ -1026,6 +1226,8 @@ module Aws::DevOpsAgent
|
|
|
1026
1226
|
# resp.resource_configuration_id #=> String
|
|
1027
1227
|
# resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
|
1028
1228
|
# resp.certificate_expiry_time #=> Time
|
|
1229
|
+
# resp.dns_resolution #=> String, one of "PUBLIC", "IN_VPC"
|
|
1230
|
+
# resp.failure_message #=> String
|
|
1029
1231
|
# resp.tags #=> Hash
|
|
1030
1232
|
# resp.tags["TagKey"] #=> String
|
|
1031
1233
|
#
|
|
@@ -1122,6 +1324,7 @@ module Aws::DevOpsAgent
|
|
|
1122
1324
|
# @return [Types::EnableOperatorAppOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1123
1325
|
#
|
|
1124
1326
|
# * {Types::EnableOperatorAppOutput#agent_space_id #agent_space_id} => String
|
|
1327
|
+
# * {Types::EnableOperatorAppOutput#operator_app_url #operator_app_url} => String
|
|
1125
1328
|
# * {Types::EnableOperatorAppOutput#iam #iam} => Types::IamAuthConfiguration
|
|
1126
1329
|
# * {Types::EnableOperatorAppOutput#idc #idc} => Types::IdcAuthConfiguration
|
|
1127
1330
|
# * {Types::EnableOperatorAppOutput#idp #idp} => Types::IdpAuthConfiguration
|
|
@@ -1142,6 +1345,7 @@ module Aws::DevOpsAgent
|
|
|
1142
1345
|
# @example Response structure
|
|
1143
1346
|
#
|
|
1144
1347
|
# resp.agent_space_id #=> String
|
|
1348
|
+
# resp.operator_app_url #=> String
|
|
1145
1349
|
# resp.iam.operator_app_role_arn #=> String
|
|
1146
1350
|
# resp.iam.created_at #=> Time
|
|
1147
1351
|
# resp.iam.updated_at #=> Time
|
|
@@ -1237,6 +1441,132 @@ module Aws::DevOpsAgent
|
|
|
1237
1441
|
req.send_request(options)
|
|
1238
1442
|
end
|
|
1239
1443
|
|
|
1444
|
+
# Gets an asset from the specified agent space
|
|
1445
|
+
#
|
|
1446
|
+
# @option params [required, String] :agent_space_id
|
|
1447
|
+
# The unique identifier for the agent space containing the asset
|
|
1448
|
+
#
|
|
1449
|
+
# @option params [required, String] :asset_id
|
|
1450
|
+
# The unique identifier of the asset to retrieve
|
|
1451
|
+
#
|
|
1452
|
+
# @option params [Integer] :asset_version
|
|
1453
|
+
# The specific version of the asset to retrieve. If omitted, the latest
|
|
1454
|
+
# version is returned.
|
|
1455
|
+
#
|
|
1456
|
+
# @return [Types::GetAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1457
|
+
#
|
|
1458
|
+
# * {Types::GetAssetResponse#asset #asset} => Types::Asset
|
|
1459
|
+
#
|
|
1460
|
+
# @example Request syntax with placeholder values
|
|
1461
|
+
#
|
|
1462
|
+
# resp = client.get_asset({
|
|
1463
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1464
|
+
# asset_id: "ResourceId", # required
|
|
1465
|
+
# asset_version: 1,
|
|
1466
|
+
# })
|
|
1467
|
+
#
|
|
1468
|
+
# @example Response structure
|
|
1469
|
+
#
|
|
1470
|
+
# resp.asset.asset_id #=> String
|
|
1471
|
+
# resp.asset.asset_type #=> String
|
|
1472
|
+
# resp.asset.version #=> Integer
|
|
1473
|
+
# resp.asset.created_at #=> Time
|
|
1474
|
+
# resp.asset.updated_at #=> Time
|
|
1475
|
+
#
|
|
1476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetAsset AWS API Documentation
|
|
1477
|
+
#
|
|
1478
|
+
# @overload get_asset(params = {})
|
|
1479
|
+
# @param [Hash] params ({})
|
|
1480
|
+
def get_asset(params = {}, options = {})
|
|
1481
|
+
req = build_request(:get_asset, params)
|
|
1482
|
+
req.send_request(options)
|
|
1483
|
+
end
|
|
1484
|
+
|
|
1485
|
+
# Gets an asset's content as a zip bundle
|
|
1486
|
+
#
|
|
1487
|
+
# @option params [required, String] :agent_space_id
|
|
1488
|
+
# The unique identifier for the agent space containing the asset
|
|
1489
|
+
#
|
|
1490
|
+
# @option params [required, String] :asset_id
|
|
1491
|
+
# The unique identifier of the asset
|
|
1492
|
+
#
|
|
1493
|
+
# @option params [Integer] :asset_version
|
|
1494
|
+
# The specific asset version to export. If omitted, the latest version
|
|
1495
|
+
# is returned.
|
|
1496
|
+
#
|
|
1497
|
+
# @return [Types::GetAssetContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1498
|
+
#
|
|
1499
|
+
# * {Types::GetAssetContentResponse#content #content} => Types::AssetZipContent
|
|
1500
|
+
# * {Types::GetAssetContentResponse#version #version} => Integer
|
|
1501
|
+
#
|
|
1502
|
+
# @example Request syntax with placeholder values
|
|
1503
|
+
#
|
|
1504
|
+
# resp = client.get_asset_content({
|
|
1505
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1506
|
+
# asset_id: "ResourceId", # required
|
|
1507
|
+
# asset_version: 1,
|
|
1508
|
+
# })
|
|
1509
|
+
#
|
|
1510
|
+
# @example Response structure
|
|
1511
|
+
#
|
|
1512
|
+
# resp.content.zip_file #=> String
|
|
1513
|
+
# resp.version #=> Integer
|
|
1514
|
+
#
|
|
1515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetAssetContent AWS API Documentation
|
|
1516
|
+
#
|
|
1517
|
+
# @overload get_asset_content(params = {})
|
|
1518
|
+
# @param [Hash] params ({})
|
|
1519
|
+
def get_asset_content(params = {}, options = {})
|
|
1520
|
+
req = build_request(:get_asset_content, params)
|
|
1521
|
+
req.send_request(options)
|
|
1522
|
+
end
|
|
1523
|
+
|
|
1524
|
+
# Gets a file from an asset
|
|
1525
|
+
#
|
|
1526
|
+
# @option params [required, String] :agent_space_id
|
|
1527
|
+
# The unique identifier for the agent space containing the asset
|
|
1528
|
+
#
|
|
1529
|
+
# @option params [required, String] :asset_id
|
|
1530
|
+
# The unique identifier of the asset containing the file
|
|
1531
|
+
#
|
|
1532
|
+
# @option params [required, String] :path
|
|
1533
|
+
# The path of the file within the asset to retrieve
|
|
1534
|
+
#
|
|
1535
|
+
# @option params [Integer] :asset_version
|
|
1536
|
+
# The specific asset version to retrieve the file from. If omitted, the
|
|
1537
|
+
# latest version is returned.
|
|
1538
|
+
#
|
|
1539
|
+
# @return [Types::GetAssetFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1540
|
+
#
|
|
1541
|
+
# * {Types::GetAssetFileResponse#file #file} => Types::AssetFile
|
|
1542
|
+
#
|
|
1543
|
+
# @example Request syntax with placeholder values
|
|
1544
|
+
#
|
|
1545
|
+
# resp = client.get_asset_file({
|
|
1546
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1547
|
+
# asset_id: "ResourceId", # required
|
|
1548
|
+
# path: "AssetFilePath", # required
|
|
1549
|
+
# asset_version: 1,
|
|
1550
|
+
# })
|
|
1551
|
+
#
|
|
1552
|
+
# @example Response structure
|
|
1553
|
+
#
|
|
1554
|
+
# resp.file.path #=> String
|
|
1555
|
+
# resp.file.content.bytes #=> String
|
|
1556
|
+
# resp.file.content.text #=> String
|
|
1557
|
+
# resp.file.version #=> Integer
|
|
1558
|
+
# resp.file.created_at #=> Time
|
|
1559
|
+
# resp.file.updated_at #=> Time
|
|
1560
|
+
#
|
|
1561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/GetAssetFile AWS API Documentation
|
|
1562
|
+
#
|
|
1563
|
+
# @overload get_asset_file(params = {})
|
|
1564
|
+
# @param [Hash] params ({})
|
|
1565
|
+
def get_asset_file(params = {}, options = {})
|
|
1566
|
+
req = build_request(:get_asset_file, params)
|
|
1567
|
+
req.send_request(options)
|
|
1568
|
+
end
|
|
1569
|
+
|
|
1240
1570
|
# Retrieves given associations configured for a specific AgentSpace.
|
|
1241
1571
|
#
|
|
1242
1572
|
# @option params [required, String] :agent_space_id
|
|
@@ -1351,7 +1681,7 @@ module Aws::DevOpsAgent
|
|
|
1351
1681
|
# resp.task.reference.association_id #=> String
|
|
1352
1682
|
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
1353
1683
|
# 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"
|
|
1684
|
+
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
1355
1685
|
# resp.task.created_at #=> Time
|
|
1356
1686
|
# resp.task.updated_at #=> Time
|
|
1357
1687
|
# resp.task.version #=> Integer
|
|
@@ -1376,6 +1706,7 @@ module Aws::DevOpsAgent
|
|
|
1376
1706
|
#
|
|
1377
1707
|
# @return [Types::GetOperatorAppOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1378
1708
|
#
|
|
1709
|
+
# * {Types::GetOperatorAppOutput#operator_app_url #operator_app_url} => String
|
|
1379
1710
|
# * {Types::GetOperatorAppOutput#iam #iam} => Types::IamAuthConfiguration
|
|
1380
1711
|
# * {Types::GetOperatorAppOutput#idc #idc} => Types::IdcAuthConfiguration
|
|
1381
1712
|
# * {Types::GetOperatorAppOutput#idp #idp} => Types::IdpAuthConfiguration
|
|
@@ -1388,6 +1719,7 @@ module Aws::DevOpsAgent
|
|
|
1388
1719
|
#
|
|
1389
1720
|
# @example Response structure
|
|
1390
1721
|
#
|
|
1722
|
+
# resp.operator_app_url #=> String
|
|
1391
1723
|
# resp.iam.operator_app_role_arn #=> String
|
|
1392
1724
|
# resp.iam.created_at #=> Time
|
|
1393
1725
|
# resp.iam.updated_at #=> Time
|
|
@@ -1530,6 +1862,7 @@ module Aws::DevOpsAgent
|
|
|
1530
1862
|
# resp.service.additional_service_details.mcpserversigv4.region #=> String
|
|
1531
1863
|
# resp.service.additional_service_details.mcpserversigv4.service #=> String
|
|
1532
1864
|
# resp.service.additional_service_details.mcpserversigv4.role_arn #=> String
|
|
1865
|
+
# resp.service.additional_service_details.mcpserversigv4.mcp_role_arn #=> String
|
|
1533
1866
|
# resp.service.additional_service_details.mcpserversigv4.custom_headers #=> Hash
|
|
1534
1867
|
# resp.service.additional_service_details.mcpserversigv4.custom_headers["CustomHeaderName"] #=> String
|
|
1535
1868
|
# resp.service.kms_key_arn #=> String
|
|
@@ -1589,6 +1922,205 @@ module Aws::DevOpsAgent
|
|
|
1589
1922
|
req.send_request(options)
|
|
1590
1923
|
end
|
|
1591
1924
|
|
|
1925
|
+
# Lists files in an asset
|
|
1926
|
+
#
|
|
1927
|
+
# @option params [required, String] :agent_space_id
|
|
1928
|
+
# The unique identifier for the agent space containing the asset
|
|
1929
|
+
#
|
|
1930
|
+
# @option params [required, String] :asset_id
|
|
1931
|
+
# The unique identifier of the asset whose files to list
|
|
1932
|
+
#
|
|
1933
|
+
# @option params [Integer] :asset_version
|
|
1934
|
+
# The specific asset version to list files from. If omitted, files from
|
|
1935
|
+
# the latest version are returned.
|
|
1936
|
+
#
|
|
1937
|
+
# @option params [String] :next_token
|
|
1938
|
+
# Pagination token from a previous response to retrieve the next page of
|
|
1939
|
+
# results
|
|
1940
|
+
#
|
|
1941
|
+
# @option params [Integer] :max_results
|
|
1942
|
+
# The maximum number of results to return in a single response
|
|
1943
|
+
#
|
|
1944
|
+
# @return [Types::ListAssetFilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1945
|
+
#
|
|
1946
|
+
# * {Types::ListAssetFilesResponse#items #items} => Array<Types::AssetFileSummary>
|
|
1947
|
+
# * {Types::ListAssetFilesResponse#next_token #next_token} => String
|
|
1948
|
+
#
|
|
1949
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1950
|
+
#
|
|
1951
|
+
# @example Request syntax with placeholder values
|
|
1952
|
+
#
|
|
1953
|
+
# resp = client.list_asset_files({
|
|
1954
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
1955
|
+
# asset_id: "ResourceId", # required
|
|
1956
|
+
# asset_version: 1,
|
|
1957
|
+
# next_token: "NextToken",
|
|
1958
|
+
# max_results: 1,
|
|
1959
|
+
# })
|
|
1960
|
+
#
|
|
1961
|
+
# @example Response structure
|
|
1962
|
+
#
|
|
1963
|
+
# resp.items #=> Array
|
|
1964
|
+
# resp.items[0].path #=> String
|
|
1965
|
+
# resp.items[0].version #=> Integer
|
|
1966
|
+
# resp.items[0].created_at #=> Time
|
|
1967
|
+
# resp.items[0].updated_at #=> Time
|
|
1968
|
+
# resp.next_token #=> String
|
|
1969
|
+
#
|
|
1970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListAssetFiles AWS API Documentation
|
|
1971
|
+
#
|
|
1972
|
+
# @overload list_asset_files(params = {})
|
|
1973
|
+
# @param [Hash] params ({})
|
|
1974
|
+
def list_asset_files(params = {}, options = {})
|
|
1975
|
+
req = build_request(:list_asset_files, params)
|
|
1976
|
+
req.send_request(options)
|
|
1977
|
+
end
|
|
1978
|
+
|
|
1979
|
+
# Lists the supported asset types
|
|
1980
|
+
#
|
|
1981
|
+
# @option params [String] :next_token
|
|
1982
|
+
# Pagination token from a previous response to retrieve the next page of
|
|
1983
|
+
# results
|
|
1984
|
+
#
|
|
1985
|
+
# @option params [Integer] :max_results
|
|
1986
|
+
# The maximum number of results to return in a single response
|
|
1987
|
+
#
|
|
1988
|
+
# @return [Types::ListAssetTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1989
|
+
#
|
|
1990
|
+
# * {Types::ListAssetTypesResponse#items #items} => Array<Types::AssetTypeSummary>
|
|
1991
|
+
# * {Types::ListAssetTypesResponse#next_token #next_token} => String
|
|
1992
|
+
#
|
|
1993
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1994
|
+
#
|
|
1995
|
+
# @example Request syntax with placeholder values
|
|
1996
|
+
#
|
|
1997
|
+
# resp = client.list_asset_types({
|
|
1998
|
+
# next_token: "NextToken",
|
|
1999
|
+
# max_results: 1,
|
|
2000
|
+
# })
|
|
2001
|
+
#
|
|
2002
|
+
# @example Response structure
|
|
2003
|
+
#
|
|
2004
|
+
# resp.items #=> Array
|
|
2005
|
+
# resp.items[0].asset_type #=> String
|
|
2006
|
+
# resp.items[0].description #=> String
|
|
2007
|
+
# resp.next_token #=> String
|
|
2008
|
+
#
|
|
2009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListAssetTypes AWS API Documentation
|
|
2010
|
+
#
|
|
2011
|
+
# @overload list_asset_types(params = {})
|
|
2012
|
+
# @param [Hash] params ({})
|
|
2013
|
+
def list_asset_types(params = {}, options = {})
|
|
2014
|
+
req = build_request(:list_asset_types, params)
|
|
2015
|
+
req.send_request(options)
|
|
2016
|
+
end
|
|
2017
|
+
|
|
2018
|
+
# Lists versions of an asset in the specified agent space
|
|
2019
|
+
#
|
|
2020
|
+
# @option params [required, String] :agent_space_id
|
|
2021
|
+
# The unique identifier for the agent space containing the asset
|
|
2022
|
+
#
|
|
2023
|
+
# @option params [required, String] :asset_id
|
|
2024
|
+
# The unique identifier of the asset whose versions to list
|
|
2025
|
+
#
|
|
2026
|
+
# @option params [Integer] :max_results
|
|
2027
|
+
# The maximum number of results to return in a single response
|
|
2028
|
+
#
|
|
2029
|
+
# @option params [String] :next_token
|
|
2030
|
+
# Pagination token from a previous response to retrieve the next page of
|
|
2031
|
+
# results
|
|
2032
|
+
#
|
|
2033
|
+
# @return [Types::ListAssetVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2034
|
+
#
|
|
2035
|
+
# * {Types::ListAssetVersionsResponse#items #items} => Array<Types::AssetVersionMetadata>
|
|
2036
|
+
# * {Types::ListAssetVersionsResponse#next_token #next_token} => String
|
|
2037
|
+
#
|
|
2038
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2039
|
+
#
|
|
2040
|
+
# @example Request syntax with placeholder values
|
|
2041
|
+
#
|
|
2042
|
+
# resp = client.list_asset_versions({
|
|
2043
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
2044
|
+
# asset_id: "ResourceId", # required
|
|
2045
|
+
# max_results: 1,
|
|
2046
|
+
# next_token: "NextToken",
|
|
2047
|
+
# })
|
|
2048
|
+
#
|
|
2049
|
+
# @example Response structure
|
|
2050
|
+
#
|
|
2051
|
+
# resp.items #=> Array
|
|
2052
|
+
# resp.items[0].version #=> Integer
|
|
2053
|
+
# resp.items[0].created_at #=> Time
|
|
2054
|
+
# resp.items[0].updated_at #=> Time
|
|
2055
|
+
# resp.next_token #=> String
|
|
2056
|
+
#
|
|
2057
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListAssetVersions AWS API Documentation
|
|
2058
|
+
#
|
|
2059
|
+
# @overload list_asset_versions(params = {})
|
|
2060
|
+
# @param [Hash] params ({})
|
|
2061
|
+
def list_asset_versions(params = {}, options = {})
|
|
2062
|
+
req = build_request(:list_asset_versions, params)
|
|
2063
|
+
req.send_request(options)
|
|
2064
|
+
end
|
|
2065
|
+
|
|
2066
|
+
# Lists assets in the specified agent space
|
|
2067
|
+
#
|
|
2068
|
+
# @option params [required, String] :agent_space_id
|
|
2069
|
+
# The unique identifier for the agent space to list assets from
|
|
2070
|
+
#
|
|
2071
|
+
# @option params [String] :asset_type
|
|
2072
|
+
# Filter results to only assets of this type
|
|
2073
|
+
#
|
|
2074
|
+
# @option params [Time,DateTime,Date,Integer,String] :updated_after
|
|
2075
|
+
# Filter results to only assets updated after this timestamp
|
|
2076
|
+
#
|
|
2077
|
+
# @option params [Time,DateTime,Date,Integer,String] :updated_before
|
|
2078
|
+
# Filter results to only assets updated before this timestamp
|
|
2079
|
+
#
|
|
2080
|
+
# @option params [String] :next_token
|
|
2081
|
+
# Pagination token from a previous response to retrieve the next page of
|
|
2082
|
+
# results
|
|
2083
|
+
#
|
|
2084
|
+
# @option params [Integer] :max_results
|
|
2085
|
+
# The maximum number of results to return in a single response
|
|
2086
|
+
#
|
|
2087
|
+
# @return [Types::ListAssetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2088
|
+
#
|
|
2089
|
+
# * {Types::ListAssetsResponse#items #items} => Array<Types::Asset>
|
|
2090
|
+
# * {Types::ListAssetsResponse#next_token #next_token} => String
|
|
2091
|
+
#
|
|
2092
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2093
|
+
#
|
|
2094
|
+
# @example Request syntax with placeholder values
|
|
2095
|
+
#
|
|
2096
|
+
# resp = client.list_assets({
|
|
2097
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
2098
|
+
# asset_type: "AssetType",
|
|
2099
|
+
# updated_after: Time.now,
|
|
2100
|
+
# updated_before: Time.now,
|
|
2101
|
+
# next_token: "NextToken",
|
|
2102
|
+
# max_results: 1,
|
|
2103
|
+
# })
|
|
2104
|
+
#
|
|
2105
|
+
# @example Response structure
|
|
2106
|
+
#
|
|
2107
|
+
# resp.items #=> Array
|
|
2108
|
+
# resp.items[0].asset_id #=> String
|
|
2109
|
+
# resp.items[0].asset_type #=> String
|
|
2110
|
+
# resp.items[0].version #=> Integer
|
|
2111
|
+
# resp.items[0].created_at #=> Time
|
|
2112
|
+
# resp.items[0].updated_at #=> Time
|
|
2113
|
+
# resp.next_token #=> String
|
|
2114
|
+
#
|
|
2115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListAssets AWS API Documentation
|
|
2116
|
+
#
|
|
2117
|
+
# @overload list_assets(params = {})
|
|
2118
|
+
# @param [Hash] params ({})
|
|
2119
|
+
def list_assets(params = {}, options = {})
|
|
2120
|
+
req = build_request(:list_assets, params)
|
|
2121
|
+
req.send_request(options)
|
|
2122
|
+
end
|
|
2123
|
+
|
|
1592
2124
|
# List all associations for given AgentSpace
|
|
1593
2125
|
#
|
|
1594
2126
|
# @option params [required, String] :agent_space_id
|
|
@@ -1728,7 +2260,7 @@ module Aws::DevOpsAgent
|
|
|
1728
2260
|
# created_after: Time.now,
|
|
1729
2261
|
# created_before: Time.now,
|
|
1730
2262
|
# 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
|
|
2263
|
+
# status: ["PENDING_TRIAGE"], # accepts PENDING_TRIAGE, LINKED, PENDING_START, IN_PROGRESS, PENDING_CUSTOMER_APPROVAL, COMPLETED, FAILED, TIMED_OUT, CANCELED, SKIPPED
|
|
1732
2264
|
# task_type: ["INVESTIGATION"], # accepts INVESTIGATION, EVALUATION
|
|
1733
2265
|
# primary_task_id: "ResourceId",
|
|
1734
2266
|
# },
|
|
@@ -1753,7 +2285,7 @@ module Aws::DevOpsAgent
|
|
|
1753
2285
|
# resp.tasks[0].reference.association_id #=> String
|
|
1754
2286
|
# resp.tasks[0].task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
1755
2287
|
# 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"
|
|
2288
|
+
# resp.tasks[0].status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
1757
2289
|
# resp.tasks[0].created_at #=> Time
|
|
1758
2290
|
# resp.tasks[0].updated_at #=> Time
|
|
1759
2291
|
# resp.tasks[0].version #=> Integer
|
|
@@ -2059,6 +2591,8 @@ module Aws::DevOpsAgent
|
|
|
2059
2591
|
# resp.private_connections[0].resource_configuration_id #=> String
|
|
2060
2592
|
# resp.private_connections[0].status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
|
2061
2593
|
# resp.private_connections[0].certificate_expiry_time #=> Time
|
|
2594
|
+
# resp.private_connections[0].dns_resolution #=> String, one of "PUBLIC", "IN_VPC"
|
|
2595
|
+
# resp.private_connections[0].failure_message #=> String
|
|
2062
2596
|
#
|
|
2063
2597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/ListPrivateConnections AWS API Documentation
|
|
2064
2598
|
#
|
|
@@ -2217,6 +2751,7 @@ module Aws::DevOpsAgent
|
|
|
2217
2751
|
# resp.services[0].additional_service_details.mcpserversigv4.region #=> String
|
|
2218
2752
|
# resp.services[0].additional_service_details.mcpserversigv4.service #=> String
|
|
2219
2753
|
# resp.services[0].additional_service_details.mcpserversigv4.role_arn #=> String
|
|
2754
|
+
# resp.services[0].additional_service_details.mcpserversigv4.mcp_role_arn #=> String
|
|
2220
2755
|
# resp.services[0].additional_service_details.mcpserversigv4.custom_headers #=> Hash
|
|
2221
2756
|
# resp.services[0].additional_service_details.mcpserversigv4.custom_headers["CustomHeaderName"] #=> String
|
|
2222
2757
|
# resp.services[0].kms_key_arn #=> String
|
|
@@ -2311,6 +2846,15 @@ module Aws::DevOpsAgent
|
|
|
2311
2846
|
# @option params [String] :private_connection_name
|
|
2312
2847
|
# The name of the private connection to use for VPC connectivity.
|
|
2313
2848
|
#
|
|
2849
|
+
# @option params [String] :target_url_private_connection_name
|
|
2850
|
+
# The name of the private connection to use for API calls (target URL)
|
|
2851
|
+
# only. Cannot be specified when privateConnectionName is provided.
|
|
2852
|
+
#
|
|
2853
|
+
# @option params [String] :exchange_url_private_connection_name
|
|
2854
|
+
# The name of the private connection to use for OAuth token exchange
|
|
2855
|
+
# requests only. Cannot be specified when privateConnectionName is
|
|
2856
|
+
# provided.
|
|
2857
|
+
#
|
|
2314
2858
|
# @option params [String] :name
|
|
2315
2859
|
# The display name for the service registration.
|
|
2316
2860
|
#
|
|
@@ -2356,8 +2900,8 @@ module Aws::DevOpsAgent
|
|
|
2356
2900
|
# },
|
|
2357
2901
|
# },
|
|
2358
2902
|
# mcpserverdatadog: {
|
|
2359
|
-
# name: "
|
|
2360
|
-
# endpoint: "
|
|
2903
|
+
# name: "MCPServerName", # required
|
|
2904
|
+
# endpoint: "MCPServerEndpoint", # required
|
|
2361
2905
|
# description: "DatadogServiceDetailsDescriptionString",
|
|
2362
2906
|
# authorization_config: { # required
|
|
2363
2907
|
# authorization_discovery: {
|
|
@@ -2366,8 +2910,8 @@ module Aws::DevOpsAgent
|
|
|
2366
2910
|
# },
|
|
2367
2911
|
# },
|
|
2368
2912
|
# mcpserver: {
|
|
2369
|
-
# name: "
|
|
2370
|
-
# endpoint: "
|
|
2913
|
+
# name: "MCPServerName", # required
|
|
2914
|
+
# endpoint: "MCPServerEndpoint", # required
|
|
2371
2915
|
# description: "MCPServerDetailsDescriptionString",
|
|
2372
2916
|
# authorization_config: { # required
|
|
2373
2917
|
# o_auth_client_credentials: {
|
|
@@ -2378,7 +2922,7 @@ module Aws::DevOpsAgent
|
|
|
2378
2922
|
# },
|
|
2379
2923
|
# client_secret: "ClientSecret", # required
|
|
2380
2924
|
# exchange_url: "MCPServerOAuthClientCredentialsConfigExchangeUrlString", # required
|
|
2381
|
-
# scopes: ["
|
|
2925
|
+
# scopes: ["OAuthScope"],
|
|
2382
2926
|
# },
|
|
2383
2927
|
# o_auth_3_lo: {
|
|
2384
2928
|
# client_name: "MCPServerOAuth3LOConfigClientNameString",
|
|
@@ -2391,7 +2935,7 @@ module Aws::DevOpsAgent
|
|
|
2391
2935
|
# exchange_url: "MCPServerOAuth3LOConfigExchangeUrlString", # required
|
|
2392
2936
|
# client_secret: "ClientSecret",
|
|
2393
2937
|
# support_code_challenge: false,
|
|
2394
|
-
# scopes: ["
|
|
2938
|
+
# scopes: ["OAuthScope"],
|
|
2395
2939
|
# },
|
|
2396
2940
|
# api_key: {
|
|
2397
2941
|
# api_key_name: "MCPServerAPIKeyConfigApiKeyNameString", # required
|
|
@@ -2415,8 +2959,8 @@ module Aws::DevOpsAgent
|
|
|
2415
2959
|
# group_id: "String",
|
|
2416
2960
|
# },
|
|
2417
2961
|
# mcpserversplunk: {
|
|
2418
|
-
# name: "
|
|
2419
|
-
# endpoint: "
|
|
2962
|
+
# name: "MCPServerName", # required
|
|
2963
|
+
# endpoint: "MCPServerEndpoint", # required
|
|
2420
2964
|
# description: "MCPServerDetailsDescriptionString",
|
|
2421
2965
|
# authorization_config: { # required
|
|
2422
2966
|
# o_auth_client_credentials: {
|
|
@@ -2427,7 +2971,7 @@ module Aws::DevOpsAgent
|
|
|
2427
2971
|
# },
|
|
2428
2972
|
# client_secret: "ClientSecret", # required
|
|
2429
2973
|
# exchange_url: "MCPServerOAuthClientCredentialsConfigExchangeUrlString", # required
|
|
2430
|
-
# scopes: ["
|
|
2974
|
+
# scopes: ["OAuthScope"],
|
|
2431
2975
|
# },
|
|
2432
2976
|
# o_auth_3_lo: {
|
|
2433
2977
|
# client_name: "MCPServerOAuth3LOConfigClientNameString",
|
|
@@ -2440,7 +2984,7 @@ module Aws::DevOpsAgent
|
|
|
2440
2984
|
# exchange_url: "MCPServerOAuth3LOConfigExchangeUrlString", # required
|
|
2441
2985
|
# client_secret: "ClientSecret",
|
|
2442
2986
|
# support_code_challenge: false,
|
|
2443
|
-
# scopes: ["
|
|
2987
|
+
# scopes: ["OAuthScope"],
|
|
2444
2988
|
# },
|
|
2445
2989
|
# api_key: {
|
|
2446
2990
|
# api_key_name: "MCPServerAPIKeyConfigApiKeyNameString", # required
|
|
@@ -2473,8 +3017,8 @@ module Aws::DevOpsAgent
|
|
|
2473
3017
|
# type: "webhook", # accepts webhook
|
|
2474
3018
|
# },
|
|
2475
3019
|
# mcpservergrafana: {
|
|
2476
|
-
# name: "
|
|
2477
|
-
# endpoint: "
|
|
3020
|
+
# name: "MCPServerName", # required
|
|
3021
|
+
# endpoint: "MCPServerEndpoint", # required
|
|
2478
3022
|
# description: "GrafanaServiceDetailsDescriptionString",
|
|
2479
3023
|
# authorization_config: { # required
|
|
2480
3024
|
# o_auth_client_credentials: {
|
|
@@ -2485,7 +3029,7 @@ module Aws::DevOpsAgent
|
|
|
2485
3029
|
# },
|
|
2486
3030
|
# client_secret: "ClientSecret", # required
|
|
2487
3031
|
# exchange_url: "MCPServerOAuthClientCredentialsConfigExchangeUrlString", # required
|
|
2488
|
-
# scopes: ["
|
|
3032
|
+
# scopes: ["OAuthScope"],
|
|
2489
3033
|
# },
|
|
2490
3034
|
# o_auth_3_lo: {
|
|
2491
3035
|
# client_name: "MCPServerOAuth3LOConfigClientNameString",
|
|
@@ -2498,7 +3042,7 @@ module Aws::DevOpsAgent
|
|
|
2498
3042
|
# exchange_url: "MCPServerOAuth3LOConfigExchangeUrlString", # required
|
|
2499
3043
|
# client_secret: "ClientSecret",
|
|
2500
3044
|
# support_code_challenge: false,
|
|
2501
|
-
# scopes: ["
|
|
3045
|
+
# scopes: ["OAuthScope"],
|
|
2502
3046
|
# },
|
|
2503
3047
|
# api_key: {
|
|
2504
3048
|
# api_key_name: "MCPServerAPIKeyConfigApiKeyNameString", # required
|
|
@@ -2535,13 +3079,14 @@ module Aws::DevOpsAgent
|
|
|
2535
3079
|
# web_identity_token_audiences: ["String"], # required
|
|
2536
3080
|
# },
|
|
2537
3081
|
# mcpserversigv4: {
|
|
2538
|
-
# name: "
|
|
2539
|
-
# endpoint: "
|
|
3082
|
+
# name: "MCPServerName", # required
|
|
3083
|
+
# endpoint: "MCPServerEndpoint", # required
|
|
2540
3084
|
# description: "MCPServerSigV4ServiceDetailsDescriptionString",
|
|
2541
3085
|
# authorization_config: { # required
|
|
2542
3086
|
# region: "SigV4Region", # required
|
|
2543
3087
|
# service: "MCPServerSigV4AuthorizationConfigServiceString", # required
|
|
2544
|
-
# role_arn: "
|
|
3088
|
+
# role_arn: "MCPServerSigV4AuthorizationConfigRoleArnString",
|
|
3089
|
+
# mcp_role_arn: "RoleArn",
|
|
2545
3090
|
# custom_headers: {
|
|
2546
3091
|
# "CustomHeaderName" => "CustomHeaderValue",
|
|
2547
3092
|
# },
|
|
@@ -2550,6 +3095,8 @@ module Aws::DevOpsAgent
|
|
|
2550
3095
|
# },
|
|
2551
3096
|
# kms_key_arn: "KmsKeyArn",
|
|
2552
3097
|
# private_connection_name: "PrivateConnectionName",
|
|
3098
|
+
# target_url_private_connection_name: "PrivateConnectionName",
|
|
3099
|
+
# exchange_url_private_connection_name: "PrivateConnectionName",
|
|
2553
3100
|
# name: "ServiceName",
|
|
2554
3101
|
# tags: {
|
|
2555
3102
|
# "TagKey" => "TagValue",
|
|
@@ -2592,6 +3139,9 @@ module Aws::DevOpsAgent
|
|
|
2592
3139
|
# User identifier. This field is deprecated and will be ignored — the
|
|
2593
3140
|
# service resolves user identity from the authenticated session.
|
|
2594
3141
|
#
|
|
3142
|
+
# @option params [Array<String>] :asset_ids
|
|
3143
|
+
# Optional list of asset identifiers to attach to the message
|
|
3144
|
+
#
|
|
2595
3145
|
# @return [Types::SendMessageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2596
3146
|
#
|
|
2597
3147
|
# * {Types::SendMessageResponse#events #events} => Types::SendMessageEvents
|
|
@@ -2761,7 +3311,7 @@ module Aws::DevOpsAgent
|
|
|
2761
3311
|
#
|
|
2762
3312
|
# resp = client.send_message({
|
|
2763
3313
|
# agent_space_id: "AgentSpaceId", # required
|
|
2764
|
-
# execution_id: "
|
|
3314
|
+
# execution_id: "ChatExecutionId", # required
|
|
2765
3315
|
# content: "MessageContent", # required
|
|
2766
3316
|
# context: {
|
|
2767
3317
|
# current_page: "String",
|
|
@@ -2769,6 +3319,7 @@ module Aws::DevOpsAgent
|
|
|
2769
3319
|
# user_action_response: "String",
|
|
2770
3320
|
# },
|
|
2771
3321
|
# user_id: "ResourceId",
|
|
3322
|
+
# asset_ids: ["String"],
|
|
2772
3323
|
# })
|
|
2773
3324
|
#
|
|
2774
3325
|
# @example Response structure
|
|
@@ -2952,6 +3503,145 @@ module Aws::DevOpsAgent
|
|
|
2952
3503
|
req.send_request(options)
|
|
2953
3504
|
end
|
|
2954
3505
|
|
|
3506
|
+
# Updates an asset in the specified agent space
|
|
3507
|
+
#
|
|
3508
|
+
# @option params [required, String] :agent_space_id
|
|
3509
|
+
# The unique identifier for the agent space containing the asset
|
|
3510
|
+
#
|
|
3511
|
+
# @option params [required, String] :asset_id
|
|
3512
|
+
# The unique identifier of the asset to update
|
|
3513
|
+
#
|
|
3514
|
+
# @option params [Hash,Array,String,Numeric,Boolean] :metadata
|
|
3515
|
+
# Metadata fields to update. Only the fields present in this document
|
|
3516
|
+
# are updated. Omitted fields retain their current values.
|
|
3517
|
+
#
|
|
3518
|
+
# Document type used to carry open content
|
|
3519
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
3520
|
+
# serialized using the same format as its surroundings and requires no
|
|
3521
|
+
# additional encoding or escaping.
|
|
3522
|
+
#
|
|
3523
|
+
# @option params [Types::AssetContent] :content
|
|
3524
|
+
# Optional content to set or replace. A single file adds or replaces one
|
|
3525
|
+
# file; a zip replaces all files.
|
|
3526
|
+
#
|
|
3527
|
+
# @option params [String] :client_token
|
|
3528
|
+
# A unique, case-sensitive identifier used for idempotent asset update
|
|
3529
|
+
#
|
|
3530
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3531
|
+
# not need to pass this option.**
|
|
3532
|
+
#
|
|
3533
|
+
# @return [Types::UpdateAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3534
|
+
#
|
|
3535
|
+
# * {Types::UpdateAssetResponse#asset #asset} => Types::Asset
|
|
3536
|
+
#
|
|
3537
|
+
# @example Request syntax with placeholder values
|
|
3538
|
+
#
|
|
3539
|
+
# resp = client.update_asset({
|
|
3540
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
3541
|
+
# asset_id: "ResourceId", # required
|
|
3542
|
+
# metadata: {
|
|
3543
|
+
# },
|
|
3544
|
+
# content: {
|
|
3545
|
+
# file: {
|
|
3546
|
+
# path: "AssetFilePath", # required
|
|
3547
|
+
# body: { # required
|
|
3548
|
+
# bytes: "data",
|
|
3549
|
+
# text: "AssetFileText",
|
|
3550
|
+
# },
|
|
3551
|
+
# metadata: {
|
|
3552
|
+
# },
|
|
3553
|
+
# },
|
|
3554
|
+
# zip: {
|
|
3555
|
+
# zip_file: "data", # required
|
|
3556
|
+
# },
|
|
3557
|
+
# },
|
|
3558
|
+
# client_token: "UpdateAssetRequestClientTokenString",
|
|
3559
|
+
# })
|
|
3560
|
+
#
|
|
3561
|
+
# @example Response structure
|
|
3562
|
+
#
|
|
3563
|
+
# resp.asset.asset_id #=> String
|
|
3564
|
+
# resp.asset.asset_type #=> String
|
|
3565
|
+
# resp.asset.version #=> Integer
|
|
3566
|
+
# resp.asset.created_at #=> Time
|
|
3567
|
+
# resp.asset.updated_at #=> Time
|
|
3568
|
+
#
|
|
3569
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateAsset AWS API Documentation
|
|
3570
|
+
#
|
|
3571
|
+
# @overload update_asset(params = {})
|
|
3572
|
+
# @param [Hash] params ({})
|
|
3573
|
+
def update_asset(params = {}, options = {})
|
|
3574
|
+
req = build_request(:update_asset, params)
|
|
3575
|
+
req.send_request(options)
|
|
3576
|
+
end
|
|
3577
|
+
|
|
3578
|
+
# Updates a file in an asset
|
|
3579
|
+
#
|
|
3580
|
+
# @option params [required, String] :agent_space_id
|
|
3581
|
+
# The unique identifier for the agent space containing the asset
|
|
3582
|
+
#
|
|
3583
|
+
# @option params [required, String] :asset_id
|
|
3584
|
+
# The unique identifier of the asset containing the file
|
|
3585
|
+
#
|
|
3586
|
+
# @option params [required, String] :path
|
|
3587
|
+
# The path of the file within the asset to update
|
|
3588
|
+
#
|
|
3589
|
+
# @option params [Types::AssetFileBody] :content
|
|
3590
|
+
# Updated file content. If omitted, the existing content is unchanged.
|
|
3591
|
+
#
|
|
3592
|
+
# @option params [Hash,Array,String,Numeric,Boolean] :metadata
|
|
3593
|
+
# Metadata fields to update. Only the fields present in this document
|
|
3594
|
+
# are updated. Omitted fields retain their current values.
|
|
3595
|
+
#
|
|
3596
|
+
# Document type used to carry open content
|
|
3597
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
3598
|
+
# serialized using the same format as its surroundings and requires no
|
|
3599
|
+
# additional encoding or escaping.
|
|
3600
|
+
#
|
|
3601
|
+
# @option params [String] :client_token
|
|
3602
|
+
# A unique, case-sensitive identifier used for idempotent asset file
|
|
3603
|
+
# update
|
|
3604
|
+
#
|
|
3605
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3606
|
+
# not need to pass this option.**
|
|
3607
|
+
#
|
|
3608
|
+
# @return [Types::UpdateAssetFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3609
|
+
#
|
|
3610
|
+
# * {Types::UpdateAssetFileResponse#file #file} => Types::AssetFile
|
|
3611
|
+
#
|
|
3612
|
+
# @example Request syntax with placeholder values
|
|
3613
|
+
#
|
|
3614
|
+
# resp = client.update_asset_file({
|
|
3615
|
+
# agent_space_id: "AgentSpaceId", # required
|
|
3616
|
+
# asset_id: "ResourceId", # required
|
|
3617
|
+
# path: "AssetFilePath", # required
|
|
3618
|
+
# content: {
|
|
3619
|
+
# bytes: "data",
|
|
3620
|
+
# text: "AssetFileText",
|
|
3621
|
+
# },
|
|
3622
|
+
# metadata: {
|
|
3623
|
+
# },
|
|
3624
|
+
# client_token: "UpdateAssetFileRequestClientTokenString",
|
|
3625
|
+
# })
|
|
3626
|
+
#
|
|
3627
|
+
# @example Response structure
|
|
3628
|
+
#
|
|
3629
|
+
# resp.file.path #=> String
|
|
3630
|
+
# resp.file.content.bytes #=> String
|
|
3631
|
+
# resp.file.content.text #=> String
|
|
3632
|
+
# resp.file.version #=> Integer
|
|
3633
|
+
# resp.file.created_at #=> Time
|
|
3634
|
+
# resp.file.updated_at #=> Time
|
|
3635
|
+
#
|
|
3636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdateAssetFile AWS API Documentation
|
|
3637
|
+
#
|
|
3638
|
+
# @overload update_asset_file(params = {})
|
|
3639
|
+
# @param [Hash] params ({})
|
|
3640
|
+
def update_asset_file(params = {}, options = {})
|
|
3641
|
+
req = build_request(:update_asset_file, params)
|
|
3642
|
+
req.send_request(options)
|
|
3643
|
+
end
|
|
3644
|
+
|
|
2955
3645
|
# Partially updates the configuration of an existing service association
|
|
2956
3646
|
# for an AgentSpace. Present fields are fully replaced; absent fields
|
|
2957
3647
|
# are left unchanged. Returns 200 OK on success.
|
|
@@ -3151,7 +3841,7 @@ module Aws::DevOpsAgent
|
|
|
3151
3841
|
# resp = client.update_backlog_task({
|
|
3152
3842
|
# agent_space_id: "AgentSpaceId", # required
|
|
3153
3843
|
# 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
|
|
3844
|
+
# task_status: "PENDING_TRIAGE", # accepts PENDING_TRIAGE, LINKED, PENDING_START, IN_PROGRESS, PENDING_CUSTOMER_APPROVAL, COMPLETED, FAILED, TIMED_OUT, CANCELED, SKIPPED
|
|
3155
3845
|
# client_token: "String",
|
|
3156
3846
|
# })
|
|
3157
3847
|
#
|
|
@@ -3169,7 +3859,7 @@ module Aws::DevOpsAgent
|
|
|
3169
3859
|
# resp.task.reference.association_id #=> String
|
|
3170
3860
|
# resp.task.task_type #=> String, one of "INVESTIGATION", "EVALUATION"
|
|
3171
3861
|
# 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"
|
|
3862
|
+
# resp.task.status #=> String, one of "PENDING_TRIAGE", "LINKED", "PENDING_START", "IN_PROGRESS", "PENDING_CUSTOMER_APPROVAL", "COMPLETED", "FAILED", "TIMED_OUT", "CANCELED", "SKIPPED"
|
|
3173
3863
|
# resp.task.created_at #=> Time
|
|
3174
3864
|
# resp.task.updated_at #=> Time
|
|
3175
3865
|
# resp.task.version #=> Integer
|
|
@@ -3303,6 +3993,8 @@ module Aws::DevOpsAgent
|
|
|
3303
3993
|
# * {Types::UpdatePrivateConnectionCertificateOutput#resource_configuration_id #resource_configuration_id} => String
|
|
3304
3994
|
# * {Types::UpdatePrivateConnectionCertificateOutput#status #status} => String
|
|
3305
3995
|
# * {Types::UpdatePrivateConnectionCertificateOutput#certificate_expiry_time #certificate_expiry_time} => Time
|
|
3996
|
+
# * {Types::UpdatePrivateConnectionCertificateOutput#dns_resolution #dns_resolution} => String
|
|
3997
|
+
# * {Types::UpdatePrivateConnectionCertificateOutput#failure_message #failure_message} => String
|
|
3306
3998
|
#
|
|
3307
3999
|
# @example Request syntax with placeholder values
|
|
3308
4000
|
#
|
|
@@ -3321,6 +4013,8 @@ module Aws::DevOpsAgent
|
|
|
3321
4013
|
# resp.resource_configuration_id #=> String
|
|
3322
4014
|
# resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
|
3323
4015
|
# resp.certificate_expiry_time #=> Time
|
|
4016
|
+
# resp.dns_resolution #=> String, one of "PUBLIC", "IN_VPC"
|
|
4017
|
+
# resp.failure_message #=> String
|
|
3324
4018
|
#
|
|
3325
4019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-agent-2026-01-01/UpdatePrivateConnectionCertificate AWS API Documentation
|
|
3326
4020
|
#
|
|
@@ -3436,7 +4130,7 @@ module Aws::DevOpsAgent
|
|
|
3436
4130
|
tracer: tracer
|
|
3437
4131
|
)
|
|
3438
4132
|
context[:gem_name] = 'aws-sdk-devopsagent'
|
|
3439
|
-
context[:gem_version] = '1.
|
|
4133
|
+
context[:gem_version] = '1.8.0'
|
|
3440
4134
|
Seahorse::Client::Request.new(handlers, context)
|
|
3441
4135
|
end
|
|
3442
4136
|
|