@aws-sdk/client-agent-registry-control 3.1172.0 → 3.1174.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.
- package/README.md +70 -7
- package/dist-cjs/index.js +603 -77
- package/dist-es/AgentRegistryControl.js +22 -0
- package/dist-es/commands/AssociatePublisherCommand.js +4 -0
- package/dist-es/commands/CreatePublisherCommand.js +4 -0
- package/dist-es/commands/DeletePublisherCommand.js +4 -0
- package/dist-es/commands/DisassociatePublisherCommand.js +4 -0
- package/dist-es/commands/GetPublisherCommand.js +4 -0
- package/dist-es/commands/ListPublisherAssociationsCommand.js +4 -0
- package/dist-es/commands/ListPublishersCommand.js +4 -0
- package/dist-es/commands/UpdatePublisherAssociationApprovalStatusCommand.js +4 -0
- package/dist-es/commands/ValidatePublisherCommand.js +4 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +37 -23
- package/dist-es/pagination/ListPublisherAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListPublishersPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +409 -55
- package/dist-types/AgentRegistryControl.d.ts +79 -0
- package/dist-types/AgentRegistryControlClient.d.ts +11 -2
- package/dist-types/commands/AssociatePublisherCommand.d.ts +113 -0
- package/dist-types/commands/CreatePublisherCommand.d.ts +119 -0
- package/dist-types/commands/CreateRegistryCommand.d.ts +1 -1
- package/dist-types/commands/CreateRegistryRecordCommand.d.ts +67 -33
- package/dist-types/commands/DeletePublisherCommand.d.ts +93 -0
- package/dist-types/commands/DisassociatePublisherCommand.d.ts +83 -0
- package/dist-types/commands/GetPublisherCommand.d.ts +103 -0
- package/dist-types/commands/GetRegistryCommand.d.ts +1 -1
- package/dist-types/commands/GetRegistryRecordCommand.d.ts +72 -33
- package/dist-types/commands/ListPublisherAssociationsCommand.d.ts +97 -0
- package/dist-types/commands/ListPublishersCommand.d.ts +97 -0
- package/dist-types/commands/ListRegistryRecordsCommand.d.ts +2 -2
- package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePublisherAssociationApprovalStatusCommand.d.ts +92 -0
- package/dist-types/commands/UpdateRegistryCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +106 -89
- package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +2 -2
- package/dist-types/commands/ValidatePublisherCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/enums.d.ts +99 -0
- package/dist-types/models/errors.d.ts +38 -21
- package/dist-types/models/models_0.d.ts +1153 -33
- package/dist-types/pagination/ListPublisherAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPublishersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +51 -0
- package/dist-types/ts3.4/AgentRegistryControl.d.ts +169 -0
- package/dist-types/ts3.4/AgentRegistryControlClient.d.ts +56 -2
- package/dist-types/ts3.4/commands/AssociatePublisherCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreatePublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeletePublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DisassociatePublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetPublisherCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPublisherAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPublishersCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePublisherAssociationApprovalStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ValidatePublisherCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +56 -0
- package/dist-types/ts3.4/models/errors.d.ts +19 -12
- package/dist-types/ts3.4/models/models_0.d.ts +275 -3
- package/dist-types/ts3.4/pagination/ListPublisherAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPublishersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -0
- package/package.json +1 -1
|
@@ -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, AssociationApprovalStatus, AssociationStatus, AutoApprovalRule, AutoDetectionScope, AutoDetectionStatus, BotCategory, ClaimMatchOperatorType, CustomMetadataSchemaComplianceStatus, EndpointIpAddressType, IdentifierType, InboundTokenClaimValueType, ProvenanceRelation, RecordType, RegistryAuthorizerType, RegistryFilterName, RegistryRecordCredentialProviderType, RegistryRecordFilterName, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus, SourceType, VerificationStatus } 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
|
|
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;
|
|
@@ -514,22 +519,91 @@ export interface AgentCoreRuntimeSourceDetails {
|
|
|
514
519
|
/**
|
|
515
520
|
* @public
|
|
516
521
|
*/
|
|
517
|
-
export interface
|
|
522
|
+
export interface AssociatePublisherRequest {
|
|
518
523
|
/**
|
|
519
|
-
*
|
|
524
|
+
* The Record being associated.
|
|
520
525
|
* @public
|
|
521
526
|
*/
|
|
522
|
-
|
|
527
|
+
recordArn: string | undefined;
|
|
528
|
+
/**
|
|
529
|
+
* The Publisher to associate the Record with.
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
publisherArn: string | undefined;
|
|
533
|
+
/**
|
|
534
|
+
* Optional single DNS label placed in front of the publisher domain (e.g. "agents" ->
|
|
535
|
+
* agents.acme.com). Absent means the Record sits directly on the publisher domain.
|
|
536
|
+
* @public
|
|
537
|
+
*/
|
|
538
|
+
subdomain?: string | undefined;
|
|
539
|
+
/**
|
|
540
|
+
* Optional categorization/hierarchy applied to the public identifier.
|
|
541
|
+
* @public
|
|
542
|
+
*/
|
|
543
|
+
categories?: string[] | undefined;
|
|
544
|
+
/**
|
|
545
|
+
* Optional client-provided idempotency token. Retries carrying the same token return the
|
|
546
|
+
* originally-created association instead of creating a duplicate.
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
clientToken?: string | undefined;
|
|
523
550
|
}
|
|
524
551
|
/**
|
|
552
|
+
* The new association between the registry record and the publisher, including the record's public
|
|
553
|
+
* identifier. A retry with the original clientToken returns the original association.
|
|
525
554
|
* @public
|
|
526
555
|
*/
|
|
527
|
-
export interface
|
|
556
|
+
export interface AssociatePublisherResponse {
|
|
528
557
|
/**
|
|
529
|
-
* <p>
|
|
558
|
+
* <p>Registry Record Amazon Resource Name</p>
|
|
530
559
|
* @public
|
|
531
560
|
*/
|
|
532
|
-
|
|
561
|
+
recordArn: string | undefined;
|
|
562
|
+
/**
|
|
563
|
+
* Server-generated public identifier. This is a URN, NOT an ARN: the public identifier is a
|
|
564
|
+
* public-facing, provider-neutral name (a Record may be hosted outside AWS), so it deliberately
|
|
565
|
+
* does not use the arn: scheme.
|
|
566
|
+
*
|
|
567
|
+
* Layout: `urn:air:[<subdomain>.]<domain>:<namespace>:<identity>[;<kind>]`
|
|
568
|
+
* - authority `[<subdomain>.]<domain>` — the publisher FQDN, with the optional subdomain folded
|
|
569
|
+
* in as a leading label (e.g. `agents.acme.com`; without a subdomain, just `acme.com`).
|
|
570
|
+
* - `<namespace>` — the association's category values concatenated with `:` (zero-or-more
|
|
571
|
+
* segments; absent when no categories were supplied).
|
|
572
|
+
* - `<identity>` — the Record name: letters, digits, `.`, `_`, `/` and `-`, as Vestry allows.
|
|
573
|
+
* - `<kind>` — the artifact kind from the Record's `recordType` (ai-catalog issue 59): `MCP` is `mcp`,
|
|
574
|
+
* `AGENT` and `CUSTOM` are `agent`, `SKILL` is `skill`, `WEB_BOT` is `webbot`. Absent for `GATEWAY`
|
|
575
|
+
* and when the association carried no `recordType`. The kind is part of the identifier, so
|
|
576
|
+
* `urn:air:acme.com:x;mcp` and `urn:air:acme.com:x` are two identifiers. Belfry mints `;`; the
|
|
577
|
+
* pattern also admits `#`, `+`, `$` and `@`, so identifiers minted with `#` before the delimiter
|
|
578
|
+
* settled on `;` stay valid until they're re-minted.
|
|
579
|
+
* Examples: `urn:air:acme.com:finance-agent` (no subdomain/categories),
|
|
580
|
+
* `urn:air:agents.acme.com:financial:money:finance-agent`, `urn:air:acme.com:weather;mcp`.
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
583
|
+
publicIdentifier: string | undefined;
|
|
584
|
+
/**
|
|
585
|
+
* ARN for an Identifier resource. Global (region-less) resource, so the region field is
|
|
586
|
+
* empty; the resource segment carries the identifier value, which may contain dots.
|
|
587
|
+
*
|
|
588
|
+
* Named `PublisherIdentifierArn` (RegionalCP's local name) so RegionalCP consumes it
|
|
589
|
+
* without a rename — which keeps its c2j/SDK model (generated from the un-projected
|
|
590
|
+
* source, where the top-level c2j plugin runs to preserve @idempotencyToken) showing the
|
|
591
|
+
* correct shape name. GlobalCP renames this to `identifierArn` in its own coral-export
|
|
592
|
+
* projection.
|
|
593
|
+
* @public
|
|
594
|
+
*/
|
|
595
|
+
publisher: string | undefined;
|
|
596
|
+
/**
|
|
597
|
+
* The Record<->Publisher association's status.
|
|
598
|
+
* @public
|
|
599
|
+
*/
|
|
600
|
+
status: AssociationStatus | undefined;
|
|
601
|
+
/**
|
|
602
|
+
* The reason for the association's current status, such as why it is suspended. Present only
|
|
603
|
+
* when a reason is available.
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
statusReason?: string | undefined;
|
|
533
607
|
}
|
|
534
608
|
/**
|
|
535
609
|
* <p>Describes a single input field that failed validation.</p>
|
|
@@ -547,6 +621,604 @@ export interface ValidationExceptionField {
|
|
|
547
621
|
*/
|
|
548
622
|
message: string | undefined;
|
|
549
623
|
}
|
|
624
|
+
/**
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
export interface DisassociatePublisherRequest {
|
|
628
|
+
/**
|
|
629
|
+
* <p>Registry Record Amazon Resource Name</p>
|
|
630
|
+
* @public
|
|
631
|
+
*/
|
|
632
|
+
recordArn: string | undefined;
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* @public
|
|
636
|
+
*/
|
|
637
|
+
export interface ListPublisherAssociationsRequest {
|
|
638
|
+
/**
|
|
639
|
+
* ARN for an Identifier resource. Global (region-less) resource, so the region field is
|
|
640
|
+
* empty; the resource segment carries the identifier value, which may contain dots.
|
|
641
|
+
*
|
|
642
|
+
* Named `PublisherIdentifierArn` (RegionalCP's local name) so RegionalCP consumes it
|
|
643
|
+
* without a rename — which keeps its c2j/SDK model (generated from the un-projected
|
|
644
|
+
* source, where the top-level c2j plugin runs to preserve @idempotencyToken) showing the
|
|
645
|
+
* correct shape name. GlobalCP renames this to `identifierArn` in its own coral-export
|
|
646
|
+
* projection.
|
|
647
|
+
* @public
|
|
648
|
+
*/
|
|
649
|
+
publisherArn?: string | undefined;
|
|
650
|
+
/**
|
|
651
|
+
* <p>Maximum number of items to be listed</p>
|
|
652
|
+
* @public
|
|
653
|
+
*/
|
|
654
|
+
maxResults?: number | undefined;
|
|
655
|
+
/**
|
|
656
|
+
* <p>Opaque continuation token of previous paginated response</p>
|
|
657
|
+
* @public
|
|
658
|
+
*/
|
|
659
|
+
nextToken?: string | undefined;
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* An association between a registry record and a publisher, including the record's public
|
|
663
|
+
* identifier.
|
|
664
|
+
* @public
|
|
665
|
+
*/
|
|
666
|
+
export interface PublisherAssociation {
|
|
667
|
+
/**
|
|
668
|
+
* <p>Registry Record Amazon Resource Name</p>
|
|
669
|
+
* @public
|
|
670
|
+
*/
|
|
671
|
+
recordArn: string | undefined;
|
|
672
|
+
/**
|
|
673
|
+
* Server-generated public identifier. This is a URN, NOT an ARN: the public identifier is a
|
|
674
|
+
* public-facing, provider-neutral name (a Record may be hosted outside AWS), so it deliberately
|
|
675
|
+
* does not use the arn: scheme.
|
|
676
|
+
*
|
|
677
|
+
* Layout: `urn:air:[<subdomain>.]<domain>:<namespace>:<identity>[;<kind>]`
|
|
678
|
+
* - authority `[<subdomain>.]<domain>` — the publisher FQDN, with the optional subdomain folded
|
|
679
|
+
* in as a leading label (e.g. `agents.acme.com`; without a subdomain, just `acme.com`).
|
|
680
|
+
* - `<namespace>` — the association's category values concatenated with `:` (zero-or-more
|
|
681
|
+
* segments; absent when no categories were supplied).
|
|
682
|
+
* - `<identity>` — the Record name: letters, digits, `.`, `_`, `/` and `-`, as Vestry allows.
|
|
683
|
+
* - `<kind>` — the artifact kind from the Record's `recordType` (ai-catalog issue 59): `MCP` is `mcp`,
|
|
684
|
+
* `AGENT` and `CUSTOM` are `agent`, `SKILL` is `skill`, `WEB_BOT` is `webbot`. Absent for `GATEWAY`
|
|
685
|
+
* and when the association carried no `recordType`. The kind is part of the identifier, so
|
|
686
|
+
* `urn:air:acme.com:x;mcp` and `urn:air:acme.com:x` are two identifiers. Belfry mints `;`; the
|
|
687
|
+
* pattern also admits `#`, `+`, `$` and `@`, so identifiers minted with `#` before the delimiter
|
|
688
|
+
* settled on `;` stay valid until they're re-minted.
|
|
689
|
+
* Examples: `urn:air:acme.com:finance-agent` (no subdomain/categories),
|
|
690
|
+
* `urn:air:agents.acme.com:financial:money:finance-agent`, `urn:air:acme.com:weather;mcp`.
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
693
|
+
publicIdentifier: string | undefined;
|
|
694
|
+
/**
|
|
695
|
+
* ARN for an Identifier resource. Global (region-less) resource, so the region field is
|
|
696
|
+
* empty; the resource segment carries the identifier value, which may contain dots.
|
|
697
|
+
*
|
|
698
|
+
* Named `PublisherIdentifierArn` (RegionalCP's local name) so RegionalCP consumes it
|
|
699
|
+
* without a rename — which keeps its c2j/SDK model (generated from the un-projected
|
|
700
|
+
* source, where the top-level c2j plugin runs to preserve @idempotencyToken) showing the
|
|
701
|
+
* correct shape name. GlobalCP renames this to `identifierArn` in its own coral-export
|
|
702
|
+
* projection.
|
|
703
|
+
* @public
|
|
704
|
+
*/
|
|
705
|
+
publisher: string | undefined;
|
|
706
|
+
/**
|
|
707
|
+
* The Record<->Publisher association's status.
|
|
708
|
+
* @public
|
|
709
|
+
*/
|
|
710
|
+
status: AssociationStatus | undefined;
|
|
711
|
+
/**
|
|
712
|
+
* The reason for the association's current status, such as why it is suspended. Present only
|
|
713
|
+
* when a reason is available.
|
|
714
|
+
* @public
|
|
715
|
+
*/
|
|
716
|
+
statusReason?: string | undefined;
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* @public
|
|
720
|
+
*/
|
|
721
|
+
export interface ListPublisherAssociationsResponse {
|
|
722
|
+
/**
|
|
723
|
+
* The publisher associations on this page of results.
|
|
724
|
+
* @public
|
|
725
|
+
*/
|
|
726
|
+
items: PublisherAssociation[] | undefined;
|
|
727
|
+
/**
|
|
728
|
+
* <p>Opaque continuation token of previous paginated response</p>
|
|
729
|
+
* @public
|
|
730
|
+
*/
|
|
731
|
+
nextToken?: string | undefined;
|
|
732
|
+
}
|
|
733
|
+
/**
|
|
734
|
+
* @public
|
|
735
|
+
*/
|
|
736
|
+
export interface UpdatePublisherAssociationApprovalStatusRequest {
|
|
737
|
+
/**
|
|
738
|
+
* <p>Registry Record Amazon Resource Name</p>
|
|
739
|
+
* @public
|
|
740
|
+
*/
|
|
741
|
+
recordArn: string | undefined;
|
|
742
|
+
/**
|
|
743
|
+
* The curator's decision on a Record's Publisher association.
|
|
744
|
+
* @public
|
|
745
|
+
*/
|
|
746
|
+
approvalStatus: AssociationApprovalStatus | undefined;
|
|
747
|
+
/**
|
|
748
|
+
* The curator's reason for the decision; may be empty.
|
|
749
|
+
* @public
|
|
750
|
+
*/
|
|
751
|
+
approvalStatusReason: string | undefined;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* @public
|
|
755
|
+
*/
|
|
756
|
+
export interface UpdatePublisherAssociationApprovalStatusResponse {
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
export interface ListTagsForResourceRequest {
|
|
762
|
+
/**
|
|
763
|
+
* <p>The Amazon Resource Name (ARN) of the resource to list tags for. Supported resources include registries and registry records.</p>
|
|
764
|
+
* @public
|
|
765
|
+
*/
|
|
766
|
+
resourceArn: string | undefined;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* @public
|
|
770
|
+
*/
|
|
771
|
+
export interface ListTagsForResourceResponse {
|
|
772
|
+
/**
|
|
773
|
+
* <p>The tags currently associated with the resource, as a map of tag keys to tag values.</p>
|
|
774
|
+
* @public
|
|
775
|
+
*/
|
|
776
|
+
tags?: Record<string, string> | undefined;
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* The identifier value. Discriminated union — exactly one member is set.
|
|
780
|
+
* GA supports `domain` only; other identifier types are added as new members
|
|
781
|
+
* (backward-compatible) in a later task.
|
|
782
|
+
* @public
|
|
783
|
+
*/
|
|
784
|
+
export type Identifier = Identifier.DomainMember | Identifier.$UnknownMember;
|
|
785
|
+
/**
|
|
786
|
+
* @public
|
|
787
|
+
*/
|
|
788
|
+
export declare namespace Identifier {
|
|
789
|
+
/**
|
|
790
|
+
* FQDN per RFC-1035/1123, case-insensitive, at least two labels.
|
|
791
|
+
* @public
|
|
792
|
+
*/
|
|
793
|
+
interface DomainMember {
|
|
794
|
+
domain: string;
|
|
795
|
+
$unknown?: never;
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* @public
|
|
799
|
+
*/
|
|
800
|
+
interface $UnknownMember {
|
|
801
|
+
domain?: never;
|
|
802
|
+
$unknown: [string, any];
|
|
803
|
+
}
|
|
804
|
+
/**
|
|
805
|
+
* @deprecated unused in schema-serde mode.
|
|
806
|
+
*
|
|
807
|
+
*/
|
|
808
|
+
interface Visitor<T> {
|
|
809
|
+
domain: (value: string) => T;
|
|
810
|
+
_: (name: string, value: any) => T;
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* @public
|
|
815
|
+
*/
|
|
816
|
+
export interface CreatePublisherRequest {
|
|
817
|
+
/**
|
|
818
|
+
* The identifier value. Discriminated union — exactly one member is set.
|
|
819
|
+
* GA supports `domain` only; other identifier types are added as new members
|
|
820
|
+
* (backward-compatible) in a later task.
|
|
821
|
+
* @public
|
|
822
|
+
*/
|
|
823
|
+
value: Identifier | undefined;
|
|
824
|
+
/**
|
|
825
|
+
* The tags to attach to the publisher. Each tag is a key-value pair. You can attach up to
|
|
826
|
+
* 50 tags.
|
|
827
|
+
* @public
|
|
828
|
+
*/
|
|
829
|
+
tags?: Record<string, string> | undefined;
|
|
830
|
+
/**
|
|
831
|
+
* Optional client-provided idempotency token. Retries of the same Create request carrying the
|
|
832
|
+
* same token return the originally-created resource instead of creating a duplicate. Forwarded
|
|
833
|
+
* to BelfryGlobalCP. Optional and backward-compatible.
|
|
834
|
+
* @public
|
|
835
|
+
*/
|
|
836
|
+
clientToken?: string | undefined;
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* Server-generated DNS-01 challenge the caller must publish to prove ownership.
|
|
840
|
+
* @public
|
|
841
|
+
*/
|
|
842
|
+
export interface DomainChallenge {
|
|
843
|
+
/**
|
|
844
|
+
* The name of the DNS TXT record to create, such as `_acme-challenge.example.com`.
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
847
|
+
recordName: string | undefined;
|
|
848
|
+
/**
|
|
849
|
+
* The value to publish in the DNS TXT record. A new value is issued each time verification
|
|
850
|
+
* restarts, and earlier values no longer verify the domain.
|
|
851
|
+
* @public
|
|
852
|
+
*/
|
|
853
|
+
recordValue: string | undefined;
|
|
854
|
+
}
|
|
855
|
+
/**
|
|
856
|
+
* The new publisher, in ACTION_REQUIRED, with the domainChallenge to publish as a DNS TXT record.
|
|
857
|
+
* A retry with the original clientToken returns the existing publisher.
|
|
858
|
+
* @public
|
|
859
|
+
*/
|
|
860
|
+
export interface CreatePublisherResponse {
|
|
861
|
+
/**
|
|
862
|
+
* The identifier value. Discriminated union — exactly one member is set.
|
|
863
|
+
* GA supports `domain` only; other identifier types are added as new members
|
|
864
|
+
* (backward-compatible) in a later task.
|
|
865
|
+
* @public
|
|
866
|
+
*/
|
|
867
|
+
value: Identifier | undefined;
|
|
868
|
+
/**
|
|
869
|
+
* The identifier type. `DOMAIN` is the only supported value.
|
|
870
|
+
* @public
|
|
871
|
+
*/
|
|
872
|
+
identifierType?: IdentifierType | undefined;
|
|
873
|
+
/**
|
|
874
|
+
* The domain verification status of the publisher:
|
|
875
|
+
*
|
|
876
|
+
* - `ACTION_REQUIRED`: The registry is waiting to find the DNS TXT record described by
|
|
877
|
+
* `domainChallenge`.
|
|
878
|
+
* - `ACTIVE`: The domain is verified. You can associate registry records with the publisher.
|
|
879
|
+
* - `SUSPENDED`: The domain was verified, but a later check found the TXT record missing or
|
|
880
|
+
* changed. The publisher returns to `ACTIVE` when the record is found again, and becomes
|
|
881
|
+
* `FAILED` if the record stays missing.
|
|
882
|
+
* - `FAILED`: Verification didn't succeed, for example because the TXT record wasn't found
|
|
883
|
+
* in time or another account verified the domain first. Call `ValidatePublisher` to try
|
|
884
|
+
* again.
|
|
885
|
+
* - `DELETING`: A delete is in progress.
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
status: VerificationStatus | undefined;
|
|
889
|
+
/**
|
|
890
|
+
* The reason for the publisher's current status, such as why verification failed. Present
|
|
891
|
+
* only when a reason is available.
|
|
892
|
+
* @public
|
|
893
|
+
*/
|
|
894
|
+
statusReason?: string | undefined;
|
|
895
|
+
/**
|
|
896
|
+
* Server-generated DNS-01 challenge the caller must publish to prove ownership.
|
|
897
|
+
* @public
|
|
898
|
+
*/
|
|
899
|
+
domainChallenge?: DomainChallenge | undefined;
|
|
900
|
+
/**
|
|
901
|
+
* The tags attached to the publisher.
|
|
902
|
+
* @public
|
|
903
|
+
*/
|
|
904
|
+
tags?: Record<string, string> | undefined;
|
|
905
|
+
/**
|
|
906
|
+
* The date and time that the publisher was created.
|
|
907
|
+
* @public
|
|
908
|
+
*/
|
|
909
|
+
createdAt: Date | undefined;
|
|
910
|
+
/**
|
|
911
|
+
* The date and time that the publisher was last updated.
|
|
912
|
+
* @public
|
|
913
|
+
*/
|
|
914
|
+
updatedAt: Date | undefined;
|
|
915
|
+
/**
|
|
916
|
+
* ARN for an Identifier resource. Global (region-less) resource, so the region field is
|
|
917
|
+
* empty; the resource segment carries the identifier value, which may contain dots.
|
|
918
|
+
*
|
|
919
|
+
* Named `PublisherIdentifierArn` (RegionalCP's local name) so RegionalCP consumes it
|
|
920
|
+
* without a rename — which keeps its c2j/SDK model (generated from the un-projected
|
|
921
|
+
* source, where the top-level c2j plugin runs to preserve @idempotencyToken) showing the
|
|
922
|
+
* correct shape name. GlobalCP renames this to `identifierArn` in its own coral-export
|
|
923
|
+
* projection.
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
publisherArn: string | undefined;
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* @public
|
|
930
|
+
*/
|
|
931
|
+
export interface DeletePublisherRequest {
|
|
932
|
+
/**
|
|
933
|
+
* ARN for an Identifier resource. Global (region-less) resource, so the region field is
|
|
934
|
+
* empty; the resource segment carries the identifier value, which may contain dots.
|
|
935
|
+
*
|
|
936
|
+
* Named `PublisherIdentifierArn` (RegionalCP's local name) so RegionalCP consumes it
|
|
937
|
+
* without a rename — which keeps its c2j/SDK model (generated from the un-projected
|
|
938
|
+
* source, where the top-level c2j plugin runs to preserve @idempotencyToken) showing the
|
|
939
|
+
* correct shape name. GlobalCP renames this to `identifierArn` in its own coral-export
|
|
940
|
+
* projection.
|
|
941
|
+
* @public
|
|
942
|
+
*/
|
|
943
|
+
publisherArn: string | undefined;
|
|
944
|
+
}
|
|
945
|
+
/**
|
|
946
|
+
* @public
|
|
947
|
+
*/
|
|
948
|
+
export interface GetPublisherRequest {
|
|
949
|
+
/**
|
|
950
|
+
* ARN for an Identifier resource. Global (region-less) resource, so the region field is
|
|
951
|
+
* empty; the resource segment carries the identifier value, which may contain dots.
|
|
952
|
+
*
|
|
953
|
+
* Named `PublisherIdentifierArn` (RegionalCP's local name) so RegionalCP consumes it
|
|
954
|
+
* without a rename — which keeps its c2j/SDK model (generated from the un-projected
|
|
955
|
+
* source, where the top-level c2j plugin runs to preserve @idempotencyToken) showing the
|
|
956
|
+
* correct shape name. GlobalCP renames this to `identifierArn` in its own coral-export
|
|
957
|
+
* projection.
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
960
|
+
publisherArn: string | undefined;
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* A publisher, including its verification status and the DNS challenge for its domain.
|
|
964
|
+
* @public
|
|
965
|
+
*/
|
|
966
|
+
export interface Publisher {
|
|
967
|
+
/**
|
|
968
|
+
* The identifier value. Discriminated union — exactly one member is set.
|
|
969
|
+
* GA supports `domain` only; other identifier types are added as new members
|
|
970
|
+
* (backward-compatible) in a later task.
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
value: Identifier | undefined;
|
|
974
|
+
/**
|
|
975
|
+
* The identifier type. `DOMAIN` is the only supported value.
|
|
976
|
+
* @public
|
|
977
|
+
*/
|
|
978
|
+
identifierType?: IdentifierType | undefined;
|
|
979
|
+
/**
|
|
980
|
+
* The domain verification status of the publisher:
|
|
981
|
+
*
|
|
982
|
+
* - `ACTION_REQUIRED`: The registry is waiting to find the DNS TXT record described by
|
|
983
|
+
* `domainChallenge`.
|
|
984
|
+
* - `ACTIVE`: The domain is verified. You can associate registry records with the publisher.
|
|
985
|
+
* - `SUSPENDED`: The domain was verified, but a later check found the TXT record missing or
|
|
986
|
+
* changed. The publisher returns to `ACTIVE` when the record is found again, and becomes
|
|
987
|
+
* `FAILED` if the record stays missing.
|
|
988
|
+
* - `FAILED`: Verification didn't succeed, for example because the TXT record wasn't found
|
|
989
|
+
* in time or another account verified the domain first. Call `ValidatePublisher` to try
|
|
990
|
+
* again.
|
|
991
|
+
* - `DELETING`: A delete is in progress.
|
|
992
|
+
* @public
|
|
993
|
+
*/
|
|
994
|
+
status: VerificationStatus | undefined;
|
|
995
|
+
/**
|
|
996
|
+
* The reason for the publisher's current status, such as why verification failed. Present
|
|
997
|
+
* only when a reason is available.
|
|
998
|
+
* @public
|
|
999
|
+
*/
|
|
1000
|
+
statusReason?: string | undefined;
|
|
1001
|
+
/**
|
|
1002
|
+
* Server-generated DNS-01 challenge the caller must publish to prove ownership.
|
|
1003
|
+
* @public
|
|
1004
|
+
*/
|
|
1005
|
+
domainChallenge?: DomainChallenge | undefined;
|
|
1006
|
+
/**
|
|
1007
|
+
* The tags attached to the publisher.
|
|
1008
|
+
* @public
|
|
1009
|
+
*/
|
|
1010
|
+
tags?: Record<string, string> | undefined;
|
|
1011
|
+
/**
|
|
1012
|
+
* The date and time that the publisher was created.
|
|
1013
|
+
* @public
|
|
1014
|
+
*/
|
|
1015
|
+
createdAt: Date | undefined;
|
|
1016
|
+
/**
|
|
1017
|
+
* The date and time that the publisher was last updated.
|
|
1018
|
+
* @public
|
|
1019
|
+
*/
|
|
1020
|
+
updatedAt: Date | undefined;
|
|
1021
|
+
/**
|
|
1022
|
+
* ARN for an Identifier resource. Global (region-less) resource, so the region field is
|
|
1023
|
+
* empty; the resource segment carries the identifier value, which may contain dots.
|
|
1024
|
+
*
|
|
1025
|
+
* Named `PublisherIdentifierArn` (RegionalCP's local name) so RegionalCP consumes it
|
|
1026
|
+
* without a rename — which keeps its c2j/SDK model (generated from the un-projected
|
|
1027
|
+
* source, where the top-level c2j plugin runs to preserve @idempotencyToken) showing the
|
|
1028
|
+
* correct shape name. GlobalCP renames this to `identifierArn` in its own coral-export
|
|
1029
|
+
* projection.
|
|
1030
|
+
* @public
|
|
1031
|
+
*/
|
|
1032
|
+
publisherArn: string | undefined;
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
* @public
|
|
1036
|
+
*/
|
|
1037
|
+
export interface ListPublishersRequest {
|
|
1038
|
+
/**
|
|
1039
|
+
* <p>Maximum number of items to be listed</p>
|
|
1040
|
+
* @public
|
|
1041
|
+
*/
|
|
1042
|
+
maxResults?: number | undefined;
|
|
1043
|
+
/**
|
|
1044
|
+
* <p>Opaque continuation token of previous paginated response</p>
|
|
1045
|
+
* @public
|
|
1046
|
+
*/
|
|
1047
|
+
nextToken?: string | undefined;
|
|
1048
|
+
}
|
|
1049
|
+
/**
|
|
1050
|
+
* Lightweight projection for list results.
|
|
1051
|
+
* @public
|
|
1052
|
+
*/
|
|
1053
|
+
export interface PublisherSummary {
|
|
1054
|
+
/**
|
|
1055
|
+
* The identifier value. Discriminated union — exactly one member is set.
|
|
1056
|
+
* GA supports `domain` only; other identifier types are added as new members
|
|
1057
|
+
* (backward-compatible) in a later task.
|
|
1058
|
+
* @public
|
|
1059
|
+
*/
|
|
1060
|
+
value: Identifier | undefined;
|
|
1061
|
+
/**
|
|
1062
|
+
* The identifier type. `DOMAIN` is the only supported value.
|
|
1063
|
+
* @public
|
|
1064
|
+
*/
|
|
1065
|
+
identifierType?: IdentifierType | undefined;
|
|
1066
|
+
/**
|
|
1067
|
+
* The domain verification status of the publisher: `ACTION_REQUIRED`, `ACTIVE`, `SUSPENDED`,
|
|
1068
|
+
* `FAILED`, or `DELETING`. Only an `ACTIVE` publisher accepts new registry record associations.
|
|
1069
|
+
* @public
|
|
1070
|
+
*/
|
|
1071
|
+
status: VerificationStatus | undefined;
|
|
1072
|
+
/**
|
|
1073
|
+
* The date and time that the publisher was created.
|
|
1074
|
+
* @public
|
|
1075
|
+
*/
|
|
1076
|
+
createdAt: Date | undefined;
|
|
1077
|
+
/**
|
|
1078
|
+
* ARN for an Identifier resource. Global (region-less) resource, so the region field is
|
|
1079
|
+
* empty; the resource segment carries the identifier value, which may contain dots.
|
|
1080
|
+
*
|
|
1081
|
+
* Named `PublisherIdentifierArn` (RegionalCP's local name) so RegionalCP consumes it
|
|
1082
|
+
* without a rename — which keeps its c2j/SDK model (generated from the un-projected
|
|
1083
|
+
* source, where the top-level c2j plugin runs to preserve @idempotencyToken) showing the
|
|
1084
|
+
* correct shape name. GlobalCP renames this to `identifierArn` in its own coral-export
|
|
1085
|
+
* projection.
|
|
1086
|
+
* @public
|
|
1087
|
+
*/
|
|
1088
|
+
publisherArn: string | undefined;
|
|
1089
|
+
/**
|
|
1090
|
+
* The number of registry records associated with the publisher, in any association status.
|
|
1091
|
+
* Omitted when the count isn't available.
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
1094
|
+
associationCount?: number | undefined;
|
|
1095
|
+
/**
|
|
1096
|
+
* The number of the publisher's associations that are in PENDING_APPROVAL. Omitted when the
|
|
1097
|
+
* count isn't available.
|
|
1098
|
+
* @public
|
|
1099
|
+
*/
|
|
1100
|
+
pendingAssociationApprovalCount?: number | undefined;
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* @public
|
|
1104
|
+
*/
|
|
1105
|
+
export interface ListPublishersResponse {
|
|
1106
|
+
/**
|
|
1107
|
+
* Summaries of the publishers on this page of results.
|
|
1108
|
+
* @public
|
|
1109
|
+
*/
|
|
1110
|
+
items: PublisherSummary[] | undefined;
|
|
1111
|
+
/**
|
|
1112
|
+
* <p>Opaque continuation token of previous paginated response</p>
|
|
1113
|
+
* @public
|
|
1114
|
+
*/
|
|
1115
|
+
nextToken?: string | undefined;
|
|
1116
|
+
}
|
|
1117
|
+
/**
|
|
1118
|
+
* @public
|
|
1119
|
+
*/
|
|
1120
|
+
export interface ValidatePublisherRequest {
|
|
1121
|
+
/**
|
|
1122
|
+
* ARN for an Identifier resource. Global (region-less) resource, so the region field is
|
|
1123
|
+
* empty; the resource segment carries the identifier value, which may contain dots.
|
|
1124
|
+
*
|
|
1125
|
+
* Named `PublisherIdentifierArn` (RegionalCP's local name) so RegionalCP consumes it
|
|
1126
|
+
* without a rename — which keeps its c2j/SDK model (generated from the un-projected
|
|
1127
|
+
* source, where the top-level c2j plugin runs to preserve @idempotencyToken) showing the
|
|
1128
|
+
* correct shape name. GlobalCP renames this to `identifierArn` in its own coral-export
|
|
1129
|
+
* projection.
|
|
1130
|
+
* @public
|
|
1131
|
+
*/
|
|
1132
|
+
publisherArn: string | undefined;
|
|
1133
|
+
}
|
|
1134
|
+
/**
|
|
1135
|
+
* The publisher after verification restarts, in ACTION_REQUIRED with a new domainChallenge.
|
|
1136
|
+
* @public
|
|
1137
|
+
*/
|
|
1138
|
+
export interface ValidatePublisherResponse {
|
|
1139
|
+
/**
|
|
1140
|
+
* The identifier value. Discriminated union — exactly one member is set.
|
|
1141
|
+
* GA supports `domain` only; other identifier types are added as new members
|
|
1142
|
+
* (backward-compatible) in a later task.
|
|
1143
|
+
* @public
|
|
1144
|
+
*/
|
|
1145
|
+
value: Identifier | undefined;
|
|
1146
|
+
/**
|
|
1147
|
+
* The identifier type. `DOMAIN` is the only supported value.
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1150
|
+
identifierType?: IdentifierType | undefined;
|
|
1151
|
+
/**
|
|
1152
|
+
* The domain verification status of the publisher:
|
|
1153
|
+
*
|
|
1154
|
+
* - `ACTION_REQUIRED`: The registry is waiting to find the DNS TXT record described by
|
|
1155
|
+
* `domainChallenge`.
|
|
1156
|
+
* - `ACTIVE`: The domain is verified. You can associate registry records with the publisher.
|
|
1157
|
+
* - `SUSPENDED`: The domain was verified, but a later check found the TXT record missing or
|
|
1158
|
+
* changed. The publisher returns to `ACTIVE` when the record is found again, and becomes
|
|
1159
|
+
* `FAILED` if the record stays missing.
|
|
1160
|
+
* - `FAILED`: Verification didn't succeed, for example because the TXT record wasn't found
|
|
1161
|
+
* in time or another account verified the domain first. Call `ValidatePublisher` to try
|
|
1162
|
+
* again.
|
|
1163
|
+
* - `DELETING`: A delete is in progress.
|
|
1164
|
+
* @public
|
|
1165
|
+
*/
|
|
1166
|
+
status: VerificationStatus | undefined;
|
|
1167
|
+
/**
|
|
1168
|
+
* The reason for the publisher's current status, such as why verification failed. Present
|
|
1169
|
+
* only when a reason is available.
|
|
1170
|
+
* @public
|
|
1171
|
+
*/
|
|
1172
|
+
statusReason?: string | undefined;
|
|
1173
|
+
/**
|
|
1174
|
+
* Server-generated DNS-01 challenge the caller must publish to prove ownership.
|
|
1175
|
+
* @public
|
|
1176
|
+
*/
|
|
1177
|
+
domainChallenge?: DomainChallenge | undefined;
|
|
1178
|
+
/**
|
|
1179
|
+
* The tags attached to the publisher.
|
|
1180
|
+
* @public
|
|
1181
|
+
*/
|
|
1182
|
+
tags?: Record<string, string> | undefined;
|
|
1183
|
+
/**
|
|
1184
|
+
* The date and time that the publisher was created.
|
|
1185
|
+
* @public
|
|
1186
|
+
*/
|
|
1187
|
+
createdAt: Date | undefined;
|
|
1188
|
+
/**
|
|
1189
|
+
* The date and time that the publisher was last updated.
|
|
1190
|
+
* @public
|
|
1191
|
+
*/
|
|
1192
|
+
updatedAt: Date | undefined;
|
|
1193
|
+
/**
|
|
1194
|
+
* ARN for an Identifier resource. Global (region-less) resource, so the region field is
|
|
1195
|
+
* empty; the resource segment carries the identifier value, which may contain dots.
|
|
1196
|
+
*
|
|
1197
|
+
* Named `PublisherIdentifierArn` (RegionalCP's local name) so RegionalCP consumes it
|
|
1198
|
+
* without a rename — which keeps its c2j/SDK model (generated from the un-projected
|
|
1199
|
+
* source, where the top-level c2j plugin runs to preserve @idempotencyToken) showing the
|
|
1200
|
+
* correct shape name. GlobalCP renames this to `identifierArn` in its own coral-export
|
|
1201
|
+
* projection.
|
|
1202
|
+
* @public
|
|
1203
|
+
*/
|
|
1204
|
+
publisherArn: string | undefined;
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
* <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>
|
|
1208
|
+
* @public
|
|
1209
|
+
*/
|
|
1210
|
+
export interface RegistryRecordArtifactUpload {
|
|
1211
|
+
/**
|
|
1212
|
+
* <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>
|
|
1213
|
+
* @public
|
|
1214
|
+
*/
|
|
1215
|
+
content: Uint8Array | undefined;
|
|
1216
|
+
/**
|
|
1217
|
+
* <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>
|
|
1218
|
+
* @public
|
|
1219
|
+
*/
|
|
1220
|
+
sha256?: string | undefined;
|
|
1221
|
+
}
|
|
550
1222
|
/**
|
|
551
1223
|
* <p>Markdown-format descriptor containing an agent skills document.</p>
|
|
552
1224
|
* @public
|
|
@@ -563,13 +1235,68 @@ export interface AgentSkillsMdDescriptor {
|
|
|
563
1235
|
*/
|
|
564
1236
|
dataSchemaVersion?: string | undefined;
|
|
565
1237
|
/**
|
|
566
|
-
* <p>The optional source
|
|
1238
|
+
* <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>
|
|
567
1239
|
* @public
|
|
568
1240
|
*/
|
|
569
1241
|
source?: DescriptorSource | undefined;
|
|
570
1242
|
}
|
|
571
1243
|
/**
|
|
572
|
-
* <p>
|
|
1244
|
+
* <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>
|
|
1245
|
+
* @public
|
|
1246
|
+
*/
|
|
1247
|
+
export interface AgentSkillsPackageDescriptor {
|
|
1248
|
+
/**
|
|
1249
|
+
* <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>
|
|
1250
|
+
* @public
|
|
1251
|
+
*/
|
|
1252
|
+
source?: DescriptorSource | undefined;
|
|
1253
|
+
}
|
|
1254
|
+
/**
|
|
1255
|
+
* <p>The settings of a source that the registry reads from Amazon S3.</p>
|
|
1256
|
+
* @public
|
|
1257
|
+
*/
|
|
1258
|
+
export interface S3SourceConfiguration {
|
|
1259
|
+
/**
|
|
1260
|
+
* <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>
|
|
1261
|
+
* @public
|
|
1262
|
+
*/
|
|
1263
|
+
bucketOwnerAccountId?: string | undefined;
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* <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>
|
|
1267
|
+
* @public
|
|
1268
|
+
*/
|
|
1269
|
+
export type AgentSkillsSourceConfiguration = AgentSkillsSourceConfiguration.S3Member | AgentSkillsSourceConfiguration.$UnknownMember;
|
|
1270
|
+
/**
|
|
1271
|
+
* @public
|
|
1272
|
+
*/
|
|
1273
|
+
export declare namespace AgentSkillsSourceConfiguration {
|
|
1274
|
+
/**
|
|
1275
|
+
* <p>The settings of an Amazon S3 source.</p>
|
|
1276
|
+
* @public
|
|
1277
|
+
*/
|
|
1278
|
+
interface S3Member {
|
|
1279
|
+
s3: S3SourceConfiguration;
|
|
1280
|
+
$unknown?: never;
|
|
1281
|
+
}
|
|
1282
|
+
/**
|
|
1283
|
+
* @public
|
|
1284
|
+
*/
|
|
1285
|
+
interface $UnknownMember {
|
|
1286
|
+
s3?: never;
|
|
1287
|
+
$unknown: [string, any];
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
* @deprecated unused in schema-serde mode.
|
|
1291
|
+
*
|
|
1292
|
+
*/
|
|
1293
|
+
interface Visitor<T> {
|
|
1294
|
+
s3: (value: S3SourceConfiguration) => T;
|
|
1295
|
+
_: (name: string, value: any) => T;
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* <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
1300
|
* @public
|
|
574
1301
|
*/
|
|
575
1302
|
export interface AgentSkillsAdditionalData {
|
|
@@ -578,6 +1305,21 @@ export interface AgentSkillsAdditionalData {
|
|
|
578
1305
|
* @public
|
|
579
1306
|
*/
|
|
580
1307
|
skillMd?: AgentSkillsMdDescriptor | undefined;
|
|
1308
|
+
/**
|
|
1309
|
+
* <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>
|
|
1310
|
+
* @public
|
|
1311
|
+
*/
|
|
1312
|
+
skillPackage?: AgentSkillsPackageDescriptor | undefined;
|
|
1313
|
+
/**
|
|
1314
|
+
* <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>
|
|
1315
|
+
* @public
|
|
1316
|
+
*/
|
|
1317
|
+
repositoryProvider?: AgentSkillsRepositoryProvider | undefined;
|
|
1318
|
+
/**
|
|
1319
|
+
* <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>
|
|
1320
|
+
* @public
|
|
1321
|
+
*/
|
|
1322
|
+
sourceConfiguration?: AgentSkillsSourceConfiguration | undefined;
|
|
581
1323
|
}
|
|
582
1324
|
/**
|
|
583
1325
|
* <p>Descriptor that defines an agent skills registry record and its associated content.</p>
|
|
@@ -639,34 +1381,71 @@ export interface HttpDescriptor {
|
|
|
639
1381
|
*/
|
|
640
1382
|
export interface McpToolsDescriptor {
|
|
641
1383
|
/**
|
|
642
|
-
* <p>The MCP tools descriptor content, serialized as descriptor payload data.</p>
|
|
1384
|
+
* <p>The MCP tools descriptor content, serialized as descriptor payload data.</p>
|
|
1385
|
+
* @public
|
|
1386
|
+
*/
|
|
1387
|
+
data?: string | undefined;
|
|
1388
|
+
/**
|
|
1389
|
+
* <p>The schema version of the descriptor payload.</p>
|
|
1390
|
+
* @public
|
|
1391
|
+
*/
|
|
1392
|
+
dataSchemaVersion?: string | undefined;
|
|
1393
|
+
}
|
|
1394
|
+
/**
|
|
1395
|
+
* <p>Additional data for an MCP server descriptor</p>
|
|
1396
|
+
* @public
|
|
1397
|
+
*/
|
|
1398
|
+
export interface McpServerAdditionalData {
|
|
1399
|
+
/**
|
|
1400
|
+
* <p>The MCP tools descriptor that defines the tools exposed by the MCP server.</p>
|
|
1401
|
+
* @public
|
|
1402
|
+
*/
|
|
1403
|
+
tools?: McpToolsDescriptor | undefined;
|
|
1404
|
+
}
|
|
1405
|
+
/**
|
|
1406
|
+
* <p>Descriptor that defines the content of an MCP (Model Context Protocol) server registry record, including the server definition and its tool definitions. The content is validated against the MCP protocol schema.</p>
|
|
1407
|
+
* @public
|
|
1408
|
+
*/
|
|
1409
|
+
export interface McpServerDescriptor {
|
|
1410
|
+
/**
|
|
1411
|
+
* <p>The MCP server descriptor content, serialized as descriptor payload data.</p>
|
|
1412
|
+
* @public
|
|
1413
|
+
*/
|
|
1414
|
+
data?: string | undefined;
|
|
1415
|
+
/**
|
|
1416
|
+
* <p>The schema version of the descriptor payload.</p>
|
|
1417
|
+
* @public
|
|
1418
|
+
*/
|
|
1419
|
+
dataSchemaVersion?: string | undefined;
|
|
1420
|
+
/**
|
|
1421
|
+
* <p>Additional data associated with the MCP server descriptor, such as tool definitions.</p>
|
|
643
1422
|
* @public
|
|
644
1423
|
*/
|
|
645
|
-
|
|
1424
|
+
additionalData?: McpServerAdditionalData | undefined;
|
|
646
1425
|
/**
|
|
647
|
-
* <p>The
|
|
1426
|
+
* <p>The optional source configuration used to synchronize the MCP server descriptor content.</p>
|
|
648
1427
|
* @public
|
|
649
1428
|
*/
|
|
650
|
-
|
|
1429
|
+
source?: DescriptorSource | undefined;
|
|
651
1430
|
}
|
|
652
1431
|
/**
|
|
653
|
-
* <p>
|
|
1432
|
+
* <p>The additional data for a signature agent card descriptor, such as the bot category of the web bot.</p>
|
|
654
1433
|
* @public
|
|
655
1434
|
*/
|
|
656
|
-
export interface
|
|
1435
|
+
export interface SignatureAgentCardAdditionalData {
|
|
657
1436
|
/**
|
|
658
|
-
* <p>The
|
|
1437
|
+
* <p>The bot category that describes the purpose of the web bot identified by the signature agent card descriptor.</p>
|
|
659
1438
|
* @public
|
|
660
1439
|
*/
|
|
661
|
-
|
|
1440
|
+
category?: BotCategory | undefined;
|
|
662
1441
|
}
|
|
663
1442
|
/**
|
|
664
|
-
* <p>Descriptor that defines the content of
|
|
1443
|
+
* <p>Descriptor that defines the content of a signature agent card, which identifies a web bot and references the JSON Web Key Set used to verify its HTTP message signatures.</p>
|
|
665
1444
|
* @public
|
|
666
1445
|
*/
|
|
667
|
-
export interface
|
|
1446
|
+
export interface SignatureAgentCardDescriptor {
|
|
668
1447
|
/**
|
|
669
|
-
* <p>The
|
|
1448
|
+
* <p>The signature agent card content, serialized as descriptor payload data.</p>
|
|
670
1449
|
* @public
|
|
671
1450
|
*/
|
|
672
1451
|
data?: string | undefined;
|
|
@@ -676,15 +1455,15 @@ export interface McpServerDescriptor {
|
|
|
676
1455
|
*/
|
|
677
1456
|
dataSchemaVersion?: string | undefined;
|
|
678
1457
|
/**
|
|
679
|
-
* <p>
|
|
1458
|
+
* <p>The optional source configuration used to synchronize the signature agent card descriptor content.</p>
|
|
680
1459
|
* @public
|
|
681
1460
|
*/
|
|
682
|
-
|
|
1461
|
+
source?: DescriptorSource | undefined;
|
|
683
1462
|
/**
|
|
684
|
-
* <p>
|
|
1463
|
+
* <p>Additional data associated with the signature agent card descriptor, such as the bot category.</p>
|
|
685
1464
|
* @public
|
|
686
1465
|
*/
|
|
687
|
-
|
|
1466
|
+
additionalData?: SignatureAgentCardAdditionalData | undefined;
|
|
688
1467
|
}
|
|
689
1468
|
/**
|
|
690
1469
|
* <p>The typed set of descriptors for a registry record. Exactly one descriptor field is populated based on the record type.</p>
|
|
@@ -721,6 +1500,11 @@ export interface Descriptors {
|
|
|
721
1500
|
* @public
|
|
722
1501
|
*/
|
|
723
1502
|
agui?: AgUiDescriptor | undefined;
|
|
1503
|
+
/**
|
|
1504
|
+
* <p>The signature agent card descriptor, populated when the record type is WEB_BOT.</p>
|
|
1505
|
+
* @public
|
|
1506
|
+
*/
|
|
1507
|
+
signatureAgentCard?: SignatureAgentCardDescriptor | undefined;
|
|
724
1508
|
}
|
|
725
1509
|
/**
|
|
726
1510
|
* <p>The details about the upstream source from which a registry record was detected. Exactly one member is populated, corresponding to the source type.</p>
|
|
@@ -827,6 +1611,11 @@ export interface CreateRegistryRecordRequest {
|
|
|
827
1611
|
* @public
|
|
828
1612
|
*/
|
|
829
1613
|
descriptors: Descriptors | undefined;
|
|
1614
|
+
/**
|
|
1615
|
+
* <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>
|
|
1616
|
+
* @public
|
|
1617
|
+
*/
|
|
1618
|
+
artifact?: RegistryRecordArtifactUpload | undefined;
|
|
830
1619
|
/**
|
|
831
1620
|
* <p>The version of the registry record</p>
|
|
832
1621
|
* @public
|
|
@@ -853,6 +1642,65 @@ export interface CreateRegistryRecordRequest {
|
|
|
853
1642
|
*/
|
|
854
1643
|
tags?: Record<string, string> | undefined;
|
|
855
1644
|
}
|
|
1645
|
+
/**
|
|
1646
|
+
* <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>
|
|
1647
|
+
* @public
|
|
1648
|
+
*/
|
|
1649
|
+
export interface OAuth2AuthorizationData {
|
|
1650
|
+
/**
|
|
1651
|
+
* <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>
|
|
1652
|
+
* @public
|
|
1653
|
+
*/
|
|
1654
|
+
authorizationUrl: string | undefined;
|
|
1655
|
+
/**
|
|
1656
|
+
* <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>
|
|
1657
|
+
* @public
|
|
1658
|
+
*/
|
|
1659
|
+
userId?: string | undefined;
|
|
1660
|
+
/**
|
|
1661
|
+
* <p>The identifier of this authorization attempt.</p>
|
|
1662
|
+
* @public
|
|
1663
|
+
*/
|
|
1664
|
+
authorizationAttemptId?: string | undefined;
|
|
1665
|
+
/**
|
|
1666
|
+
* <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>
|
|
1667
|
+
* @public
|
|
1668
|
+
*/
|
|
1669
|
+
expiresAt?: Date | undefined;
|
|
1670
|
+
}
|
|
1671
|
+
/**
|
|
1672
|
+
* <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>
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1675
|
+
export type AuthorizationData = AuthorizationData.Oauth2Member | AuthorizationData.$UnknownMember;
|
|
1676
|
+
/**
|
|
1677
|
+
* @public
|
|
1678
|
+
*/
|
|
1679
|
+
export declare namespace AuthorizationData {
|
|
1680
|
+
/**
|
|
1681
|
+
* <p>The OAuth 2.0 authorization that a GitHub user must approve.</p>
|
|
1682
|
+
* @public
|
|
1683
|
+
*/
|
|
1684
|
+
interface Oauth2Member {
|
|
1685
|
+
oauth2: OAuth2AuthorizationData;
|
|
1686
|
+
$unknown?: never;
|
|
1687
|
+
}
|
|
1688
|
+
/**
|
|
1689
|
+
* @public
|
|
1690
|
+
*/
|
|
1691
|
+
interface $UnknownMember {
|
|
1692
|
+
oauth2?: never;
|
|
1693
|
+
$unknown: [string, any];
|
|
1694
|
+
}
|
|
1695
|
+
/**
|
|
1696
|
+
* @deprecated unused in schema-serde mode.
|
|
1697
|
+
*
|
|
1698
|
+
*/
|
|
1699
|
+
interface Visitor<T> {
|
|
1700
|
+
oauth2: (value: OAuth2AuthorizationData) => T;
|
|
1701
|
+
_: (name: string, value: any) => T;
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
856
1704
|
/**
|
|
857
1705
|
* <p>Response structure for creating a registry record</p>
|
|
858
1706
|
* @public
|
|
@@ -864,10 +1712,15 @@ export interface CreateRegistryRecordResponse {
|
|
|
864
1712
|
*/
|
|
865
1713
|
recordArn: string | undefined;
|
|
866
1714
|
/**
|
|
867
|
-
* <p>The status of the registry record
|
|
1715
|
+
* <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
1716
|
* @public
|
|
869
1717
|
*/
|
|
870
1718
|
status: RegistryRecordStatus | undefined;
|
|
1719
|
+
/**
|
|
1720
|
+
* <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>
|
|
1721
|
+
* @public
|
|
1722
|
+
*/
|
|
1723
|
+
authorizationData?: AuthorizationData | undefined;
|
|
871
1724
|
}
|
|
872
1725
|
/**
|
|
873
1726
|
* @public
|
|
@@ -905,6 +1758,114 @@ export interface GetRegistryRecordRequest {
|
|
|
905
1758
|
*/
|
|
906
1759
|
recordId: string | undefined;
|
|
907
1760
|
}
|
|
1761
|
+
/**
|
|
1762
|
+
* <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>
|
|
1763
|
+
* @public
|
|
1764
|
+
*/
|
|
1765
|
+
export interface RegistryRecordArtifactDownload {
|
|
1766
|
+
/**
|
|
1767
|
+
* <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>
|
|
1768
|
+
* @public
|
|
1769
|
+
*/
|
|
1770
|
+
sha256?: string | undefined;
|
|
1771
|
+
/**
|
|
1772
|
+
* <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>
|
|
1773
|
+
* @public
|
|
1774
|
+
*/
|
|
1775
|
+
downloadUrl?: string | undefined;
|
|
1776
|
+
}
|
|
1777
|
+
/**
|
|
1778
|
+
* <p>A GitHub source that a skill record's content was synchronized from, and the commit that the registry read.</p>
|
|
1779
|
+
* @public
|
|
1780
|
+
*/
|
|
1781
|
+
export interface GitHubSynchronizedSource {
|
|
1782
|
+
/**
|
|
1783
|
+
* <p>The source URL that the registry read.</p>
|
|
1784
|
+
* @public
|
|
1785
|
+
*/
|
|
1786
|
+
url: string | undefined;
|
|
1787
|
+
/**
|
|
1788
|
+
* <p>The timestamp when the registry read the source.</p>
|
|
1789
|
+
* @public
|
|
1790
|
+
*/
|
|
1791
|
+
synchronizedAt: Date | undefined;
|
|
1792
|
+
/**
|
|
1793
|
+
* <p>The commit that the source's branch or tag pointed to when the registry read it.</p>
|
|
1794
|
+
* @public
|
|
1795
|
+
*/
|
|
1796
|
+
commitId: string | undefined;
|
|
1797
|
+
}
|
|
1798
|
+
/**
|
|
1799
|
+
* <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>
|
|
1800
|
+
* @public
|
|
1801
|
+
*/
|
|
1802
|
+
export interface S3SynchronizedSource {
|
|
1803
|
+
/**
|
|
1804
|
+
* <p>The source URL that the registry read.</p>
|
|
1805
|
+
* @public
|
|
1806
|
+
*/
|
|
1807
|
+
url: string | undefined;
|
|
1808
|
+
/**
|
|
1809
|
+
* <p>The timestamp when the registry read the source.</p>
|
|
1810
|
+
* @public
|
|
1811
|
+
*/
|
|
1812
|
+
synchronizedAt: Date | undefined;
|
|
1813
|
+
/**
|
|
1814
|
+
* <p>The version ID of the object that the registry read. Absent when the bucket isn't versioned.</p>
|
|
1815
|
+
* @public
|
|
1816
|
+
*/
|
|
1817
|
+
versionId?: string | undefined;
|
|
1818
|
+
/**
|
|
1819
|
+
* <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>
|
|
1820
|
+
* @public
|
|
1821
|
+
*/
|
|
1822
|
+
eTag?: string | undefined;
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* <p>The source that a skill record's content was last synchronized from. Exactly one member is set, for the source's provider.</p>
|
|
1826
|
+
* @public
|
|
1827
|
+
*/
|
|
1828
|
+
export type RegistryRecordSynchronizedSource = RegistryRecordSynchronizedSource.GitHubMember | RegistryRecordSynchronizedSource.S3Member | RegistryRecordSynchronizedSource.$UnknownMember;
|
|
1829
|
+
/**
|
|
1830
|
+
* @public
|
|
1831
|
+
*/
|
|
1832
|
+
export declare namespace RegistryRecordSynchronizedSource {
|
|
1833
|
+
/**
|
|
1834
|
+
* <p>The Amazon S3 source that the registry read.</p>
|
|
1835
|
+
* @public
|
|
1836
|
+
*/
|
|
1837
|
+
interface S3Member {
|
|
1838
|
+
s3: S3SynchronizedSource;
|
|
1839
|
+
gitHub?: never;
|
|
1840
|
+
$unknown?: never;
|
|
1841
|
+
}
|
|
1842
|
+
/**
|
|
1843
|
+
* <p>The GitHub source that the registry read.</p>
|
|
1844
|
+
* @public
|
|
1845
|
+
*/
|
|
1846
|
+
interface GitHubMember {
|
|
1847
|
+
s3?: never;
|
|
1848
|
+
gitHub: GitHubSynchronizedSource;
|
|
1849
|
+
$unknown?: never;
|
|
1850
|
+
}
|
|
1851
|
+
/**
|
|
1852
|
+
* @public
|
|
1853
|
+
*/
|
|
1854
|
+
interface $UnknownMember {
|
|
1855
|
+
s3?: never;
|
|
1856
|
+
gitHub?: never;
|
|
1857
|
+
$unknown: [string, any];
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* @deprecated unused in schema-serde mode.
|
|
1861
|
+
*
|
|
1862
|
+
*/
|
|
1863
|
+
interface Visitor<T> {
|
|
1864
|
+
s3: (value: S3SynchronizedSource) => T;
|
|
1865
|
+
gitHub: (value: GitHubSynchronizedSource) => T;
|
|
1866
|
+
_: (name: string, value: any) => T;
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
908
1869
|
/**
|
|
909
1870
|
* <p>Response structure for retrieving a registry record</p>
|
|
910
1871
|
* @public
|
|
@@ -946,7 +1907,7 @@ export interface GetRegistryRecordResponse {
|
|
|
946
1907
|
*/
|
|
947
1908
|
recordType: RecordType | undefined;
|
|
948
1909
|
/**
|
|
949
|
-
* <p>The typed descriptors that define the content of the registry record.</p>
|
|
1910
|
+
* <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
1911
|
* @public
|
|
951
1912
|
*/
|
|
952
1913
|
descriptors?: Descriptors | undefined;
|
|
@@ -1000,6 +1961,16 @@ export interface GetRegistryRecordResponse {
|
|
|
1000
1961
|
* @public
|
|
1001
1962
|
*/
|
|
1002
1963
|
customMetadataSchemaComplianceStatus?: CustomMetadataSchemaComplianceStatus | undefined;
|
|
1964
|
+
/**
|
|
1965
|
+
* <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>
|
|
1966
|
+
* @public
|
|
1967
|
+
*/
|
|
1968
|
+
artifact?: RegistryRecordArtifactDownload | undefined;
|
|
1969
|
+
/**
|
|
1970
|
+
* <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>
|
|
1971
|
+
* @public
|
|
1972
|
+
*/
|
|
1973
|
+
synchronizedSource?: RegistryRecordSynchronizedSource | undefined;
|
|
1003
1974
|
}
|
|
1004
1975
|
/**
|
|
1005
1976
|
* <p>A single filter applied to a ListRegistryRecords request.</p>
|
|
@@ -1206,6 +2177,17 @@ export interface SubmitRegistryRecordForApprovalResponse {
|
|
|
1206
2177
|
*/
|
|
1207
2178
|
updatedAt: Date | undefined;
|
|
1208
2179
|
}
|
|
2180
|
+
/**
|
|
2181
|
+
* <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>
|
|
2182
|
+
* @public
|
|
2183
|
+
*/
|
|
2184
|
+
export interface UpdatedRegistryRecordArtifact {
|
|
2185
|
+
/**
|
|
2186
|
+
* <p>The skill package to upload. It replaces the record's current package or its synchronized content.</p>
|
|
2187
|
+
* @public
|
|
2188
|
+
*/
|
|
2189
|
+
optionalValue?: RegistryRecordArtifactUpload | undefined;
|
|
2190
|
+
}
|
|
1209
2191
|
/**
|
|
1210
2192
|
* <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
2193
|
* @public
|
|
@@ -1293,6 +2275,17 @@ export interface UpdatedA2aAgentCardDescriptor {
|
|
|
1293
2275
|
*/
|
|
1294
2276
|
optionalValue?: UpdatedA2aAgentCardDescriptorFields | undefined;
|
|
1295
2277
|
}
|
|
2278
|
+
/**
|
|
2279
|
+
* <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>
|
|
2280
|
+
* @public
|
|
2281
|
+
*/
|
|
2282
|
+
export interface UpdatedAgentSkillsRepositoryProvider {
|
|
2283
|
+
/**
|
|
2284
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
2285
|
+
* @public
|
|
2286
|
+
*/
|
|
2287
|
+
optionalValue?: AgentSkillsRepositoryProvider | undefined;
|
|
2288
|
+
}
|
|
1296
2289
|
/**
|
|
1297
2290
|
* <p>The set of agent skills markdown descriptor fields that can be individually updated.</p>
|
|
1298
2291
|
* @public
|
|
@@ -1325,6 +2318,28 @@ export interface UpdatedAgentSkillsMdDescriptor {
|
|
|
1325
2318
|
*/
|
|
1326
2319
|
optionalValue?: UpdatedAgentSkillsMdDescriptorFields | undefined;
|
|
1327
2320
|
}
|
|
2321
|
+
/**
|
|
2322
|
+
* <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>
|
|
2323
|
+
* @public
|
|
2324
|
+
*/
|
|
2325
|
+
export interface UpdatedAgentSkillsPackageDescriptor {
|
|
2326
|
+
/**
|
|
2327
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
2328
|
+
* @public
|
|
2329
|
+
*/
|
|
2330
|
+
optionalValue?: AgentSkillsPackageDescriptor | undefined;
|
|
2331
|
+
}
|
|
2332
|
+
/**
|
|
2333
|
+
* <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>
|
|
2334
|
+
* @public
|
|
2335
|
+
*/
|
|
2336
|
+
export interface UpdatedAgentSkillsSourceConfiguration {
|
|
2337
|
+
/**
|
|
2338
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
2339
|
+
* @public
|
|
2340
|
+
*/
|
|
2341
|
+
optionalValue?: AgentSkillsSourceConfiguration | undefined;
|
|
2342
|
+
}
|
|
1328
2343
|
/**
|
|
1329
2344
|
* <p>The set of agent skills additional-data fields that can be individually updated.</p>
|
|
1330
2345
|
* @public
|
|
@@ -1335,6 +2350,21 @@ export interface UpdatedAgentSkillsAdditionalDataFields {
|
|
|
1335
2350
|
* @public
|
|
1336
2351
|
*/
|
|
1337
2352
|
skillMd?: UpdatedAgentSkillsMdDescriptor | undefined;
|
|
2353
|
+
/**
|
|
2354
|
+
* <p>The patch for the skill package source field.</p>
|
|
2355
|
+
* @public
|
|
2356
|
+
*/
|
|
2357
|
+
skillPackage?: UpdatedAgentSkillsPackageDescriptor | undefined;
|
|
2358
|
+
/**
|
|
2359
|
+
* <p>The patch for the repository provider field.</p>
|
|
2360
|
+
* @public
|
|
2361
|
+
*/
|
|
2362
|
+
repositoryProvider?: UpdatedAgentSkillsRepositoryProvider | undefined;
|
|
2363
|
+
/**
|
|
2364
|
+
* <p>The patch for the source configuration field.</p>
|
|
2365
|
+
* @public
|
|
2366
|
+
*/
|
|
2367
|
+
sourceConfiguration?: UpdatedAgentSkillsSourceConfiguration | undefined;
|
|
1338
2368
|
}
|
|
1339
2369
|
/**
|
|
1340
2370
|
* <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>
|
|
@@ -1531,6 +2561,76 @@ export interface UpdatedMcpServerDescriptor {
|
|
|
1531
2561
|
*/
|
|
1532
2562
|
optionalValue?: UpdatedMcpServerDescriptorFields | undefined;
|
|
1533
2563
|
}
|
|
2564
|
+
/**
|
|
2565
|
+
* <p>Leaf patch wrapper for a bot category. Omit to leave unchanged; supply an empty object to unset; supply optionalValue to set.</p>
|
|
2566
|
+
* @public
|
|
2567
|
+
*/
|
|
2568
|
+
export interface UpdatedBotCategory {
|
|
2569
|
+
/**
|
|
2570
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
2571
|
+
* @public
|
|
2572
|
+
*/
|
|
2573
|
+
optionalValue?: BotCategory | undefined;
|
|
2574
|
+
}
|
|
2575
|
+
/**
|
|
2576
|
+
* <p>The set of signature agent card additional-data fields that can be individually updated.</p>
|
|
2577
|
+
* @public
|
|
2578
|
+
*/
|
|
2579
|
+
export interface UpdatedSignatureAgentCardAdditionalDataFields {
|
|
2580
|
+
/**
|
|
2581
|
+
* <p>The patch for the bot category field.</p>
|
|
2582
|
+
* @public
|
|
2583
|
+
*/
|
|
2584
|
+
category?: UpdatedBotCategory | undefined;
|
|
2585
|
+
}
|
|
2586
|
+
/**
|
|
2587
|
+
* <p>The signature agent card 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>
|
|
2588
|
+
* @public
|
|
2589
|
+
*/
|
|
2590
|
+
export interface UpdatedSignatureAgentCardAdditionalData {
|
|
2591
|
+
/**
|
|
2592
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
2593
|
+
* @public
|
|
2594
|
+
*/
|
|
2595
|
+
optionalValue?: UpdatedSignatureAgentCardAdditionalDataFields | undefined;
|
|
2596
|
+
}
|
|
2597
|
+
/**
|
|
2598
|
+
* <p>The set of signature agent card descriptor fields that can be individually updated.</p>
|
|
2599
|
+
* @public
|
|
2600
|
+
*/
|
|
2601
|
+
export interface UpdatedSignatureAgentCardDescriptorFields {
|
|
2602
|
+
/**
|
|
2603
|
+
* <p>The patch for the descriptor's data field.</p>
|
|
2604
|
+
* @public
|
|
2605
|
+
*/
|
|
2606
|
+
data?: UpdatedDescriptorData | undefined;
|
|
2607
|
+
/**
|
|
2608
|
+
* <p>The patch for the descriptor's data schema version field.</p>
|
|
2609
|
+
* @public
|
|
2610
|
+
*/
|
|
2611
|
+
dataSchemaVersion?: UpdatedDataSchemaVersion | undefined;
|
|
2612
|
+
/**
|
|
2613
|
+
* <p>The patch for the descriptor's source field.</p>
|
|
2614
|
+
* @public
|
|
2615
|
+
*/
|
|
2616
|
+
source?: UpdatedDescriptorSource | undefined;
|
|
2617
|
+
/**
|
|
2618
|
+
* <p>The patch for the descriptor's additional data field.</p>
|
|
2619
|
+
* @public
|
|
2620
|
+
*/
|
|
2621
|
+
additionalData?: UpdatedSignatureAgentCardAdditionalData | undefined;
|
|
2622
|
+
}
|
|
2623
|
+
/**
|
|
2624
|
+
* <p>The signature agent card descriptor patch wrapper. Omit to leave the descriptor unchanged; supply an empty object to remove it; supply optionalValue to patch its fields.</p>
|
|
2625
|
+
* @public
|
|
2626
|
+
*/
|
|
2627
|
+
export interface UpdatedSignatureAgentCardDescriptor {
|
|
2628
|
+
/**
|
|
2629
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
2630
|
+
* @public
|
|
2631
|
+
*/
|
|
2632
|
+
optionalValue?: UpdatedSignatureAgentCardDescriptorFields | undefined;
|
|
2633
|
+
}
|
|
1534
2634
|
/**
|
|
1535
2635
|
* <p>The patchable descriptor fields applied during an UpdateRegistryRecord call. Each field is independently patchable.</p>
|
|
1536
2636
|
* @public
|
|
@@ -1566,6 +2666,11 @@ export interface UpdatedDescriptorsFields {
|
|
|
1566
2666
|
* @public
|
|
1567
2667
|
*/
|
|
1568
2668
|
agui?: UpdatedAgUiDescriptor | undefined;
|
|
2669
|
+
/**
|
|
2670
|
+
* <p>The patch for the signature agent card descriptor.</p>
|
|
2671
|
+
* @public
|
|
2672
|
+
*/
|
|
2673
|
+
signatureAgentCard?: UpdatedSignatureAgentCardDescriptor | undefined;
|
|
1569
2674
|
}
|
|
1570
2675
|
/**
|
|
1571
2676
|
* <p>The top-level descriptors patch wrapper used in UpdateRegistryRecord. Omit to leave the current descriptors unchanged; supply an empty object to clear them; supply optionalValue to apply a per-field patch.</p>
|
|
@@ -1628,6 +2733,11 @@ export interface UpdateRegistryRecordRequest {
|
|
|
1628
2733
|
* @public
|
|
1629
2734
|
*/
|
|
1630
2735
|
descriptors?: UpdatedDescriptors | undefined;
|
|
2736
|
+
/**
|
|
2737
|
+
* <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>
|
|
2738
|
+
* @public
|
|
2739
|
+
*/
|
|
2740
|
+
artifact?: UpdatedRegistryRecordArtifact | undefined;
|
|
1631
2741
|
/**
|
|
1632
2742
|
* <p>The updated version of the registry record. Omit to leave the version unchanged.</p>
|
|
1633
2743
|
* @public
|
|
@@ -1639,10 +2749,15 @@ export interface UpdateRegistryRecordRequest {
|
|
|
1639
2749
|
*/
|
|
1640
2750
|
customMetadata?: UpdatedCustomMetadataMap | undefined;
|
|
1641
2751
|
/**
|
|
1642
|
-
* <p>
|
|
2752
|
+
* <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
2753
|
* @public
|
|
1644
2754
|
*/
|
|
1645
2755
|
triggerSynchronization?: boolean | undefined;
|
|
2756
|
+
/**
|
|
2757
|
+
* <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>
|
|
2758
|
+
* @public
|
|
2759
|
+
*/
|
|
2760
|
+
forceAuthentication?: boolean | undefined;
|
|
1646
2761
|
/**
|
|
1647
2762
|
* <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
2763
|
* @public
|
|
@@ -1700,7 +2815,7 @@ export interface UpdateRegistryRecordResponse {
|
|
|
1700
2815
|
*/
|
|
1701
2816
|
recordVersion?: string | undefined;
|
|
1702
2817
|
/**
|
|
1703
|
-
* <p>The lifecycle status of the registry record
|
|
2818
|
+
* <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
2819
|
* @public
|
|
1705
2820
|
*/
|
|
1706
2821
|
status: RegistryRecordStatus | undefined;
|
|
@@ -1744,6 +2859,11 @@ export interface UpdateRegistryRecordResponse {
|
|
|
1744
2859
|
* @public
|
|
1745
2860
|
*/
|
|
1746
2861
|
customMetadataSchemaComplianceStatus?: CustomMetadataSchemaComplianceStatus | undefined;
|
|
2862
|
+
/**
|
|
2863
|
+
* <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>
|
|
2864
|
+
* @public
|
|
2865
|
+
*/
|
|
2866
|
+
authorizationData?: AuthorizationData | undefined;
|
|
1747
2867
|
}
|
|
1748
2868
|
/**
|
|
1749
2869
|
* @public
|