aws-sdk-agentregistrycontrol 1.18.0 → 1.19.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.
@@ -144,17 +144,48 @@ module Aws::AgentRegistryControl
144
144
  include Aws::Structure
145
145
  end
146
146
 
147
- # Additional data associated with an agent skills definition descriptor.
147
+ # Additional data associated with an agent skills definition descriptor:
148
+ # the skill's SKILL.md and the source that the registry synchronizes
149
+ # the skill from. A record synchronizes from one source at most, either
150
+ # `skillMd.source` for SKILL.md only or `skillPackage.source` for the
151
+ # full skill package. When the record has a skill package or a
152
+ # synchronized source, the registry sets `skillMd.data` from the
153
+ # SKILL.md in that package or source.
148
154
  #
149
155
  # @!attribute [rw] skill_md
150
156
  # The markdown skill content associated with an agent skills
151
157
  # definition.
152
158
  # @return [Types::AgentSkillsMdDescriptor]
153
159
  #
160
+ # @!attribute [rw] skill_package
161
+ # The source that the registry synchronizes the full skill package
162
+ # from. The registry validates and stores the package, sets
163
+ # `skillMd.data` from its SKILL.md, and returns the package in the
164
+ # `artifact` member of `GetRegistryRecord`. You can't set both this
165
+ # source and `skillMd.source`.
166
+ # @return [Types::AgentSkillsPackageDescriptor]
167
+ #
168
+ # @!attribute [rw] repository_provider
169
+ # The repository provider of the record's skill source. Set it to
170
+ # `GITHUB` when `skillMd.source` or `skillPackage.source` is a GitHub
171
+ # folder URL. The registry treats an `https://` source as a GitHub
172
+ # source only when this member is set. Don't set it for an Amazon S3
173
+ # source.
174
+ # @return [String]
175
+ #
176
+ # @!attribute [rw] source_configuration
177
+ # The provider-specific settings of the record's skill source. For an
178
+ # Amazon S3 source, `s3.bucketOwnerAccountId` specifies the account
179
+ # that owns the source bucket.
180
+ # @return [Types::AgentSkillsSourceConfiguration]
181
+ #
154
182
  # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/AgentSkillsAdditionalData AWS API Documentation
155
183
  #
156
184
  class AgentSkillsAdditionalData < Struct.new(
157
- :skill_md)
185
+ :skill_md,
186
+ :skill_package,
187
+ :repository_provider,
188
+ :source_configuration)
158
189
  SENSITIVE = []
159
190
  include Aws::Structure
160
191
  end
@@ -198,8 +229,12 @@ module Aws::AgentRegistryControl
198
229
  # @return [String]
199
230
  #
200
231
  # @!attribute [rw] source
201
- # The optional source configuration used to synchronize the agent
202
- # skills markdown content.
232
+ # The optional source of the skill's SKILL.md only. The registry
233
+ # synchronizes the SKILL.md from this source into `data`. Specify an
234
+ # `s3://` URL of a SKILL.md object, or a GitHub folder URL together
235
+ # with `repositoryProvider` set to `GITHUB`. The registry rejects a
236
+ # new `https://` URL without `repositoryProvider`, and you can't set
237
+ # both this source and `skillPackage.source`.
203
238
  # @return [Types::DescriptorSource]
204
239
  #
205
240
  # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/AgentSkillsMdDescriptor AWS API Documentation
@@ -212,6 +247,50 @@ module Aws::AgentRegistryControl
212
247
  include Aws::Structure
213
248
  end
214
249
 
250
+ # Descriptor that names the source that the registry synchronizes a full
251
+ # skill package from. It holds only the source. The record's `artifact`
252
+ # member returns the package that the registry reads from this source.
253
+ #
254
+ # @!attribute [rw] source
255
+ # The source of the skill package. Specify an `s3://` URL of a ZIP
256
+ # object, or a GitHub folder URL together with `repositoryProvider`
257
+ # set to `GITHUB`. For a GitHub folder, the registry builds the
258
+ # package from every file in the folder.
259
+ # @return [Types::DescriptorSource]
260
+ #
261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/AgentSkillsPackageDescriptor AWS API Documentation
262
+ #
263
+ class AgentSkillsPackageDescriptor < Struct.new(
264
+ :source)
265
+ SENSITIVE = []
266
+ include Aws::Structure
267
+ end
268
+
269
+ # The provider-specific settings of a skill source. Specify the member
270
+ # that matches the source's provider, such as `s3` for an Amazon S3
271
+ # source.
272
+ #
273
+ # @note AgentSkillsSourceConfiguration is a union - when making an API calls you must set exactly one of the members.
274
+ #
275
+ # @note AgentSkillsSourceConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AgentSkillsSourceConfiguration corresponding to the set member.
276
+ #
277
+ # @!attribute [rw] s3
278
+ # The settings of an Amazon S3 source.
279
+ # @return [Types::S3SourceConfiguration]
280
+ #
281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/AgentSkillsSourceConfiguration AWS API Documentation
282
+ #
283
+ class AgentSkillsSourceConfiguration < Struct.new(
284
+ :s3,
285
+ :unknown)
286
+ SENSITIVE = []
287
+ include Aws::Structure
288
+ include Aws::Structure::Union
289
+
290
+ class S3 < AgentSkillsSourceConfiguration; end
291
+ class Unknown < AgentSkillsSourceConfiguration; end
292
+ end
293
+
215
294
  # Configuration for the registry's record approval workflow. Controls
