aws-sdk-devopsagent 1.10.0 → 1.12.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.
data/sig/params.rbs CHANGED
@@ -8,6 +8,15 @@
8
8
  module Aws
9
9
  module DevOpsAgent
10
10
  module Params
11
+ type source_aws_configuration = {
12
+ account_id: ::String,
13
+ account_type: ("source"),
14
+ assumable_role_arn: ::String,
15
+ external_id: ::String?,
16
+ agent_elevated_role_arn: ::String?,
17
+ agent_elevated_role_arn_status: ("valid" | "invalid" | "pending-confirmation")?
18
+ }
19
+
11
20
  type git_hub_configuration = {
12
21
  repo_name: ::String,
13
22
  repo_id: ::String,
@@ -34,17 +43,26 @@ module Aws
34
43
  transmission_target: Params::slack_transmission_target
35
44
  }
36
45
 
46
+ type mcp_server_grafana_configuration = {
47
+ endpoint: ::String,
48
+ organization_id: ::String?,
49
+ tools: Array[::String]?,
50
+ enabled_elevated_tools: Array[
51
+ {
52
+ name: ::String,
53
+ tool_classification: ("READ_ONLY" | "MUTATIVE" | "DESTRUCTIVE")?
54
+ }
55
+ ]?
56
+ }
57
+
37
58
  type service_configuration = {
38
- source_aws: {
39
- account_id: ::String,
40
- account_type: ("source"),
41
- assumable_role_arn: ::String,
42
- external_id: ::String?
43
- }?,
59
+ source_aws: Params::source_aws_configuration?,
44
60
  aws: {
45
61
  assumable_role_arn: ::String,
46
62
  account_id: ::String,
47
- account_type: ("monitor")
63
+ account_type: ("monitor"),
64
+ agent_elevated_role_arn: ::String?,
65
+ agent_elevated_role_arn_status: ("valid" | "invalid" | "pending-confirmation")?
48
66
  }?,
49
67
  github: Params::git_hub_configuration?,
50
68
  slack: Params::slack_configuration?,
@@ -61,9 +79,21 @@ module Aws
61
79
  endpoint: ::String
62
80
  }?,
63
81
  mcpserverdatadog: {
82
+ enabled_elevated_tools: Array[
83
+ {
84
+ name: ::String,
85
+ tool_classification: ("READ_ONLY" | "MUTATIVE" | "DESTRUCTIVE")?
86
+ }
87
+ ]?
64
88
  }?,
65
89
  mcpserver: {
66
- tools: Array[::String]
90
+ tools: Array[::String],
91
+ tool_details: Array[
92
+ {
93
+ name: ::String,
94
+ tool_classification: ("READ_ONLY" | "MUTATIVE" | "DESTRUCTIVE")?
95
+ }
96
+ ]?
67
97
  }?,
68
98
  gitlab: {
69
99
  project_id: ::String,
@@ -83,17 +113,19 @@ module Aws
83
113
  project_id: ::String,
84
114
  project_name: ::String
85
115
  }?,
86
- mcpservergrafana: {
87
- endpoint: ::String,
88
- organization_id: ::String?,
89
- tools: Array[::String]?
90
- }?,
116
+ mcpservergrafana: Params::mcp_server_grafana_configuration?,
91
117
  pagerduty: {
92
118
  services: Array[::String],
93
119
  customer_email: ::String
94
120
  }?,
95
121
  mcpserversigv4: {
96
- tools: Array[::String]
122
+ tools: Array[::String],
123
+ tool_details: Array[
124
+ {
125
+ name: ::String,
126
+ tool_classification: ("READ_ONLY" | "MUTATIVE" | "DESTRUCTIVE")?
127
+ }
128
+ ]?
97
129
  }?,
98
130
  remoteagent: {
99
131
  }?,
data/sig/types.rbs CHANGED
@@ -12,6 +12,8 @@ module Aws::DevOpsAgent
12
12
  attr_accessor assumable_role_arn: ::String
13
13
  attr_accessor account_id: ::String
14
14
  attr_accessor account_type: ("monitor")
