@aws-sdk/client-agent-registry-control 3.1171.0 → 3.1173.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.
@@ -1,7 +1,7 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AgentCoreGatewayProtocolType, AgentCoreRuntimeServerProtocol, AutoApprovalRule, AutoDetectionScope, AutoDetectionStatus, ClaimMatchOperatorType, CustomMetadataSchemaComplianceStatus, EndpointIpAddressType, InboundTokenClaimValueType, ProvenanceRelation, RecordType, RegistryAuthorizerType, RegistryFilterName, RegistryRecordCredentialProviderType, RegistryRecordFilterName, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus, SourceType } from "./enums";
2
+ import type { AgentCoreGatewayProtocolType, AgentCoreRuntimeServerProtocol, AgentSkillsRepositoryProvider, AutoApprovalRule, AutoDetectionScope, AutoDetectionStatus, ClaimMatchOperatorType, CustomMetadataSchemaComplianceStatus, EndpointIpAddressType, InboundTokenClaimValueType, ProvenanceRelation, RecordType, RegistryAuthorizerType, RegistryFilterName, RegistryRecordCredentialProviderType, RegistryRecordFilterName, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus, SourceType } from "./enums";
3
3
  /**
4
- * <p>The configuration for an IAM role credential provider that signs requests to a registry record's source with Amazon Web Services Signature Version 4 (SigV4).</p>
4
+ * <p>The configuration for an IAM role credential provider that signs requests to a registry record's source with Amazon Web Services Signature Version 4 (SigV4). For an Amazon S3 skill source (an <code>s3://</code> URL), Amazon Web Services Agent Registry assumes the role to read the object. The role must be in your Amazon Web Services account.</p>
5
5
  * @public
6
6
  */