216
295
  # whether records submitted for approval require manual review before
217
296
  # they become approved and discoverable, or are auto-approved. When no
@@ -232,6 +311,30 @@ module Aws::AgentRegistryControl
232
311
  include Aws::Structure
233
312
  end
234
313
 
314
+ # The authorization that a user must complete before a registry record
315
+ # can synchronize from its source. Only `CreateRegistryRecord` and
316
+ # `UpdateRegistryRecord` return it. `GetRegistryRecord` and
317
+ # `ListRegistryRecords` never do.
318
+ #
319
+ # @note AuthorizationData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AuthorizationData corresponding to the set member.
320
+ #
321
+ # @!attribute [rw] oauth2
322
+ # The OAuth 2.0 authorization that a GitHub user must approve.
323
+ # @return [Types::OAuth2AuthorizationData]
324
+ #
325
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/AuthorizationData AWS API Documentation
326
+ #
327
+ class AuthorizationData < Struct.new(
328
+ :oauth2,
329
+ :unknown)
330
+ SENSITIVE = []
331
+ include Aws::Structure
332
+ include Aws::Structure::Union
333
+
334
+ class Oauth2 < AuthorizationData; end
335
+ class Unknown < AuthorizationData; end
336
+ end
337
+
235
338
  # The authorizer configuration for a registry. Exactly one member is
236
339
  # set.
237
340
  #
@@ -401,6 +504,14 @@ module Aws::AgentRegistryControl
401
504
  # The typed descriptor content for the registry record
402
505
  # @return [Types::Descriptors]
403
506
  #
507
+ # @!attribute [rw] artifact
508
+ # The skill package to store with the record, for a record of type
509
+ # `SKILL` with an `agentSkillsDefinition` descriptor. The registry
510
+ # validates the package after the operation returns and sets
511
+ # `skillMd.data` from the package's SKILL.md. A request that uploads
512
+ # a package can't also set a skill source or send new `skillMd.data`.
513
+ # @return [Types::RegistryRecordArtifactUpload]
514
+ #
404
515
  # @!attribute [rw] record_version
405
516
  # The version of the registry record
406
517
  # @return [String]
@@ -437,6 +548,7 @@ module Aws::AgentRegistryControl
437
548
  :description,
438
549
  :record_type,
439
550
  :descriptors,
551
+ :artifact,
440
552
  :record_version,
441
553
  :client_token,
442
554
  :provenance,
@@ -453,15 +565,28 @@ module Aws::AgentRegistryControl
453
565
  # @return [String]
454
566
  #
455
567
  # @!attribute [rw] status
456
- # The status of the registry record, set to CREATING while the
457
- # asynchronous workflow is in progress
458
- # @return [String]
568
+ # The status of the registry record. `CREATING` means that the
569
+ # asynchronous workflow is in progress. `CREATE_PENDING_AUTH` means
570
+ # that the record waits for a GitHub user to authorize access before
571
+ # it synchronizes from its GitHub source. For the authorization link,
572
+ # see `authorizationData`.
573
+ # @return [String]
574
+ #
575
+ # @!attribute [rw] authorization_data
576
+ # The authorization that a GitHub user must complete before the
577
+ # record's synchronization starts. Present only in this response, and
578
+ # only while the status is `CREATE_PENDING_AUTH`. If the status is
579
+ # `CREATE_PENDING_AUTH` but this member is absent, call
580
+ # `UpdateRegistryRecord` with `triggerSynchronization` to get a new
581
+ # authorization link.
582
+ # @return [Types::AuthorizationData]
459
583
  #
460
584
  # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/CreateRegistryRecordResponse AWS API Documentation
461
585
  #
462
586
  class CreateRegistryRecordResponse < Struct.new(
463
587
  :record_arn,
464
- :status)
588
+ :status,
589
+ :authorization_data)
465
590
  SENSITIVE = []
466
591
  include Aws::Structure
467
592
  end
@@ -739,7 +864,12 @@ module Aws::AgentRegistryControl
739
864
  # configurations for authenticated URL retrieval.
740
865
  #
741
866
  # @!attribute [rw] url