15
+ attr_accessor agent_elevated_role_arn: ::String
16
+ attr_accessor agent_elevated_role_arn_status: ("valid" | "invalid" | "pending-confirmation")
15
17
  SENSITIVE: []
16
18
  end
17
19
 
@@ -92,9 +94,25 @@ module Aws::DevOpsAgent
92
94
  attr_accessor updated_at: ::Time
93
95
  attr_accessor kms_key_arn: ::String
94
96
  attr_accessor agent_space_id: ::String
97
+ attr_accessor preferences: ::Hash[("elevatedActionsEnabled"), bool]
95
98
  SENSITIVE: [:description]
96
99
  end
97
100
 
101
+ class ApprovalAction
102
+ attr_accessor tool_use_id: ::String
103
+ attr_accessor interrupt_id: ::String
104
+ attr_accessor approval_id: ::String
105
+ attr_accessor button_text: ::String
106
+ attr_accessor action: ("APPROVED" | "REJECTED")
107
+ SENSITIVE: []
108
+ end
109
+
110
+ class ApprovalPattern
111
+ attr_accessor tool: ::String
112
+ attr_accessor argument_pins: ::Hash[::String, ::String]
113
+ SENSITIVE: []
114
+ end
115
+
98
116
  class Asset
99
117
  attr_accessor asset_id: ::String
100
118
  attr_accessor asset_type: ::String
@@ -267,6 +285,7 @@ module Aws::DevOpsAgent
267
285
  attr_accessor kms_key_arn: ::String
268
286
  attr_accessor client_token: ::String
269
287
  attr_accessor tags: ::Hash[::String, ::String]
288
+ attr_accessor preferences: ::Hash[("elevatedActionsEnabled"), bool]
270
289
  SENSITIVE: [:description]
271
290
  end
272
291
 
@@ -547,7 +566,7 @@ module Aws::DevOpsAgent
547
566
  attr_accessor agent_sub_task: ::String
548
567
  attr_accessor created_at: ::Time
549
568
  attr_accessor updated_at: ::Time
550
- attr_accessor execution_status: ("FAILED" | "RUNNING" | "STOPPED" | "CANCELED" | "TIMED_OUT")
569
+ attr_accessor execution_status: ("FAILED" | "RUNNING" | "STOPPED" | "CANCELED" | "TIMED_OUT" | "WAITING")
551
570
  attr_accessor agent_type: ::String
552
571
  attr_accessor uid: ::String
553
572
  SENSITIVE: []
@@ -1103,10 +1122,13 @@ module Aws::DevOpsAgent
1103
1122
 
1104
1123
  class MCPServerConfiguration
1105
1124
  attr_accessor tools: ::Array[::String]
1125
+ attr_accessor tool_details: ::Array[Types::MCPToolDetail]
1106
1126
  SENSITIVE: []
1107
1127
  end
1108
1128
 
1109
- class MCPServerDatadogConfiguration < Aws::EmptyStructure
1129
+ class MCPServerDatadogConfiguration
1130
+ attr_accessor enabled_elevated_tools: ::Array[Types::MCPToolDetail]
1131
+ SENSITIVE: []
1110
1132
  end
1111
1133
 
1112
1134
  class MCPServerDetails
@@ -1121,6 +1143,7 @@ module Aws::DevOpsAgent
1121
1143
  attr_accessor endpoint: ::String
1122
1144
  attr_accessor organization_id: ::String
1123
1145
  attr_accessor tools: ::Array[::String]
1146
+ attr_accessor enabled_elevated_tools: ::Array[Types::MCPToolDetail]
1124
1147
  SENSITIVE: []
1125
1148
  end
1126
1149
 
@@ -1164,6 +1187,7 @@ module Aws::DevOpsAgent
1164
1187
 
1165
1188
  class MCPServerSigV4Configuration
1166
1189
  attr_accessor tools: ::Array[::String]
1190
+ attr_accessor tool_details: ::Array[Types::MCPToolDetail]
1167
1191
  SENSITIVE: []
1168
1192
  end
1169
1193
 
@@ -1178,6 +1202,12 @@ module Aws::DevOpsAgent
1178
1202
  class MCPServerSplunkConfiguration < Aws::EmptyStructure