7
7
  export interface RegistryRecordIamCredentialProvider {
@@ -11,12 +11,12 @@ export interface RegistryRecordIamCredentialProvider {
11
11
  */
12
12
  roleArn?: string | undefined;
13
13
  /**
14
- * <p>The service name to use for request signing, such as execute-api.</p>
14
+ * <p>The service name to use for request signing, such as execute-api. For an Amazon S3 skill source, omit it or set it to <code>s3</code>.</p>
15
15
  * @public
16
16
  */
17
17
  service?: string | undefined;
18
18
  /**
19
- * <p>The Amazon Web Services Region to use for request signing. If not specified, the Region is derived from the source URL hostname, falling back to the Region of the registry.</p>
19
+ * <p>The Amazon Web Services Region to use for request signing. If not specified, the Region is derived from the source URL hostname, falling back to the Region of the registry. For an Amazon S3 skill source, omit it or set it to the Region of the registry.</p>
20
20
  * @public
21
21
  */
22
22
  region?: string | undefined;
@@ -32,7 +32,7 @@ export interface RegistryRecordOAuthCredentialProvider {
32
32
  */
33
33
  providerArn: string | undefined;
34
34
  /**
35
- * <p>The OAuth 2.0 grant type used to obtain access tokens.</p>
35
+ * <p>The OAuth 2.0 grant type used to obtain access tokens. A GitHub skill source requires <code>AUTHORIZATION_CODE</code>. Other sources, such as MCP server and A2A agent card sources, use <code>CLIENT_CREDENTIALS</code>. A GitHub source takes exactly one OAuth credential provider, in the registry's Amazon Web Services account and Region. Only an IAM role or IAM user in the account that owns the registry can set, synchronize, or reauthorize it, and the caller needs <code>bedrock-agentcore:GetWorkloadAccessTokenForUserId</code> and <code>bedrock-agentcore:GetResourceOauth2Token</code> on the registry's workload identity, <code>registry-</code> followed by the registry ID.</p>
36
36
  * @public
37
37
  */
38
38
  grantType?: RegistryRecordOAuthGrantType | undefined;
@@ -46,6 +46,11 @@ export interface RegistryRecordOAuthCredentialProvider {
46
46
  * @public
47
47
  */
48
48
  customParameters?: Record<string, string> | undefined;
49
+ /**
50
+ * <p>The URL that the user's browser returns to after the user approves access on GitHub, for the <code>AUTHORIZATION_CODE</code> grant. There, your application completes the authorization by calling the Amazon Bedrock AgentCore Identity <code>CompleteResourceTokenAuth</code> operation with the <code>userId</code> from <code>authorizationData</code>. If you omit it, the user returns to the Amazon Web Services Agent Registry console, which completes the authorization when the user is signed in as the IAM principal that made the request. A request that joins an authorization already in progress uses the return URL of the request that started it.</p>
51
+ * @public
52
+ */
53
+ returnUrl?: string | undefined;
49
54
  }
50
55
  /**
51
56
  * <p>The credential provider details for a registry record. Exactly one member is populated, matching the configured credential provider type.</p>
@@ -114,7 +119,7 @@ export interface RegistryRecordCredentialProviderConfiguration {
114
119
  */
115
120
  export interface DescriptorSourceFromUrl {
116
121
  /**
117
- * <p>The URL from which the descriptor content is retrieved.</p>
122
+ * <p>The URL from which the descriptor content is retrieved. For an agent skill source, specify an <code>s3://</code> URL of an object in a bucket in the same Amazon Web Services Region as the registry. For a GitHub skill source, specify a GitHub folder URL in the form <code>https://host/owner/repo/tree/branch-or-tag/path</code>. Other descriptor sources use <code>https://</code> URLs.</p>
118
123
  * @public
119
124
  */
120
125
  url: string | undefined;
@@ -547,6 +552,22 @@ export interface ValidationExceptionField {
547
552
  */
548
553
  message: string | undefined;
549
554
  }
555
+ /**
556
+ * <p>A skill package to upload with a registry record: a ZIP archive of a skill that follows the Agent Skills specification. The registry validates the package asynchronously, stores it, and sets <code>skillMd.data</code> from the package's SKILL.md.</p>
557
+ * @public
558
+ */
559
+ export interface RegistryRecordArtifactUpload {
560
+ /**
561
+ * <p>The ZIP archive of the skill package, up to 5 MiB (5,242,880 bytes). In a JSON request, the content is base64-encoded. The Amazon Web Services SDKs encode it for you.</p>
562
+ * @public
563
+ */
564
+ content: Uint8Array | undefined;
565
+ /**
566
+ * <p>The optional SHA-256 checksum of the ZIP archive, as 64 lowercase hexadecimal characters, computed over the archive's bytes rather than its base64 text. If it doesn't match the content, the request fails with a <code>ValidationException</code>.</p>
567
+ * @public
568
+ */
569
+ sha256?: string | undefined;
570
+ }
550
571
  /**
551
572
  * <p>Markdown-format descriptor containing an agent skills document.</p>
552
573
  * @public
@@ -563,13 +584,68 @@ export interface AgentSkillsMdDescriptor {
563
584
  */
564
585
  dataSchemaVersion?: string | undefined;
565
586
  /**
566
- * <p>The optional source configuration used to synchronize the agent skills markdown content.</p>
587
+ * <p>The optional source of the skill's SKILL.md only. The registry synchronizes the SKILL.md from this source into <code>data</code>. Specify an <code>s3://</code> URL of a SKILL.md object, or a GitHub folder URL together with <code>repositoryProvider</code> set to <code>GITHUB</code>. The registry rejects a new <code>https://</code> URL without <code>repositoryProvider</code>, and you can't set both this source and <code>skillPackage.source</code>.</p>
588
+ * @public
589
+ */
590
+ source?: DescriptorSource | undefined;
591
+ }
592
+ /**
593
+ * <p>Descriptor that names the source that the registry synchronizes a full skill package from. It holds only the source. The record's <code>artifact</code> member returns the package that the registry reads from this source.</p>
594
+ * @public
595
+ */
596
+ export interface AgentSkillsPackageDescriptor {
597
+ /**
598
+ * <p>The source of the skill package. Specify an <code>s3://</code> URL of a ZIP object, or a GitHub folder URL together with <code>repositoryProvider</code> set to <code>GITHUB</code>. For a GitHub folder, the registry builds the package from every file in the folder.</p>
567
599
  * @public
568
600
  */
569
601
  source?: DescriptorSource | undefined;
570
602
  }
571
603
  /**
572
- * <p>Additional data associated with an agent skills definition descriptor.</p>
604
+ * <p>The settings of a source that the registry reads from Amazon S3.</p>
605
+ * @public
606
+ */
607
+ export interface S3SourceConfiguration {
608
+ /**
609
+ * <p>The ID of the Amazon Web Services account that owns the source bucket. The registry checks that the bucket belongs to this account each time it reads the source. If you omit it for a source that uses an IAM role, the registry expects the bucket to be in the role's account. If you omit it for a source that has no credential provider, which the registry reads as a public object, the request fails with a <code>ValidationException</code>.</p>
610
+ * @public
611
+ */
612
+ bucketOwnerAccountId?: string | undefined;
613
+ }
614
+ /**
615
+ * <p>The provider-specific settings of a skill source. Specify the member that matches the source's provider, such as <code>s3</code> for an Amazon S3 source.</p>
616
+ * @public
617
+ */
618
+ export type AgentSkillsSourceConfiguration = AgentSkillsSourceConfiguration.S3Member | AgentSkillsSourceConfiguration.$UnknownMember;
619
+ /**
620
+ * @public
621
+ */
622
+ export declare namespace AgentSkillsSourceConfiguration {
623
+ /**
624
+ * <p>The settings of an Amazon S3 source.</p>
625
+ * @public
626
+ */
627
+ interface S3Member {
628
+ s3: S3SourceConfiguration;
629
+ $unknown?: never;
630
+ }
631
+ /**
632
+ * @public
633
+ */
634
+ interface $UnknownMember {
635
+ s3?: never;
636
+ $unknown: [string, any];
637
+ }
638
+ /**
639
+ * @deprecated unused in schema-serde mode.
640
+ *
641
+ */
642
+ interface Visitor<T> {
643
+ s3: (value: S3SourceConfiguration) => T;
644
+ _: (name: string, value: any) => T;
645
+ }
646
+ }
647
+ /**
648
+ * <p>Additional data associated with an agent skills definition descriptor: the skill's SKILL.md and the source that the registry synchronizes the skill from. A record synchronizes from one source at most, either <code>skillMd.source</code> for SKILL.md only or <code>skillPackage.source</code> for the full skill package. When the record has a skill package or a synchronized source, the registry sets <code>skillMd.data</code> from the SKILL.md in that package or source.</p>
573
649
  * @public
574
650
  */
575
651
  export interface AgentSkillsAdditionalData {
@@ -578,6 +654,21 @@ export interface AgentSkillsAdditionalData {
578
654
  * @public
579
655
  */
580
656
  skillMd?: AgentSkillsMdDescriptor | undefined;
657
+ /**
658
+ * <p>The source that the registry synchronizes the full skill package from. The registry validates and stores the package, sets <code>skillMd.data</code> from its SKILL.md, and returns the package in the <code>artifact</code> member of <code>GetRegistryRecord</code>. You can't set both this source and <code>skillMd.source</code>.</p>
659
+ * @public
660
+ */
661
+ skillPackage?: AgentSkillsPackageDescriptor | undefined;
662
+ /**
663
+ * <p>The repository provider of the record's skill source. Set it to <code>GITHUB</code> when <code>skillMd.source</code> or <code>skillPackage.source</code> is a GitHub folder URL. The registry treats an <code>https://</code> source as a GitHub source only when this member is set. Don't set it for an Amazon S3 source.</p>
664
+ * @public
665
+ */
666
+ repositoryProvider?: AgentSkillsRepositoryProvider | undefined;
667
+ /**
668
+ * <p>The provider-specific settings of the record's skill source. For an Amazon S3 source, <code>s3.bucketOwnerAccountId</code> specifies the account that owns the source bucket.</p>
669
+ * @public
670
+ */
671
+ sourceConfiguration?: AgentSkillsSourceConfiguration | undefined;
581
672
  }
582
673
  /**
583
674
  * <p>Descriptor that defines an agent skills registry record and its associated content.</p>
@@ -827,6 +918,11 @@ export interface CreateRegistryRecordRequest {
827
918
  * @public
828
919
  */
829
920
  descriptors: Descriptors | undefined;
921
+ /**
922
+ * <p>The skill package to store with the record, for a record of type <code>SKILL</code> with an <code>agentSkillsDefinition</code> descriptor. The registry validates the package after the operation returns and sets <code>skillMd.data</code> from the package's SKILL.md. A request that uploads a package can't also set a skill source or send new <code>skillMd.data</code>.</p>
923
+ * @public
924
+ */
925
+ artifact?: RegistryRecordArtifactUpload | undefined;
830
926
  /**
831
927
  * <p>The version of the registry record</p>
832
928
  * @public
@@ -853,6 +949,65 @@ export interface CreateRegistryRecordRequest {
853
949
  */
854
950
  tags?: Record<string, string> | undefined;
855
951
  }
952
+ /**
953
+ * <p>An OAuth 2.0 authorization that waits for a user's approval. The user opens <code>authorizationUrl</code> and approves access on GitHub. Amazon Bedrock AgentCore Identity then redirects the browser to the source's <code>returnUrl</code>. There, your application completes the authorization by calling the AgentCore Identity <code>CompleteResourceTokenAuth</code> operation with <code>userId</code>. If the source has no <code>returnUrl</code>, the user returns to the Amazon Web Services Agent Registry console, which completes the authorization. After the authorization completes, the registry synchronizes the record without another request. If the user doesn't approve access before <code>expiresAt</code>, the record moves to <code>CREATE_FAILED</code> or <code>UPDATE_FAILED</code>. To start again, call <code>UpdateRegistryRecord</code> with <code>triggerSynchronization</code>.</p>
954
+ * @public
955
+ */
956
+ export interface OAuth2AuthorizationData {
957
+ /**
958
+ * <p>The URL that the user opens to approve access. The link is valid for up to 10 minutes. Treat it as sensitive and give it only to the user who approves access.</p>
959
+ * @public
960
+ */
961
+ authorizationUrl: string | undefined;
962
+ /**
963
+ * <p>The AgentCore Identity user ID that the authorization is for. Store it with your signed-in user and pass it as <code>userIdentifier.userId</code> when your application calls <code>CompleteResourceTokenAuth</code>.</p>
964
+ * @public
965
+ */
966
+ userId?: string | undefined;
967
+ /**
968
+ * <p>The identifier of this authorization attempt.</p>
969
+ * @public
970
+ */
971
+ authorizationAttemptId?: string | undefined;
972
+ /**
973
+ * <p>The timestamp when the authorization link expires, 10 minutes after the authorization started. A request that joins an authorization in progress gets less time, and the link might stop working shortly before this time.</p>
974
+ * @public
975
+ */
976
+ expiresAt?: Date | undefined;
977
+ }
978
+ /**
979
+ * <p>The authorization that a user must complete before a registry record can synchronize from its source. Only <code>CreateRegistryRecord</code> and <code>UpdateRegistryRecord</code> return it. <code>GetRegistryRecord</code> and <code>ListRegistryRecords</code> never do.</p>
980
+ * @public
981
+ */
982
+ export type AuthorizationData = AuthorizationData.Oauth2Member | AuthorizationData.$UnknownMember;
983
+ /**
984
+ * @public
985
+ */
986
+ export declare namespace AuthorizationData {
987
+ /**
988
+ * <p>The OAuth 2.0 authorization that a GitHub user must approve.</p>
989
+ * @public
990
+ */
991
+ interface Oauth2Member {
992
+ oauth2: OAuth2AuthorizationData;
993
+ $unknown?: never;
994
+ }
995
+ /**
996
+ * @public
997
+ */
998
+ interface $UnknownMember {
999
+ oauth2?: never;
1000
+ $unknown: [string, any];
1001
+ }
1002
+ /**
1003
+ * @deprecated unused in schema-serde mode.
1004
+ *
1005
+ */
1006
+ interface Visitor<T> {
1007
+ oauth2: (value: OAuth2AuthorizationData) => T;
1008
+ _: (name: string, value: any) => T;
1009
+ }
1010
+ }
856
1011
  /**
857
1012
  * <p>Response structure for creating a registry record</p>
858
1013
  * @public
@@ -864,10 +1019,15 @@ export interface CreateRegistryRecordResponse {
864
1019
  */
865
1020
  recordArn: string | undefined;
866
1021
  /**
867
- * <p>The status of the registry record, set to CREATING while the asynchronous workflow is in progress</p>
1022
+ * <p>The status of the registry record. <code>CREATING</code> means that the asynchronous workflow is in progress. <code>CREATE_PENDING_AUTH</code> means that the record waits for a GitHub user to authorize access before it synchronizes from its GitHub source. For the authorization link, see <code>authorizationData</code>.</p>
868
1023
  * @public
869
1024
  */
870
1025
  status: RegistryRecordStatus | undefined;
1026
+ /**
1027
+ * <p>The authorization that a GitHub user must complete before the record's synchronization starts. Present only in this response, and only while the status is <code>CREATE_PENDING_AUTH</code>. If the status is <code>CREATE_PENDING_AUTH</code> but this member is absent, call <code>UpdateRegistryRecord</code> with <code>triggerSynchronization</code> to get a new authorization link.</p>
1028
+ * @public
1029
+ */
1030
+ authorizationData?: AuthorizationData | undefined;
871
1031
  }
872
1032
  /**
873
1033
  * @public
@@ -905,6 +1065,114 @@ export interface GetRegistryRecordRequest {
905
1065
  */
906
1066
  recordId: string | undefined;
907
1067
  }
1068
+ /**
1069
+ * <p>The skill package of a registry record, as a short-lived download URL and the package's SHA-256 checksum. Responses never include the package bytes.</p>
1070
+ * @public
1071
+ */
1072
+ export interface RegistryRecordArtifactDownload {
1073
+ /**
1074
+ * <p>The SHA-256 checksum of the package, as 64 lowercase hexadecimal characters. The download response carries no signature that you can check, so compare the checksum of the file that you download with this value before you use the package.</p>
1075
+ * @public
1076
+ */
1077
+ sha256?: string | undefined;
1078
+ /**
1079
+ * <p>A presigned Amazon S3 URL that downloads the package. The URL is valid for up to 5 minutes, and the response doesn't include its expiry time. To get a new URL, call the operation again. Anyone who has the URL can download the package until it expires, so don't log, store, or share it.</p>
1080
+ * @public
1081
+ */
1082
+ downloadUrl?: string | undefined;
1083
+ }
1084
+ /**
1085
+ * <p>A GitHub source that a skill record's content was synchronized from, and the commit that the registry read.</p>
1086
+ * @public
1087
+ */
1088
+ export interface GitHubSynchronizedSource {
1089
+ /**
1090
+ * <p>The source URL that the registry read.</p>
1091
+ * @public
1092
+ */
1093
+ url: string | undefined;
1094
+ /**
1095
+ * <p>The timestamp when the registry read the source.</p>
1096
+ * @public
1097
+ */
1098
+ synchronizedAt: Date | undefined;
1099
+ /**
1100
+ * <p>The commit that the source's branch or tag pointed to when the registry read it.</p>
1101
+ * @public
1102
+ */
1103
+ commitId: string | undefined;
1104
+ }
1105
+ /**
1106
+ * <p>An Amazon S3 source that a skill record's content was synchronized from, and the object version that the registry read. At most one of <code>versionId</code> and <code>eTag</code> is set.</p>
1107
+ * @public
1108
+ */
1109
+ export interface S3SynchronizedSource {
1110
+ /**
1111
+ * <p>The source URL that the registry read.</p>
1112
+ * @public
1113
+ */
1114
+ url: string | undefined;
1115
+ /**
1116
+ * <p>The timestamp when the registry read the source.</p>
1117
+ * @public
1118
+ */
1119
+ synchronizedAt: Date | undefined;
1120
+ /**
1121
+ * <p>The version ID of the object that the registry read. Absent when the bucket isn't versioned.</p>
1122
+ * @public
1123
+ */
1124
+ versionId?: string | undefined;
1125
+ /**
1126
+ * <p>The entity tag (ETag) of the object that the registry read, without quotes, when the object has no version ID. Not recorded for a SKILL.md source on a registry that is encrypted with a customer managed key.</p>
1127
+ * @public
1128
+ */
1129
+ eTag?: string | undefined;
1130
+ }
1131
+ /**
1132
+ * <p>The source that a skill record's content was last synchronized from. Exactly one member is set, for the source's provider.</p>
1133
+ * @public
1134
+ */
1135
+ export type RegistryRecordSynchronizedSource = RegistryRecordSynchronizedSource.GitHubMember | RegistryRecordSynchronizedSource.S3Member | RegistryRecordSynchronizedSource.$UnknownMember;
1136
+ /**
1137
+ * @public
1138
+ */
1139
+ export declare namespace RegistryRecordSynchronizedSource {
1140
+ /**
1141
+ * <p>The Amazon S3 source that the registry read.</p>
1142
+ * @public
1143
+ */
1144
+ interface S3Member {
1145
+ s3: S3SynchronizedSource;
1146
+ gitHub?: never;
1147
+ $unknown?: never;
1148
+ }
1149
+ /**
1150
+ * <p>The GitHub source that the registry read.</p>
1151
+ * @public
1152
+ */
1153
+ interface GitHubMember {
1154
+ s3?: never;
1155
+ gitHub: GitHubSynchronizedSource;
1156
+ $unknown?: never;
1157
+ }
1158
+ /**
1159
+ * @public
1160
+ */
1161
+ interface $UnknownMember {
1162
+ s3?: never;
1163
+ gitHub?: never;
1164
+ $unknown: [string, any];
1165
+ }
1166
+ /**
1167
+ * @deprecated unused in schema-serde mode.
1168
+ *
1169
+ */
1170
+ interface Visitor<T> {
1171
+ s3: (value: S3SynchronizedSource) => T;
1172
+ gitHub: (value: GitHubSynchronizedSource) => T;
1173
+ _: (name: string, value: any) => T;
1174
+ }
1175
+ }
908
1176
  /**
909
1177
  * <p>Response structure for retrieving a registry record</p>
910
1178
  * @public
@@ -946,7 +1214,7 @@ export interface GetRegistryRecordResponse {
946
1214
  */
947
1215
  recordType: RecordType | undefined;
948
1216
  /**
949
- * <p>The typed descriptors that define the content of the registry record.</p>
1217
+ * <p>The typed descriptors that define the content of the registry record. For a skill record with a skill package or a synchronized source, <code>skillMd.data</code> contains the SKILL.md that the registry took from the package or the source.</p>
950
1218
  * @public
951
1219
  */
952
1220
  descriptors?: Descriptors | undefined;
@@ -1000,6 +1268,16 @@ export interface GetRegistryRecordResponse {
1000
1268
  * @public
1001
1269
  */
1002
1270
  customMetadataSchemaComplianceStatus?: CustomMetadataSchemaComplianceStatus | undefined;
1271
+ /**
1272
+ * <p>The skill package of the record's latest revision, including a revision in <code>DRAFT</code> or <code>PENDING_APPROVAL</code> status, as a download URL and a SHA-256 checksum. While an update of the record is in progress or after it fails, this is the last package that passed validation, unless the update switches between an uploaded package and a synchronized one: then it is absent until the update succeeds. Absent while the record is being created or after its creation fails, and when the record has no package, for example when its content is inline or it synchronizes only SKILL.md.</p>
1273
+ * @public
1274
+ */
1275
+ artifact?: RegistryRecordArtifactDownload | undefined;
1276
+ /**
1277
+ * <p>The source that the registry last synchronized the record's skill content from, including when the registry read the source and which version it read. Absent until the first successful synchronization, and after an update replaces the synchronized content, for example with an uploaded package. A failed synchronization leaves this member unchanged. After you change the source, this member shows the previous source until the registry successfully synchronizes from the new source.</p>
1278
+ * @public
1279
+ */
1280
+ synchronizedSource?: RegistryRecordSynchronizedSource | undefined;
1003
1281
  }
1004
1282
  /**
1005
1283
  * <p>A single filter applied to a ListRegistryRecords request.</p>
@@ -1206,6 +1484,17 @@ export interface SubmitRegistryRecordForApprovalResponse {
1206
1484
  */
1207
1485
  updatedAt: Date | undefined;
1208
1486
  }