742
- # The URL from which the descriptor content is retrieved.
867
+ # The URL from which the descriptor content is retrieved. For an agent
868
+ # skill source, specify an `s3://` URL of an object in a bucket in the
869
+ # same Amazon Web Services Region as the registry. For a GitHub skill
870
+ # source, specify a GitHub folder URL in the form
871
+ # `https://host/owner/repo/tree/branch-or-tag/path`. Other descriptor
872
+ # sources use `https://` URLs.
743
873
  # @return [String]
744
874
  #
745
875
  # @!attribute [rw] credential_provider_configurations
@@ -892,7 +1022,9 @@ module Aws::AgentRegistryControl
892
1022
  #
893
1023
  # @!attribute [rw] descriptors
894
1024
  # The typed descriptors that define the content of the registry
895
- # record.
1025
+ # record. For a skill record with a skill package or a synchronized
1026
+ # source, `skillMd.data` contains the SKILL.md that the registry took
1027
+ # from the package or the source.
896
1028
  # @return [Types::Descriptors]
897
1029
  #
898
1030
  # @!attribute [rw] record_version
@@ -945,6 +1077,29 @@ module Aws::AgentRegistryControl
945
1077
  # against the latest schema.
946
1078
  # @return [String]
947
1079
  #
1080
+ # @!attribute [rw] artifact
1081
+ # The skill package of the record's latest revision, including a
1082
+ # revision in `DRAFT` or `PENDING_APPROVAL` status, as a download URL
1083
+ # and a SHA-256 checksum. While an update of the record is in progress
1084
+ # or after it fails, this is the last package that passed validation,
1085
+ # unless the update switches between an uploaded package and a
1086
+ # synchronized one: then it is absent until the update succeeds.
1087
+ # Absent while the record is being created or after its creation
1088
+ # fails, and when the record has no package, for example when its
1089
+ # content is inline or it synchronizes only SKILL.md.
1090
+ # @return [Types::RegistryRecordArtifactDownload]
1091
+ #
1092
+ # @!attribute [rw] synchronized_source
1093
+ # The source that the registry last synchronized the record's skill
1094
+ # content from, including when the registry read the source and which
1095
+ # version it read. Absent until the first successful synchronization,
1096
+ # and after an update replaces the synchronized content, for example
1097
+ # with an uploaded package. A failed synchronization leaves this
1098
+ # member unchanged. After you change the source, this member shows the
1099
+ # previous source until the registry successfully synchronizes from
1100
+ # the new source.
1101
+ # @return [Types::RegistryRecordSynchronizedSource]
1102
+ #
948
1103
  # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/GetRegistryRecordResponse AWS API Documentation
949
1104
  #
950
1105
  class GetRegistryRecordResponse < Struct.new(
@@ -965,7 +1120,9 @@ module Aws::AgentRegistryControl
965
1120
  :created_by_auto_detection,
966
1121
  :created_by,
967
1122
  :custom_metadata,
968
- :custom_metadata_schema_compliance_status)
1123
+ :custom_metadata_schema_compliance_status,
1124
+ :artifact,
1125
+ :synchronized_source)
969
1126
  SENSITIVE = [:description, :custom_metadata]
970
1127
  include Aws::Structure
971
1128
  end
@@ -1064,6 +1221,32 @@ module Aws::AgentRegistryControl
1064
1221
  include Aws::Structure
1065
1222
  end
1066
1223
 
1224
+ # A GitHub source that a skill record's content was synchronized from,
1225
+ # and the commit that the registry read.
1226
+ #
1227
+ # @!attribute [rw] url
1228
+ # The source URL that the registry read.
1229
+ # @return [String]
1230
+ #
1231
+ # @!attribute [rw] synchronized_at
1232
+ # The timestamp when the registry read the source.
1233
+ # @return [Time]
1234
+ #
1235
+ # @!attribute [rw] commit_id
1236
+ # The commit that the source's branch or tag pointed to when the
1237
+ # registry read it.
1238
+ # @return [String]
1239
+ #
1240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/GitHubSynchronizedSource AWS API Documentation
1241
+ #
1242
+ class GitHubSynchronizedSource < Struct.new(
1243
+ :url,
1244
+ :synchronized_at,
1245
+ :commit_id)
1246
+ SENSITIVE = [:url]
1247
+ include Aws::Structure
1248
+ end
1249
+
1067
1250
  # A registry record descriptor for the HTTP protocol. This descriptor is
1068
1251
  # source-only: its content is synchronized from the configured source
1069
1252
  # URL rather than supplied inline.
@@ -1323,6 +1506,53 @@ module Aws::AgentRegistryControl
1323
1506
  include Aws::Structure
1324
1507
  end
1325
1508
 