1179
1203
  end
1180
1204
 
1205
+ class MCPToolDetail
1206
+ attr_accessor name: ::String
1207
+ attr_accessor tool_classification: ("READ_ONLY" | "MUTATIVE" | "DESTRUCTIVE")
1208
+ SENSITIVE: []
1209
+ end
1210
+
1181
1211
  class Message
1182
1212
  attr_accessor user_message: ::Array[Types::UserMessageBlock]
1183
1213
  attr_accessor assistant_message: ::Array[Types::AssistantMessageBlock]
@@ -1195,7 +1225,7 @@ module Aws::DevOpsAgent
1195
1225
  class NewRelicApiKeyConfig
1196
1226
  attr_accessor api_key: ::String
1197
1227
  attr_accessor account_id: ::String
1198
- attr_accessor region: ("US" | "EU")
1228
+ attr_accessor region: ("US" | "EU" | "JP")
1199
1229
  attr_accessor application_ids: ::Array[::String]
1200
1230
  attr_accessor entity_guids: ::Array[::String]
1201
1231
  attr_accessor alert_policy_ids: ::Array[::String]
@@ -1407,7 +1437,7 @@ module Aws::DevOpsAgent
1407
1437
 
1408
1438
  class RegisteredNewRelicDetails
1409
1439
  attr_accessor account_id: ::String
1410
- attr_accessor region: ("US" | "EU")
1440
+ attr_accessor region: ("US" | "EU" | "JP")
1411
1441
  attr_accessor description: ::String
1412
1442
  SENSITIVE: [:description]
1413
1443
  end
@@ -1444,6 +1474,8 @@ module Aws::DevOpsAgent
1444
1474
  attr_accessor additional_service_details: Types::AdditionalServiceDetails
1445
1475
  attr_accessor kms_key_arn: ::String
1446
1476
  attr_accessor private_connection_name: ::String
1477
+ attr_accessor created_at: ::Time
1478
+ attr_accessor updated_at: ::Time
1447
1479
  SENSITIVE: []
1448
1480
  end
1449
1481
 
@@ -1590,6 +1622,7 @@ module Aws::DevOpsAgent
1590
1622
  attr_accessor current_page: ::String
1591
1623
  attr_accessor last_message: ::String
1592
1624
  attr_accessor user_action_response: ::String
1625
+ attr_accessor approval_action: Types::ApprovalAction
1593
1626
  SENSITIVE: []
1594
1627
  end
1595
1628
 
@@ -1610,6 +1643,7 @@ module Aws::DevOpsAgent
1610
1643
  attr_accessor context: Types::SendMessageContext
1611
1644
  attr_accessor user_id: ::String
1612
1645
  attr_accessor asset_ids: ::Array[::String]
1646
+ attr_accessor model_tier: ::String
1613
1647
  SENSITIVE: []
1614
1648
  end
1615
1649
 
@@ -1856,6 +1890,8 @@ module Aws::DevOpsAgent
1856
1890
  attr_accessor account_type: ("source")
1857
1891
  attr_accessor assumable_role_arn: ::String
1858
1892
  attr_accessor external_id: ::String
1893
+ attr_accessor agent_elevated_role_arn: ::String
1894
+ attr_accessor agent_elevated_role_arn_status: ("valid" | "invalid" | "pending-confirmation")
1859
1895
  SENSITIVE: []
1860
1896
  end
1861
1897
 
@@ -1877,7 +1913,7 @@ module Aws::DevOpsAgent
1877
1913
  attr_accessor reference: Types::ReferenceOutput
1878
1914
  attr_accessor task_type: ("INVESTIGATION" | "EVALUATION" | "RELEASE_READINESS_REVIEW" | "RELEASE_TESTING")
1879
1915
  attr_accessor priority: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "MINIMAL")