1487
+ /**
1488
+ * <p>The skill package patch wrapper. Omit to leave the package unchanged; supply an empty object to remove an uploaded package; supply optionalValue to upload a new package.</p>
1489
+ * @public
1490
+ */
1491
+ export interface UpdatedRegistryRecordArtifact {
1492
+ /**
1493
+ * <p>The skill package to upload. It replaces the record's current package or its synchronized content.</p>
1494
+ * @public
1495
+ */
1496
+ optionalValue?: RegistryRecordArtifactUpload | undefined;
1497
+ }
1209
1498
  /**
1210
1499
  * <p>The custom metadata patch wrapper. Omit to leave the existing metadata unchanged; supply with a null value to clear all metadata; supply with key-value pairs to replace the existing metadata.</p>
1211
1500
  * @public
@@ -1293,6 +1582,17 @@ export interface UpdatedA2aAgentCardDescriptor {
1293
1582
  */
1294
1583
  optionalValue?: UpdatedA2aAgentCardDescriptorFields | undefined;
1295
1584
  }
1585
+ /**
1586
+ * <p>The repository provider patch wrapper. Omit to leave the repository provider unchanged; supply an empty object to remove it; supply optionalValue to set it. When you remove it, also remove or replace the GitHub source in the same request.</p>
1587
+ * @public
1588
+ */
1589
+ export interface UpdatedAgentSkillsRepositoryProvider {
1590
+ /**
1591
+ * <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
1592
+ * @public
1593
+ */
1594
+ optionalValue?: AgentSkillsRepositoryProvider | undefined;
1595
+ }
1296
1596
  /**
1297
1597
  * <p>The set of agent skills markdown descriptor fields that can be individually updated.</p>
1298
1598
  * @public
@@ -1325,6 +1625,28 @@ export interface UpdatedAgentSkillsMdDescriptor {
1325
1625
  */
1326
1626
  optionalValue?: UpdatedAgentSkillsMdDescriptorFields | undefined;
1327
1627
  }
1628
+ /**
1629
+ * <p>The skill package source patch wrapper. Omit to leave the source unchanged; supply an empty object to remove it and stop synchronizing the package; supply optionalValue to replace it.</p>
1630
+ * @public
1631
+ */
1632
+ export interface UpdatedAgentSkillsPackageDescriptor {
1633
+ /**
1634
+ * <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
1635
+ * @public
1636
+ */
1637
+ optionalValue?: AgentSkillsPackageDescriptor | undefined;
1638
+ }
1639
+ /**
1640
+ * <p>The source configuration patch wrapper. Omit to leave the configuration unchanged; supply an empty object to remove it; supply optionalValue to replace it. When you move an Amazon S3 source to another bucket, the record keeps its configuration. In the same request, specify the new bucket's owner, or specify an empty object so that the registry expects the bucket in the role's account.</p>
1641
+ * @public
1642
+ */
1643
+ export interface UpdatedAgentSkillsSourceConfiguration {
1644
+ /**
1645
+ * <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
1646
+ * @public
1647
+ */
1648
+ optionalValue?: AgentSkillsSourceConfiguration | undefined;
1649
+ }
1328
1650
  /**
1329
1651
  * <p>The set of agent skills additional-data fields that can be individually updated.</p>
1330
1652
  * @public
@@ -1335,6 +1657,21 @@ export interface UpdatedAgentSkillsAdditionalDataFields {
1335
1657
  * @public
1336
1658
  */
1337
1659
  skillMd?: UpdatedAgentSkillsMdDescriptor | undefined;
1660
+ /**
1661
+ * <p>The patch for the skill package source field.</p>
1662
+ * @public
1663
+ */
1664
+ skillPackage?: UpdatedAgentSkillsPackageDescriptor | undefined;
1665
+ /**
1666
+ * <p>The patch for the repository provider field.</p>
1667
+ * @public
1668
+ */
1669
+ repositoryProvider?: UpdatedAgentSkillsRepositoryProvider | undefined;
1670
+ /**
1671
+ * <p>The patch for the source configuration field.</p>
1672
+ * @public
1673
+ */
1674
+ sourceConfiguration?: UpdatedAgentSkillsSourceConfiguration | undefined;
1338
1675
  }
1339
1676
  /**
1340
1677
  * <p>The agent skills additional-data patch wrapper. Omit to leave the additional data unchanged; supply an empty object to remove it; supply optionalValue to patch its fields.</p>
@@ -1628,6 +1965,11 @@ export interface UpdateRegistryRecordRequest {
1628
1965
  * @public
1629
1966
  */
1630
1967
  descriptors?: UpdatedDescriptors | undefined;
1968
+ /**
1969
+ * <p>The change to the record's uploaded skill package. Omit it to keep the current package, specify an empty object to remove an uploaded package, or specify <code>optionalValue</code> to upload a new package. An empty object doesn't remove a package that the record synchronizes from a source. To stop that synchronization, remove <code>skillPackage</code>. A request that changes <code>skillMd.data</code> replaces the record's package with that text, even if you omit this member.</p>
1970
+ * @public
1971
+ */
1972
+ artifact?: UpdatedRegistryRecordArtifact | undefined;
1631
1973
  /**
1632
1974
  * <p>The updated version of the registry record. Omit to leave the version unchanged.</p>
1633
1975
  * @public
@@ -1639,10 +1981,15 @@ export interface UpdateRegistryRecordRequest {
1639
1981
  */