1509
+ # An OAuth 2.0 authorization that waits for a user's approval. The user
1510
+ # opens `authorizationUrl` and approves access on GitHub. Amazon Bedrock
1511
+ # AgentCore Identity then redirects the browser to the source's
1512
+ # `returnUrl`. There, your application completes the authorization by
1513
+ # calling the AgentCore Identity `CompleteResourceTokenAuth` operation
1514
+ # with `userId`. If the source has no `returnUrl`, the user returns to
1515
+ # the Amazon Web Services Agent Registry console, which completes the
1516
+ # authorization. After the authorization completes, the registry
1517
+ # synchronizes the record without another request. If the user doesn't
1518
+ # approve access before `expiresAt`, the record moves to `CREATE_FAILED`
1519
+ # or `UPDATE_FAILED`. To start again, call `UpdateRegistryRecord` with
1520
+ # `triggerSynchronization`.
1521
+ #
1522
+ # @!attribute [rw] authorization_url
1523
+ # The URL that the user opens to approve access. The link is valid for
1524
+ # up to 10 minutes. Treat it as sensitive and give it only to the user
1525
+ # who approves access.
1526
+ # @return [String]
1527
+ #
1528
+ # @!attribute [rw] user_id
1529
+ # The AgentCore Identity user ID that the authorization is for. Store
1530
+ # it with your signed-in user and pass it as `userIdentifier.userId`
1531
+ # when your application calls `CompleteResourceTokenAuth`.
1532
+ # @return [String]
1533
+ #
1534
+ # @!attribute [rw] authorization_attempt_id
1535
+ # The identifier of this authorization attempt.
1536
+ # @return [String]
1537
+ #
1538
+ # @!attribute [rw] expires_at
1539
+ # The timestamp when the authorization link expires, 10 minutes after
1540
+ # the authorization started. A request that joins an authorization in
1541
+ # progress gets less time, and the link might stop working shortly
1542
+ # before this time.
1543
+ # @return [Time]
1544
+ #
1545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/OAuth2AuthorizationData AWS API Documentation
1546
+ #
1547
+ class OAuth2AuthorizationData < Struct.new(
1548
+ :authorization_url,
1549
+ :user_id,
1550
+ :authorization_attempt_id,
1551
+ :expires_at)
1552
+ SENSITIVE = [:authorization_url, :user_id]
1553
+ include Aws::Structure
1554
+ end
1555
+
1326
1556
  # A private network endpoint used to reach a resource over a private
1327
1557
  # path. Exactly one member is set.
1328
1558
  #
@@ -1480,6 +1710,61 @@ module Aws::AgentRegistryControl
1480
1710
  include Aws::Structure
1481
1711
  end
1482
1712
 
1713
+ # The skill package of a registry record, as a short-lived download URL
1714
+ # and the package's SHA-256 checksum. Responses never include the
1715
+ # package bytes.
1716
+ #
1717
+ # @!attribute [rw] sha256
1718
+ # The SHA-256 checksum of the package, as 64 lowercase hexadecimal
1719
+ # characters. The download response carries no signature that you can
1720
+ # check, so compare the checksum of the file that you download with
1721
+ # this value before you use the package.
1722
+ # @return [String]
1723
+ #
1724
+ # @!attribute [rw] download_url
1725
+ # A presigned Amazon S3 URL that downloads the package. The URL is
1726
+ # valid for up to 5 minutes, and the response doesn't include its
1727
+ # expiry time. To get a new URL, call the operation again. Anyone who
1728
+ # has the URL can download the package until it expires, so don't
1729
+ # log, store, or share it.
1730
+ # @return [String]
1731
+ #
1732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/RegistryRecordArtifactDownload AWS API Documentation
1733
+ #
1734
+ class RegistryRecordArtifactDownload < Struct.new(
1735
+ :sha256,
1736
+ :download_url)
1737
+ SENSITIVE = [:download_url]
1738
+ include Aws::Structure
1739
+ end
1740
+
1741
+ # A skill package to upload with a registry record: a ZIP archive of a
1742
+ # skill that follows the Agent Skills specification. The registry
1743
+ # validates the package asynchronously, stores it, and sets
1744
+ # `skillMd.data` from the package's SKILL.md.
1745
+ #
1746
+ # @!attribute [rw] content
1747
+ # The ZIP archive of the skill package, up to 5 MiB (5,242,880 bytes).
1748
+ # In a JSON request, the content is base64-encoded. The Amazon Web
1749
+ # Services SDKs encode it for you.
1750
+ # @return [String]
1751
+ #
1752
+ # @!attribute [rw] sha256
1753
+ # The optional SHA-256 checksum of the ZIP archive, as 64 lowercase
1754
+ # hexadecimal characters, computed over the archive's bytes rather
1755
+ # than its base64 text. If it doesn't match the content, the request
1756
+ # fails with a `ValidationException`.
1757
+ # @return [String]
1758
+ #
1759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/RegistryRecordArtifactUpload AWS API Documentation
1760
+ #
1761
+ class RegistryRecordArtifactUpload < Struct.new(
1762
+ :content,
1763
+ :sha256)
1764
+ SENSITIVE = [:content]
1765
+ include Aws::Structure
1766
+ end
1767
+
1483
1768
  # A credential provider configuration that specifies how to authenticate
1484
1769
  # when fetching descriptor content from a registry record's source URL.
1485
1770
  #
@@ -1552,7 +1837,9 @@ module Aws::AgentRegistryControl
1552
1837
 
1553
1838
  # The configuration for an IAM role credential provider that signs
1554
1839
  # requests to a registry record's source with Amazon Web Services
1555
- # Signature Version 4 (SigV4).
1840
+ # Signature Version 4 (SigV4). For an Amazon S3 skill source (an `s3://`
1841
+ # URL), Amazon Web Services Agent Registry assumes the role to read the
1842
+ # object. The role must be in your Amazon Web Services account.
1556
1843
  #
1557
1844
  # @!attribute [rw] role_arn
1558
1845
  # The Amazon Resource Name (ARN) of the IAM role to assume for request
@@ -1561,12 +1848,14 @@ module Aws::AgentRegistryControl
1561
1848
  #
1562
1849
  # @!attribute [rw] service
1563
1850
  # The service name to use for request signing, such as execute-api.
1851
+ # For an Amazon S3 skill source, omit it or set it to `s3`.
1564
1852
  # @return [String]
1565
1853
  #
1566
1854
  # @!attribute [rw] region
1567
1855
  # The Amazon Web Services Region to use for request signing. If not
1568
1856
  # specified, the Region is derived from the source URL hostname,
1569
- # falling back to the Region of the registry.
1857
+ # falling back to the Region of the registry. For an Amazon S3 skill
1858
+ # source, omit it or set it to the Region of the registry.
1570
1859
  # @return [String]
1571
1860
  #
1572
1861
  # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/RegistryRecordIamCredentialProvider AWS API Documentation
@@ -1588,7 +1877,16 @@ module Aws::AgentRegistryControl
1588
1877
  # @return [String]
1589
1878
  #
1590
1879
  # @!attribute [rw] grant_type
1591
- # The OAuth 2.0 grant type used to obtain access tokens.
1880
+ # The OAuth 2.0 grant type used to obtain access tokens. A GitHub
1881
+ # skill source requires `AUTHORIZATION_CODE`. Other sources, such as
1882
+ # MCP server and A2A agent card sources, use `CLIENT_CREDENTIALS`. A
1883
+ # GitHub source takes exactly one OAuth credential provider, in the
1884
+ # registry's Amazon Web Services account and Region. Only an IAM role
1885
+ # or IAM user in the account that owns the registry can set,
1886
+ # synchronize, or reauthorize it, and the caller needs
1887
+ # `bedrock-agentcore:GetWorkloadAccessTokenForUserId` and
1888
+ # `bedrock-agentcore:GetResourceOauth2Token` on the registry's
1889
+ # workload identity, `registry-` followed by the registry ID.
1592
1890
  # @return [String]
1593
1891
  #
1594
1892
  # @!attribute [rw] scopes
@@ -1599,14 +1897,28 @@ module Aws::AgentRegistryControl
1599
1897
  # Additional parameters to include in the OAuth 2.0 token request.
1600
1898
  # @return [Hash<String,String>]
1601
1899
  #
1900
+ # @!attribute [rw] return_url
1901
+ # The URL that the user's browser returns to after the user approves
1902
+ # access on GitHub, for the `AUTHORIZATION_CODE` grant. There, your
1903
+ # application completes the authorization by calling the Amazon
1904
+ # Bedrock AgentCore Identity `CompleteResourceTokenAuth` operation
1905
+ # with the `userId` from `authorizationData`. If you omit it, the user
1906
+ # returns to the Amazon Web Services Agent Registry console, which
1907
+ # completes the authorization when the user is signed in as the IAM
1908
+ # principal that made the request. A request that joins an
1909
+ # authorization already in progress uses the return URL of the request
1910
+ # that started it.
1911
+ # @return [String]
1912
+ #
1602
1913
  # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/RegistryRecordOAuthCredentialProvider AWS API Documentation
1603
1914
  #
1604
1915
  class RegistryRecordOAuthCredentialProvider < Struct.new(
1605
1916
  :provider_arn,
1606
1917
  :grant_type,
1607
1918
  :scopes,
1608
- :custom_parameters)
1609
- SENSITIVE = []
1919
+ :custom_parameters,
1920
+ :return_url)
1921
+ SENSITIVE = [:custom_parameters]
1610
1922
  include Aws::Structure
1611
1923
  end
1612
1924
 