1880
- attr_accessor status: ("PENDING_TRIAGE" | "LINKED" | "PENDING_START" | "IN_PROGRESS" | "PENDING_CUSTOMER_APPROVAL" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "CANCELED" | "SKIPPED")
1916
+ attr_accessor status: ("PENDING_TRIAGE" | "LINKED" | "PENDING_START" | "IN_PROGRESS" | "PENDING_CUSTOMER_APPROVAL" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "CANCELED" | "SKIPPED" | "WAITING")
1881
1917
  attr_accessor created_at: ::Time
1882
1918
  attr_accessor updated_at: ::Time
1883
1919
  attr_accessor version: ::Integer
@@ -1893,7 +1929,7 @@ module Aws::DevOpsAgent
1893
1929
  attr_accessor created_after: ::Time
1894
1930
  attr_accessor created_before: ::Time
1895
1931
  attr_accessor priority: ::Array[("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "MINIMAL")]
1896
- attr_accessor status: ::Array[("PENDING_TRIAGE" | "LINKED" | "PENDING_START" | "IN_PROGRESS" | "PENDING_CUSTOMER_APPROVAL" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "CANCELED" | "SKIPPED")]
1932
+ attr_accessor status: ::Array[("PENDING_TRIAGE" | "LINKED" | "PENDING_START" | "IN_PROGRESS" | "PENDING_CUSTOMER_APPROVAL" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "CANCELED" | "SKIPPED" | "WAITING")]
1897
1933
  attr_accessor task_type: ::Array[("INVESTIGATION" | "EVALUATION" | "RELEASE_READINESS_REVIEW" | "RELEASE_TESTING")]
1898
1934
  attr_accessor primary_task_id: ::String
1899
1935
  SENSITIVE: []
@@ -1941,6 +1977,7 @@ module Aws::DevOpsAgent
1941
1977
  attr_accessor name: ::String
1942
1978
  attr_accessor description: ::String
1943
1979
  attr_accessor locale: ::String
1980
+ attr_accessor preferences: ::Hash[("elevatedActionsEnabled"), bool]
1944
1981
  SENSITIVE: [:description]
1945
1982
  end
1946
1983
 
@@ -1949,6 +1986,24 @@ module Aws::DevOpsAgent
1949
1986
  SENSITIVE: []
1950
1987
  end
1951
1988
 
1989
+ class UpdateApprovalActionRequest
1990
+ attr_accessor agent_space_id: ::String
1991
+ attr_accessor approval_id: ::String
1992
+ attr_accessor action: ("APPROVED" | "REJECTED")
1993
+ attr_accessor final_pattern: Types::ApprovalPattern
1994
+ attr_accessor reason: ::String
1995
+ attr_accessor ttl_seconds: ::Integer
1996
+ attr_accessor single_use: bool
1997
+ SENSITIVE: []
1998
+ end
1999
+
2000
+ class UpdateApprovalActionResponse
2001
+ attr_accessor approval_id: ::String
2002
+ attr_accessor status: ("PENDING" | "APPROVED" | "REJECTED" | "REVOKED" | "REDEEMED")
2003
+ attr_accessor expires_at: ::Time
2004
+ SENSITIVE: []
2005
+ end
2006
+
1952
2007
  class UpdateAssetFileRequest
1953
2008
  attr_accessor agent_space_id: ::String
1954
2009
  attr_accessor asset_id: ::String
@@ -1995,7 +2050,7 @@ module Aws::DevOpsAgent
1995
2050
  class UpdateBacklogTaskRequest
1996
2051
  attr_accessor agent_space_id: ::String
1997
2052
  attr_accessor task_id: ::String
1998
- attr_accessor task_status: ("PENDING_TRIAGE" | "LINKED" | "PENDING_START" | "IN_PROGRESS" | "PENDING_CUSTOMER_APPROVAL" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "CANCELED" | "SKIPPED")
2053
+ attr_accessor task_status: ("PENDING_TRIAGE" | "LINKED" | "PENDING_START" | "IN_PROGRESS" | "PENDING_CUSTOMER_APPROVAL" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "CANCELED" | "SKIPPED" | "WAITING")
1999
2054
  attr_accessor client_token: ::String
2000
2055
  SENSITIVE: []
2001
2056
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-devopsagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.248.0
21
+ version: 3.254.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.248.0
31
+ version: 3.254.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement