Skip to content

Commit b78fd33

Browse files
author
AWS
committed
Partner Central Account API Update: Adding Verification API's to Partner Central Account SDK.
1 parent f7d0272 commit b78fd33

File tree

2 files changed

+283
-2
lines changed

2 files changed

+283
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Partner Central Account API",
4+
"contributor": "",
5+
"description": "Adding Verification API's to Partner Central Account SDK."
6+
}

services/partnercentralaccount/src/main/resources/codegen-resources/service-2.json

Lines changed: 277 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,24 @@
285285
"documentation":"<p>Retrieves the visibility settings for a partner profile, determining who can see the profile information.</p>",
286286
"readonly":true
287287
},
288+
"GetVerification":{
289+
"name":"GetVerification",
290+
"http":{
291+
"method":"POST",
292+
"requestUri":"/"
293+
},
294+
"input":{"shape":"GetVerificationRequest"},
295+
"output":{"shape":"GetVerificationResponse"},
296+
"errors":[
297+
{"shape":"ResourceNotFoundException"},
298+
{"shape":"AccessDeniedException"},
299+
{"shape":"ThrottlingException"},
300+
{"shape":"ValidationException"},
301+
{"shape":"InternalServerException"}
302+
],
303+
"documentation":"<p>Retrieves the current status and details of a verification process for a partner account. This operation allows partners to check the progress and results of business or registrant verification processes.</p>",
304+
"readonly":true
305+
},
288306
"ListConnectionInvitations":{
289307
"name":"ListConnectionInvitations",
290308
"http":{
@@ -442,6 +460,25 @@
442460
"documentation":"<p>Initiates a profile update task to modify partner profile information asynchronously.</p>",
443461
"idempotent":true
444462
},
463+
"StartVerification":{
464+
"name":"StartVerification",
465+
"http":{
466+
"method":"POST",
467+
"requestUri":"/"
468+
},
469+
"input":{"shape":"StartVerificationRequest"},
470+
"output":{"shape":"StartVerificationResponse"},
471+
"errors":[
472+
{"shape":"AccessDeniedException"},
473+
{"shape":"ThrottlingException"},
474+
{"shape":"ConflictException"},
475+
{"shape":"ValidationException"},
476+
{"shape":"InternalServerException"},
477+
{"shape":"ServiceQuotaExceededException"}
478+
],
479+
"documentation":"<p>Initiates a new verification process for a partner account. This operation begins the verification workflow for either business registration or individual registrant identity verification as required by AWS Partner Central.</p>",
480+
"idempotent":true
481+
},
445482
"TagResource":{
446483
"name":"TagResource",
447484
"http":{
@@ -673,6 +710,44 @@
673710
},
674711
"documentation":"<p>Contains information about a business rule validation error that occurred during an operation.</p>"
675712
},
713+
"BusinessVerificationDetails":{
714+
"type":"structure",
715+
"required":[
716+
"LegalName",
717+
"RegistrationId",
718+
"CountryCode"
719+
],
720+
"members":{
721+
"LegalName":{
722+
"shape":"LegalName",
723+
"documentation":"<p>The official legal name of the business as registered with the appropriate government authorities.</p>"
724+
},
725+
"RegistrationId":{
726+
"shape":"RegistrationId",
727+
"documentation":"<p>The unique business registration identifier assigned by the government or regulatory authority, such as a company registration number or tax identification number.</p>"
728+
},
729+
"CountryCode":{
730+
"shape":"CountryCode",
731+
"documentation":"<p>The ISO 3166-1 alpha-2 country code where the business is legally registered and operates.</p>"
732+
},
733+
"JurisdictionOfIncorporation":{
734+
"shape":"JurisdictionCode",
735+
"documentation":"<p>The specific legal jurisdiction or state where the business was incorporated or registered, providing additional location context beyond the country code.</p>"
736+
}
737+
},
738+
"documentation":"<p>Contains the business information required for verifying a company's legal status and registration details within AWS Partner Central.</p>"
739+
},
740+
"BusinessVerificationResponse":{
741+
"type":"structure",
742+
"required":["BusinessVerificationDetails"],
743+
"members":{
744+
"BusinessVerificationDetails":{
745+
"shape":"BusinessVerificationDetails",
746+
"documentation":"<p>The business verification details that were processed and verified, potentially including additional information discovered during the verification process.</p>"
747+
}
748+
},
749+
"documentation":"<p>Contains the response information and results from a business verification process, including any verification-specific data returned by the verification service.</p>"
750+
},
676751
"CancelConnectionInvitationRequest":{
677752
"type":"structure",
678753
"required":[
@@ -941,6 +1016,7 @@
9411016
"min":1,
9421017
"pattern":"[A-Za-z0-9-_]+"
9431018
},
1019+
"CompletionUrl":{"type":"string"},
9441020
"ConflictException":{
9451021
"type":"structure",
9461022
"required":[
@@ -969,7 +1045,9 @@
9691045
"INCOMPATIBLE_CONNECTION_INVITATION_RECEIVER",
9701046
"DUPLICATE_CONNECTION",
9711047
"INCOMPATIBLE_CONNECTION_STATE",
972-
"INCOMPATIBLE_CONNECTION_PREFERENCES_REVISION"
1048+
"INCOMPATIBLE_CONNECTION_PREFERENCES_REVISION",
1049+
"ACCOUNT_ALREADY_VERIFIED",
1050+
"VERIFICATION_ALREADY_IN_PROGRESS"
9731051
]
9741052
},
9751053
"Connection":{
@@ -1232,6 +1310,12 @@
12321310
"key":{"shape":"ConnectionType"},
12331311
"value":{"shape":"ConnectionTypeSummary"}
12341312
},
1313+
"CountryCode":{
1314+
"type":"string",
1315+
"max":2,
1316+
"min":2,
1317+
"pattern":"[A-Z]{2}"
1318+
},
12351319
"CreateConnectionInvitationRequest":{
12361320
"type":"structure",
12371321
"required":[
@@ -1983,6 +2067,51 @@
19832067
}
19842068
}
19852069
},
2070+
"GetVerificationRequest":{
2071+
"type":"structure",
2072+
"required":["VerificationType"],
2073+
"members":{
2074+
"VerificationType":{
2075+
"shape":"VerificationType",
2076+
"documentation":"<p>The type of verification to retrieve information for. Valid values include business verification for company registration details and registrant verification for individual identity confirmation.</p>"
2077+
}
2078+
}
2079+
},
2080+
"GetVerificationResponse":{
2081+
"type":"structure",
2082+
"required":[
2083+
"VerificationType",
2084+
"VerificationStatus",
2085+
"VerificationResponseDetails",
2086+
"StartedAt"
2087+
],
2088+
"members":{
2089+
"VerificationType":{
2090+
"shape":"VerificationType",
2091+
"documentation":"<p>The type of verification that was requested and processed.</p>"
2092+
},
2093+
"VerificationStatus":{
2094+
"shape":"VerificationStatus",
2095+
"documentation":"<p>The current status of the verification process. Possible values include pending, in-progress, completed, failed, or expired.</p>"
2096+
},
2097+
"VerificationStatusReason":{
2098+
"shape":"VerificationStatusReason",
2099+
"documentation":"<p>Additional information explaining the current verification status, particularly useful when the status indicates a failure or requires additional action.</p>"
2100+
},
2101+
"VerificationResponseDetails":{
2102+
"shape":"VerificationResponseDetails",
2103+
"documentation":"<p>Detailed response information specific to the type of verification performed, including any verification-specific data or results.</p>"
2104+
},
2105+
"StartedAt":{
2106+
"shape":"DateTime",
2107+
"documentation":"<p>The timestamp when the verification process was initiated.</p>"
2108+
},
2109+
"CompletedAt":{
2110+
"shape":"DateTime",
2111+
"documentation":"<p>The timestamp when the verification process was completed. This field is null if the verification is still in progress.</p>"
2112+
}
2113+
}
2114+
},
19862115
"IndustrySegment":{
19872116
"type":"string",
19882117
"enum":[
@@ -2052,6 +2181,19 @@
20522181
"EXPIRED"
20532182
]
20542183
},
2184+
"JurisdictionCode":{
2185+
"type":"string",
2186+
"max":2,
2187+
"min":2,
2188+
"pattern":"[A-Z0-9]{2}"
2189+
},
2190+
"LegalName":{
2191+
"type":"string",
2192+
"max":80,
2193+
"min":1,
2194+
"pattern":"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+",
2195+
"sensitive":true
2196+
},
20552197
"ListConnectionInvitationsRequest":{
20562198
"type":"structure",
20572199
"required":["Catalog"],
@@ -2603,6 +2745,36 @@
26032745
}
26042746
}
26052747
},
2748+
"RegistrantVerificationDetails":{
2749+
"type":"structure",
2750+
"members":{},
2751+
"documentation":"<p>Contains the personal information required for verifying an individual's identity as part of the partner registration process in AWS Partner Central.</p>"
2752+
},
2753+
"RegistrantVerificationResponse":{
2754+
"type":"structure",
2755+
"required":[
2756+
"CompletionUrl",
2757+
"CompletionUrlExpiresAt"
2758+
],
2759+
"members":{
2760+
"CompletionUrl":{
2761+
"shape":"CompletionUrl",
2762+
"documentation":"<p>A secure URL where the registrant can complete additional verification steps, such as document upload or identity confirmation through a third-party verification service.</p>"
2763+
},
2764+
"CompletionUrlExpiresAt":{
2765+
"shape":"DateTime",
2766+
"documentation":"<p>The timestamp when the completion URL expires and is no longer valid for accessing the verification workflow.</p>"
2767+
}
2768+
},
2769+
"documentation":"<p>Contains the response information from a registrant verification process, including any verification-specific data and next steps for the individual verification workflow.</p>"
2770+
},
2771+
"RegistrationId":{
2772+
"type":"string",
2773+
"max":80,
2774+
"min":1,
2775+
"pattern":"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+",
2776+
"sensitive":true
2777+
},
26062778
"RejectConnectionInvitationRequest":{
26072779
"type":"structure",
26082780
"required":[
@@ -2742,7 +2914,8 @@
27422914
"SENDER_PROFILE_NOT_FOUND",
27432915
"RECEIVER_PROFILE_NOT_FOUND",
27442916
"CONNECTION_INVITATION_NOT_FOUND",
2745-
"CONNECTION_NOT_FOUND"
2917+
"CONNECTION_NOT_FOUND",
2918+
"VERIFICATION_NOT_FOUND"
27462919
]
27472920
},
27482921
"Revision":{
@@ -2901,6 +3074,55 @@
29013074
}
29023075
}
29033076
},
3077+
"StartVerificationRequest":{
3078+
"type":"structure",
3079+
"members":{
3080+
"ClientToken":{
3081+
"shape":"ClientToken",
3082+
"documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This prevents duplicate verification processes from being started accidentally.</p>",
3083+
"idempotencyToken":true
3084+
},
3085+
"VerificationDetails":{
3086+
"shape":"VerificationDetails",
3087+
"documentation":"<p>The specific details required for the verification process, including business information for business verification or personal information for registrant verification.</p>"
3088+
}
3089+
}
3090+
},
3091+
"StartVerificationResponse":{
3092+
"type":"structure",
3093+
"required":[
3094+
"VerificationType",
3095+
"VerificationStatus",
3096+
"VerificationResponseDetails",
3097+
"StartedAt"
3098+
],
3099+
"members":{
3100+
"VerificationType":{
3101+
"shape":"VerificationType",
3102+
"documentation":"<p>The type of verification that was started based on the provided verification details.</p>"
3103+
},
3104+
"VerificationStatus":{
3105+
"shape":"VerificationStatus",
3106+
"documentation":"<p>The initial status of the verification process after it has been started. Typically this will be pending or in-progress.</p>"
3107+
},
3108+
"VerificationStatusReason":{
3109+
"shape":"VerificationStatusReason",
3110+
"documentation":"<p>Additional information about the initial verification status, including any immediate feedback about the submitted verification details.</p>"
3111+
},
3112+
"VerificationResponseDetails":{
3113+
"shape":"VerificationResponseDetails",
3114+
"documentation":"<p>Initial response details specific to the type of verification started, which may include next steps or additional requirements.</p>"
3115+
},
3116+
"StartedAt":{
3117+
"shape":"DateTime",
3118+
"documentation":"<p>The timestamp when the verification process was successfully initiated.</p>"
3119+
},
3120+
"CompletedAt":{
3121+
"shape":"DateTime",
3122+
"documentation":"<p>The timestamp when the verification process was completed. This field is typically null for newly started verifications unless they complete immediately.</p>"
3123+
}
3124+
}
3125+
},
29043126
"String":{"type":"string"},
29053127
"Tag":{
29063128
"type":"structure",
@@ -3186,6 +3408,59 @@
31863408
"REQUEST_VALIDATION_FAILED",
31873409
"BUSINESS_VALIDATION_FAILED"
31883410
]
3411+
},
3412+
"VerificationDetails":{
3413+
"type":"structure",
3414+
"members":{
3415+
"BusinessVerificationDetails":{
3416+
"shape":"BusinessVerificationDetails",
3417+
"documentation":"<p>The business verification details to be used when starting a business verification process.</p>"
3418+
},
3419+
"RegistrantVerificationDetails":{
3420+
"shape":"RegistrantVerificationDetails",
3421+
"documentation":"<p>The registrant verification details to be used when starting an individual identity verification process.</p>"
3422+
}
3423+
},
3424+
"documentation":"<p>A union structure containing the specific details required for different types of verification processes supported by AWS Partner Central.</p>",
3425+
"union":true
3426+
},
3427+
"VerificationResponseDetails":{
3428+
"type":"structure",
3429+
"members":{
3430+
"BusinessVerificationResponse":{
3431+
"shape":"BusinessVerificationResponse",
3432+
"documentation":"<p>The response details from a business verification process, including verification results and any additional business information discovered.</p>"
3433+
},
3434+
"RegistrantVerificationResponse":{
3435+
"shape":"RegistrantVerificationResponse",
3436+
"documentation":"<p>The response details from a registrant verification process, including verification results and any additional steps required for identity confirmation.</p>"
3437+
}
3438+
},
3439+
"documentation":"<p>A union structure containing the response details specific to different types of verification processes, providing type-specific information and results.</p>",
3440+
"union":true
3441+
},
3442+
"VerificationStatus":{
3443+
"type":"string",
3444+
"enum":[
3445+
"PENDING_CUSTOMER_ACTION",
3446+
"IN_PROGRESS",
3447+
"FAILED",
3448+
"SUCCEEDED",
3449+
"REJECTED"
3450+
]
3451+
},
3452+
"VerificationStatusReason":{
3453+
"type":"string",
3454+
"max":200,
3455+
"min":1,
3456+
"pattern":"[\\u0020-\\u007E\\u00A0-\\uD7FF\\uE000-\\uFFFD]+"
3457+
},
3458+
"VerificationType":{
3459+
"type":"string",
3460+
"enum":[
3461+
"BUSINESS_VERIFICATION",
3462+
"REGISTRANT_VERIFICATION"
3463+
]
31893464
}
31903465
},
31913466
"documentation":"<p>AWS Partner Central Account service provides APIs for managing partner accounts, connections, and profiles within the AWS Partner Network. This service enables partners to create and manage their partner profiles, establish connections with other partners, and maintain their account information.</p>"

0 commit comments

Comments
 (0)