@@ -1705,6 +2017,34 @@ module Aws::AgentRegistryControl
1705
2017
  include Aws::Structure
1706
2018
  end
1707
2019
 
2020
+ # The source that a skill record's content was last synchronized from.
2021
+ # Exactly one member is set, for the source's provider.
2022
+ #
2023
+ # @note RegistryRecordSynchronizedSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RegistryRecordSynchronizedSource corresponding to the set member.
2024
+ #
2025
+ # @!attribute [rw] s3
2026
+ # The Amazon S3 source that the registry read.
2027
+ # @return [Types::S3SynchronizedSource]
2028
+ #
2029
+ # @!attribute [rw] git_hub
2030
+ # The GitHub source that the registry read.
2031
+ # @return [Types::GitHubSynchronizedSource]
2032
+ #
2033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/RegistryRecordSynchronizedSource AWS API Documentation
2034
+ #
2035
+ class RegistryRecordSynchronizedSource < Struct.new(
2036
+ :s3,
2037
+ :git_hub,
2038
+ :unknown)
2039
+ SENSITIVE = []
2040
+ include Aws::Structure
2041
+ include Aws::Structure::Union
2042
+
2043
+ class S3 < RegistryRecordSynchronizedSource; end
2044
+ class GitHub < RegistryRecordSynchronizedSource; end
2045
+ class Unknown < RegistryRecordSynchronizedSource; end
2046
+ end
2047
+
1708
2048
  # Registry summary for list operations
1709
2049
  #
1710
2050
  # @!attribute [rw] name
@@ -1780,6 +2120,61 @@ module Aws::AgentRegistryControl
1780
2120
  include Aws::Structure
1781
2121
  end
1782
2122
 
2123
+ # The settings of a source that the registry reads from Amazon S3.
2124
+ #
2125
+ # @!attribute [rw] bucket_owner_account_id
2126
+ # The ID of the Amazon Web Services account that owns the source
2127
+ # bucket. The registry checks that the bucket belongs to this account
2128
+ # each time it reads the source. If you omit it for a source that uses
2129
+ # an IAM role, the registry expects the bucket to be in the role's
2130
+ # account. If you omit it for a source that has no credential
2131
+ # provider, which the registry reads as a public object, the request
2132
+ # fails with a `ValidationException`.
2133
+ # @return [String]
2134
+ #
2135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/S3SourceConfiguration AWS API Documentation
2136
+ #
2137
+ class S3SourceConfiguration < Struct.new(
2138
+ :bucket_owner_account_id)
2139
+ SENSITIVE = []
2140
+ include Aws::Structure
2141
+ end
2142
+
2143
+ # An Amazon S3 source that a skill record's content was synchronized
2144
+ # from, and the object version that the registry read. At most one of
2145
+ # `versionId` and `eTag` is set.
2146
+ #
2147
+ # @!attribute [rw] url
2148
+ # The source URL that the registry read.
2149
+ # @return [String]
2150
+ #
2151
+ # @!attribute [rw] synchronized_at
2152
+ # The timestamp when the registry read the source.
2153
+ # @return [Time]
2154
+ #
2155
+ # @!attribute [rw] version_id
2156
+ # The version ID of the object that the registry read. Absent when the
2157
+ # bucket isn't versioned.
2158
+ # @return [String]
2159
+ #
2160
+ # @!attribute [rw] e_tag
2161
+ # The entity tag (ETag) of the object that the registry read, without
2162
+ # quotes, when the object has no version ID. Not recorded for a
2163
+ # SKILL.md source on a registry that is encrypted with a customer
2164
+ # managed key.
2165
+ # @return [String]
2166
+ #
2167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/S3SynchronizedSource AWS API Documentation
2168
+ #
2169
+ class S3SynchronizedSource < Struct.new(
2170
+ :url,
2171
+ :synchronized_at,
2172
+ :version_id,
2173
+ :e_tag)
2174
+ SENSITIVE = [:url]
2175
+ include Aws::Structure
2176
+ end
2177
+
1783
2178
  # A self-managed private endpoint backed by a VPC Lattice resource
1784
2179
  # configuration. Exactly one member is set.
1785
2180
  #
@@ -1998,6 +2393,16 @@ module Aws::AgentRegistryControl
1998
2393
  # to leave the descriptors unchanged.
1999
2394
  # @return [Types::UpdatedDescriptors]
2000
2395
  #
2396
+ # @!attribute [rw] artifact
2397
+ # The change to the record's uploaded skill package. Omit it to keep
2398
+ # the current package, specify an empty object to remove an uploaded
2399
+ # package, or specify `optionalValue` to upload a new package. An
2400
+ # empty object doesn't remove a package that the record synchronizes
2401
+ # from a source. To stop that synchronization, remove `skillPackage`.
2402
+ # A request that changes `skillMd.data` replaces the record's package
2403
+ # with that text, even if you omit this member.
2404
+ # @return [Types::UpdatedRegistryRecordArtifact]
2405
+ #
2001
2406
  # @!attribute [rw] record_version