1640
1982
  customMetadata?: UpdatedCustomMetadataMap | undefined;
1641
1983
  /**
1642
- * <p>Whether to trigger synchronization of the record's descriptor content from its source</p>
1984
+ * <p>Specifies whether to synchronize the record's descriptor content from its source. For a skill record, the registry reads the stored <code>skillMd.source</code> or <code>skillPackage.source</code> again, because it doesn't watch the source for changes. For a GitHub source, the operation also returns a new authorization link when one is needed. An update that sets a different skill source starts a synchronization even if you omit this member.</p>
1643
1985
  * @public
1644
1986
  */
1645
1987
  triggerSynchronization?: boolean | undefined;
1988
+ /**
1989
+ * <p>Specifies whether to ask a GitHub user to authorize access again, even when the current authorization still works, for example to use a different GitHub account. You can use it only together with <code>triggerSynchronization</code>, for a GitHub source whose credential provider uses the <code>AUTHORIZATION_CODE</code> grant. The new authorization also replaces the one that the same IAM principal's other records in the registry use for the same host, credential provider, scopes, and custom parameters.</p>
1990
+ * @public
1991
+ */
1992
+ forceAuthentication?: boolean | undefined;
1646
1993
  /**
1647
1994
  * <p>The provenance lineage re-assertion for the registry record. This field is reserved for the Amazon Web Services Agent Registry auto-detection service principal. Requests that include this field from other callers are rejected. The source identity of an existing lineage is immutable; a re-assertion may only refresh the source details.</p>
1648
1995
  * @public
@@ -1700,7 +2047,7 @@ export interface UpdateRegistryRecordResponse {
1700
2047
  */