2002
2407
  # The updated version of the registry record. Omit to leave the
2003
2408
  # version unchanged.
@@ -2012,8 +2417,24 @@ module Aws::AgentRegistryControl
2012
2417
  # @return [Types::UpdatedCustomMetadataMap]
2013
2418
  #
2014
2419
  # @!attribute [rw] trigger_synchronization
2015
- # Whether to trigger synchronization of the record's descriptor
2016
- # content from its source
2420
+ # Specifies whether to synchronize the record's descriptor content
2421
+ # from its source. For a skill record, the registry reads the stored
2422
+ # `skillMd.source` or `skillPackage.source` again, because it doesn't
2423
+ # watch the source for changes. For a GitHub source, the operation
2424
+ # also returns a new authorization link when one is needed. An update
2425
+ # that sets a different skill source starts a synchronization even if
2426
+ # you omit this member.
2427
+ # @return [Boolean]
2428
+ #
2429
+ # @!attribute [rw] force_authentication
2430
+ # Specifies whether to ask a GitHub user to authorize access again,
2431
+ # even when the current authorization still works, for example to use
2432
+ # a different GitHub account. You can use it only together with
2433
+ # `triggerSynchronization`, for a GitHub source whose credential
2434
+ # provider uses the `AUTHORIZATION_CODE` grant. The new authorization
2435
+ # also replaces the one that the same IAM principal's other records
2436
+ # in the registry use for the same host, credential provider, scopes,
2437
+ # and custom parameters.
2017
2438
  # @return [Boolean]
2018
2439
  #
2019
2440
  # @!attribute [rw] provenance
@@ -2035,9 +2456,11 @@ module Aws::AgentRegistryControl
2035
2456
  :description,
2036
2457
  :record_type,
2037
2458
  :descriptors,
2459
+ :artifact,
2038
2460
  :record_version,
2039
2461
  :custom_metadata,
2040
2462
  :trigger_synchronization,
2463
+ :force_authentication,
2041
2464
  :provenance)
2042
2465
  SENSITIVE = []
2043
2466
  include Aws::Structure
@@ -2085,7 +2508,10 @@ module Aws::AgentRegistryControl
2085
2508
  # @return [String]
2086
2509
  #
2087
2510
  # @!attribute [rw] status
2088
- # The lifecycle status of the registry record.
2511
+ # The lifecycle status of the registry record. `UPDATE_PENDING_AUTH`
2512
+ # means that the update waits for a GitHub user to authorize access
2513
+ # before the record synchronizes from its GitHub source. For the
2514
+ # authorization link, see `authorizationData`.
2089
2515
  # @return [String]
2090
2516
  #
2091
2517
  # @!attribute [rw] created_at
@@ -2130,6 +2556,15 @@ module Aws::AgentRegistryControl
2130
2556
  # against the latest schema.
2131
2557
  # @return [String]
2132
2558
  #
2559
+ # @!attribute [rw] authorization_data
2560
+ # The authorization that a GitHub user must complete before the
2561
+ # record's synchronization starts. Present only in this response, and
2562
+ # only while the status is `UPDATE_PENDING_AUTH`. If the status is
2563
+ # `UPDATE_PENDING_AUTH` but this member is absent, call
2564
+ # `UpdateRegistryRecord` again with `triggerSynchronization` to get a
2565
+ # new authorization link.
2566
+ # @return [Types::AuthorizationData]
2567
+ #
2133
2568
  # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/UpdateRegistryRecordResponse AWS API Documentation
2134
2569
  #
2135
2570
  class UpdateRegistryRecordResponse < Struct.new(
@@ -2150,7 +2585,8 @@ module Aws::AgentRegistryControl
2150
2585
  :created_by_auto_detection,
2151
2586
  :created_by,
2152
2587
  :custom_metadata,
2153
- :custom_metadata_schema_compliance_status)
2588
+ :custom_metadata_schema_compliance_status,
2589
+ :authorization_data)
2154
2590
  SENSITIVE = [:description, :custom_metadata]
2155
2591
  include Aws::Structure
2156
2592
  end
@@ -2453,10 +2889,25 @@ module Aws::AgentRegistryControl
2453
2889
  # The patch for the agent skills markdown descriptor field.
2454
2890
  # @return [Types::UpdatedAgentSkillsMdDescriptor]
2455
2891
  #
2892
+ # @!attribute [rw] skill_package
2893
+ # The patch for the skill package source field.
2894
+ # @return [Types::UpdatedAgentSkillsPackageDescriptor]
2895
+ #
2896
+ # @!attribute [rw] repository_provider
2897
+ # The patch for the repository provider field.
2898
+ # @return [Types::UpdatedAgentSkillsRepositoryProvider]
2899
+ #
2900
+ # @!attribute [rw] source_configuration
2901
+ # The patch for the source configuration field.
2902
+ # @return [Types::UpdatedAgentSkillsSourceConfiguration]
2903
+ #
2456
2904
  # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/UpdatedAgentSkillsAdditionalDataFields AWS API Documentation
2457
2905
  #
2458
2906
  class UpdatedAgentSkillsAdditionalDataFields < Struct.new(
2459
- :skill_md)
2907
+ :skill_md,
2908
+ :skill_package,
2909
+ :repository_provider,
2910
+ :source_configuration)
2460
2911
  SENSITIVE = []
2461
2912
  include Aws::Structure
2462
2913
  end
@@ -2545,6 +2996,61 @@ module Aws::AgentRegistryControl
2545
2996
  include Aws::Structure
2546
2997
  end
2547
2998
 
2999
+ # The skill package source patch wrapper. Omit to leave the source
3000
+ # unchanged; supply an empty object to remove it and stop synchronizing
3001
+ # the package; supply optionalValue to replace it.
3002
+ #
3003
+ # @!attribute [rw] optional_value
3004
+ # The value to set for this field. Omit the wrapper to leave the field
3005
+ # unchanged.
3006
+ # @return [Types::AgentSkillsPackageDescriptor]
3007
+ #
3008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/UpdatedAgentSkillsPackageDescriptor AWS API Documentation
3009
+ #
3010
+ class UpdatedAgentSkillsPackageDescriptor < Struct.new(
3011
+ :optional_value)
3012
+ SENSITIVE = []
3013
+ include Aws::Structure
3014
+ end
3015
+
3016
+ # The repository provider patch wrapper. Omit to leave the repository
3017
+ # provider unchanged; supply an empty object to remove it; supply
3018
+ # optionalValue to set it. When you remove it, also remove or replace
3019
+ # the GitHub source in the same request.
3020
+ #
3021
+ # @!attribute [rw] optional_value
3022
+ # The value to set for this field. Omit the wrapper to leave the field
3023
+ # unchanged.
3024
+ # @return [String]
3025
+ #
3026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/UpdatedAgentSkillsRepositoryProvider AWS API Documentation
3027
+ #
3028
+ class UpdatedAgentSkillsRepositoryProvider < Struct.new(
3029
+ :optional_value)
3030
+ SENSITIVE = []
3031
+ include Aws::Structure
3032
+ end
3033
+
3034
+ # The source configuration patch wrapper. Omit to leave the
3035
+ # configuration unchanged; supply an empty object to remove it; supply
3036
+ # optionalValue to replace it. When you move an Amazon S3 source to
3037
+ # another bucket, the record keeps its configuration. In the same
3038
+ # request, specify the new bucket's owner, or specify an empty object
3039
+ # so that the registry expects the bucket in the role's account.
3040
+ #
3041
+ # @!attribute [rw] optional_value
3042
+ # The value to set for this field. Omit the wrapper to leave the field
3043
+ # unchanged.
3044
+ # @return [Types::AgentSkillsSourceConfiguration]
3045
+ #
3046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/UpdatedAgentSkillsSourceConfiguration AWS API Documentation
3047
+ #
3048
+ class UpdatedAgentSkillsSourceConfiguration < Struct.new(
3049
+ :optional_value)
3050
+ SENSITIVE = []
3051
+ include Aws::Structure
3052
+ end
3053
+
2548
3054
  # A wrapper for updating the approval configuration of a registry.
2549
3055
  # Include this wrapper to replace the approval configuration with the
2550
3056
  # specified value; omit it to leave the approval configuration
@@ -2964,6 +3470,23 @@ module Aws::AgentRegistryControl
2964
3470
  include Aws::Structure
2965
3471
  end
2966
3472
 
3473
+ # The skill package patch wrapper. Omit to leave the package unchanged;
3474
+ # supply an empty object to remove an uploaded package; supply
3475
+ # optionalValue to upload a new package.
3476
+ #
3477
+ # @!attribute [rw] optional_value
3478
+ # The skill package to upload. It replaces the record's current
3479
+ # package or its synchronized content.
3480
+ # @return [Types::RegistryRecordArtifactUpload]
3481
+ #
3482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/UpdatedRegistryRecordArtifact AWS API Documentation
3483
+ #
3484
+ class UpdatedRegistryRecordArtifact < Struct.new(
3485
+ :optional_value)
3486
+ SENSITIVE = []
3487
+ include Aws::Structure
3488
+ end
3489
+
2967
3490
  # The request failed validation of one or more input fields.
2968
3491
  #
2969
3492
  # @!attribute [rw] message