1701
2048
  recordVersion?: string | undefined;
1702
2049
  /**
1703
- * <p>The lifecycle status of the registry record.</p>
2050
+ * <p>The lifecycle status of the registry record. <code>UPDATE_PENDING_AUTH</code> means that the update waits for a GitHub user to authorize access before the record synchronizes from its GitHub source. For the authorization link, see <code>authorizationData</code>.</p>
1704
2051
  * @public
1705
2052
  */
1706
2053
  status: RegistryRecordStatus | undefined;
@@ -1744,6 +2091,11 @@ export interface UpdateRegistryRecordResponse {
1744
2091
  * @public
1745
2092
  */
1746
2093
  customMetadataSchemaComplianceStatus?: CustomMetadataSchemaComplianceStatus | undefined;
2094
+ /**
2095
+ * <p>The authorization that a GitHub user must complete before the record's synchronization starts. Present only in this response, and only while the status is <code>UPDATE_PENDING_AUTH</code>. If the status is <code>UPDATE_PENDING_AUTH</code> but this member is absent, call <code>UpdateRegistryRecord</code> again with <code>triggerSynchronization</code> to get a new authorization link.</p>
2096
+ * @public
2097
+ */
2098
+ authorizationData?: AuthorizationData | undefined;
1747
2099
  }
1748
2100
  /**
1749
2101
  * @public
@@ -21,6 +21,7 @@ export declare var AgentCoreRuntimeSourceDetails$: StaticStructureSchema;
21
21
  export declare var AgentSkillsAdditionalData$: StaticStructureSchema;
22
22
  export declare var AgentSkillsDefinitionDescriptor$: StaticStructureSchema;
23
23
  export declare var AgentSkillsMdDescriptor$: StaticStructureSchema;
24
+ export declare var AgentSkillsPackageDescriptor$: StaticStructureSchema;
24
25
  export declare var AgUiDescriptor$: StaticStructureSchema;
25
26
  export declare var ApprovalConfiguration$: StaticStructureSchema;
26
27
  export declare var AuthorizingClaimMatchValueType$: StaticStructureSchema;
@@ -47,6 +48,7 @@ export declare var GetRegistryRecordRequest$: StaticStructureSchema;
47
48
  export declare var GetRegistryRecordResponse$: StaticStructureSchema;
48
49
  export declare var GetRegistryRequest$: StaticStructureSchema;
49
50
  export declare var GetRegistryResponse$: StaticStructureSchema;
51
+ export declare var GitHubSynchronizedSource$: StaticStructureSchema;
50
52
  export declare var HttpDescriptor$: StaticStructureSchema;
51
53
  export declare var ListRegistriesRequest$: StaticStructureSchema;
52
54
  export declare var ListRegistriesResponse$: StaticStructureSchema;
@@ -58,17 +60,22 @@ export declare var ManagedVpcResource$: StaticStructureSchema;
58
60
  export declare var McpServerAdditionalData$: StaticStructureSchema;
59
61
  export declare var McpServerDescriptor$: StaticStructureSchema;
60
62
  export declare var McpToolsDescriptor$: StaticStructureSchema;
63
+ export declare var OAuth2AuthorizationData$: StaticStructureSchema;
61
64
  export declare var PrivateEndpointOverride$: StaticStructureSchema;
62
65
  export declare var Provenance$: StaticStructureSchema;
63
66
  export declare var ProvenanceSummary$: StaticStructureSchema;
64
67
  export declare var RecordTypeSchemaOverride$: StaticStructureSchema;
65
68
  export declare var RegistryFilter$: StaticStructureSchema;
69
+ export declare var RegistryRecordArtifactDownload$: StaticStructureSchema;
70
+ export declare var RegistryRecordArtifactUpload$: StaticStructureSchema;
66
71
  export declare var RegistryRecordCredentialProviderConfiguration$: StaticStructureSchema;
67
72
  export declare var RegistryRecordFilter$: StaticStructureSchema;
68
73
  export declare var RegistryRecordIamCredentialProvider$: StaticStructureSchema;
69
74
  export declare var RegistryRecordOAuthCredentialProvider$: StaticStructureSchema;
70
75
  export declare var RegistryRecordSummary$: StaticStructureSchema;
71
76
  export declare var RegistrySummary$: StaticStructureSchema;
77
+ export declare var S3SourceConfiguration$: StaticStructureSchema;
78
+ export declare var S3SynchronizedSource$: StaticStructureSchema;
72
79
  export declare var SubmitRegistryRecordForApprovalRequest$: StaticStructureSchema;
73
80
  export declare var SubmitRegistryRecordForApprovalResponse$: StaticStructureSchema;
74
81
  export declare var TagResourceRequest$: StaticStructureSchema;
@@ -83,6 +90,9 @@ export declare var UpdatedAgentSkillsDefinitionDescriptor$: StaticStructureSchem
83
90
  export declare var UpdatedAgentSkillsDefinitionDescriptorFields$: StaticStructureSchema;
84
91
  export declare var UpdatedAgentSkillsMdDescriptor$: StaticStructureSchema;
85
92
  export declare var UpdatedAgentSkillsMdDescriptorFields$: StaticStructureSchema;
93
+ export declare var UpdatedAgentSkillsPackageDescriptor$: StaticStructureSchema;
94
+ export declare var UpdatedAgentSkillsRepositoryProvider$: StaticStructureSchema;
95
+ export declare var UpdatedAgentSkillsSourceConfiguration$: StaticStructureSchema;
86
96
  export declare var UpdatedAgUiDescriptor$: StaticStructureSchema;
87
97
  export declare var UpdatedAgUiDescriptorFields$: StaticStructureSchema;
88
98
  export declare var UpdatedApprovalConfiguration$: StaticStructureSchema;
@@ -108,6 +118,7 @@ export declare var UpdatedMcpServerDescriptor$: StaticStructureSchema;
108
118
  export declare var UpdatedMcpServerDescriptorFields$: StaticStructureSchema;
109
119
  export declare var UpdatedMcpToolsDescriptor$: StaticStructureSchema;
110
120
  export declare var UpdatedMcpToolsDescriptorFields$: StaticStructureSchema;
121
+ export declare var UpdatedRegistryRecordArtifact$: StaticStructureSchema;
111
122
  export declare var UpdateRegistryRecordRequest$: StaticStructureSchema;
112
123
  export declare var UpdateRegistryRecordResponse$: StaticStructureSchema;
113
124
  export declare var UpdateRegistryRecordStatusRequest$: StaticStructureSchema;
@@ -116,10 +127,13 @@ export declare var UpdateRegistryRequest$: StaticStructureSchema;
116
127
  export declare var UpdateRegistryResponse$: StaticStructureSchema;
117
128
  export declare var ValidationExceptionField$: StaticStructureSchema;
118
129
  export declare var WorkloadIdentityDetails$: StaticStructureSchema;
130
+ export declare var AgentSkillsSourceConfiguration$: StaticUnionSchema;
131
+ export declare var AuthorizationData$: StaticUnionSchema;
119
132
  export declare var AuthorizerConfiguration$: StaticUnionSchema;
120
133
  export declare var ClaimMatchValueType$: StaticUnionSchema;
121
134
  export declare var PrivateEndpoint$: StaticUnionSchema;
122
135
  export declare var RegistryRecordCredentialProviderUnion$: StaticUnionSchema;
136
+ export declare var RegistryRecordSynchronizedSource$: StaticUnionSchema;
123
137
  export declare var SelfManagedLatticeResource$: StaticUnionSchema;
124
138
  export declare var SourceDetails$: StaticUnionSchema;
125
139
  export declare var CreateRegistry$: StaticOperationSchema;
@@ -1,4 +1,5 @@
1
1
  export declare const RegistryRecordOAuthGrantType: {
2
+ readonly AUTHORIZATION_CODE: "AUTHORIZATION_CODE";
2
3
  readonly CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
3
4
  };
4
5
  export type RegistryRecordOAuthGrantType =
@@ -47,9 +48,15 @@ export declare const ValidationExceptionReason: {
47
48
  readonly IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException";
48
49
  readonly RESOURCE_CONFLICT: "ResourceConflict";
49
50
  readonly ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession";
51
+ readonly UNSUPPORTED_IN_REGION: "UnsupportedInRegion";
50
52
  };
51
53
  export type ValidationExceptionReason =
52
54
  (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
55
+ export declare const AgentSkillsRepositoryProvider: {
56
+ readonly GITHUB: "GITHUB";
57
+ };
58
+ export type AgentSkillsRepositoryProvider =
59
+ (typeof AgentSkillsRepositoryProvider)[keyof typeof AgentSkillsRepositoryProvider];
53
60
  export declare const ProvenanceRelation: {
54
61
  readonly DETECTED_FROM: "DETECTED_FROM";
55
62
  };
@@ -70,12 +77,14 @@ export type RecordType = (typeof RecordType)[keyof typeof RecordType];
70
77
  export declare const RegistryRecordStatus: {
71
78
  readonly APPROVED: "APPROVED";
72
79
  readonly CREATE_FAILED: "CREATE_FAILED";
80
+ readonly CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH";
73
81
  readonly CREATING: "CREATING";
74
82
  readonly DEPRECATED: "DEPRECATED";
75
83
  readonly DRAFT: "DRAFT";
76
84
  readonly PENDING_APPROVAL: "PENDING_APPROVAL";
77
85
  readonly REJECTED: "REJECTED";
78
86
  readonly UPDATE_FAILED: "UPDATE_FAILED";
87
+ readonly UPDATE_PENDING_AUTH: "UPDATE_PENDING_AUTH";
79
88
  readonly UPDATING: "UPDATING";
80
89
  };
81
90
  export type RegistryRecordStatus = (typeof RegistryRecordStatus)[keyof typeof RegistryRecordStatus];