|
71 | 71 | ], |
72 | 72 | "documentation":"<p>Updates multiple memory records with custom content in a single batch operation within the specified memory.</p>" |
73 | 73 | }, |
| 74 | + "CompleteResourceTokenAuth":{ |
| 75 | + "name":"CompleteResourceTokenAuth", |
| 76 | + "http":{ |
| 77 | + "method":"POST", |
| 78 | + "requestUri":"/identities/CompleteResourceTokenAuth", |
| 79 | + "responseCode":200 |
| 80 | + }, |
| 81 | + "input":{"shape":"CompleteResourceTokenAuthRequest"}, |
| 82 | + "output":{"shape":"CompleteResourceTokenAuthResponse"}, |
| 83 | + "errors":[ |
| 84 | + {"shape":"UnauthorizedException"}, |
| 85 | + {"shape":"ValidationException"}, |
| 86 | + {"shape":"AccessDeniedException"}, |
| 87 | + {"shape":"ResourceNotFoundException"}, |
| 88 | + {"shape":"ThrottlingException"}, |
| 89 | + {"shape":"InternalServerException"} |
| 90 | + ], |
| 91 | + "documentation":"<p>Confirms the user authentication session for obtaining OAuth2.0 tokens for a resource.</p>" |
| 92 | + }, |
74 | 93 | "CreateEvent":{ |
75 | 94 | "name":"CreateEvent", |
76 | 95 | "http":{ |
|
679 | 698 | "min":1, |
680 | 699 | "sensitive":true |
681 | 700 | }, |
| 701 | + "AuthorizationUrlType":{ |
| 702 | + "type":"string", |
| 703 | + "min":1, |
| 704 | + "sensitive":true |
| 705 | + }, |
682 | 706 | "AutomationStream":{ |
683 | 707 | "type":"structure", |
684 | 708 | "required":[ |
|
1049 | 1073 | "documentation":"<p>Contains output from a code interpreter stream.</p>", |
1050 | 1074 | "eventstream":true |
1051 | 1075 | }, |
| 1076 | + "CompleteResourceTokenAuthRequest":{ |
| 1077 | + "type":"structure", |
| 1078 | + "required":[ |
| 1079 | + "userIdentifier", |
| 1080 | + "sessionUri" |
| 1081 | + ], |
| 1082 | + "members":{ |
| 1083 | + "userIdentifier":{ |
| 1084 | + "shape":"UserIdentifier", |
| 1085 | + "documentation":"<p>The OAuth2.0 token or user ID that was used to generate the workload access token used for initiating the user authorization flow to retrieve OAuth2.0 tokens.</p>" |
| 1086 | + }, |
| 1087 | + "sessionUri":{ |
| 1088 | + "shape":"RequestUri", |
| 1089 | + "documentation":"<p>Unique identifier for the user's authentication session for retrieving OAuth2 tokens. This ID tracks the authorization flow state across multiple requests and responses during the OAuth2 authentication process.</p>" |
| 1090 | + } |
| 1091 | + } |
| 1092 | + }, |
| 1093 | + "CompleteResourceTokenAuthResponse":{ |
| 1094 | + "type":"structure", |
| 1095 | + "members":{} |
| 1096 | + }, |
1052 | 1097 | "ConflictException":{ |
1053 | 1098 | "type":"structure", |
1054 | 1099 | "members":{ |
|
1714 | 1759 | "shape":"Oauth2FlowType", |
1715 | 1760 | "documentation":"<p>The type of flow to be performed.</p>" |
1716 | 1761 | }, |
| 1762 | + "sessionUri":{ |
| 1763 | + "shape":"RequestUri", |
| 1764 | + "documentation":"<p>Unique identifier for the user's authentication session for retrieving OAuth2 tokens. This ID tracks the authorization flow state across multiple requests and responses during the OAuth2 authentication process.</p>" |
| 1765 | + }, |
1717 | 1766 | "resourceOauth2ReturnUrl":{ |
1718 | 1767 | "shape":"ResourceOauth2ReturnUrlType", |
1719 | 1768 | "documentation":"<p>The callback URL to redirect to after the OAuth 2.0 token retrieval is complete. This URL must be one of the provided URLs configured for the workload identity.</p>" |
|
1725 | 1774 | "customParameters":{ |
1726 | 1775 | "shape":"CustomRequestParametersType", |
1727 | 1776 | "documentation":"<p>A map of custom parameters to include in the authorization request to the resource credential provider. These parameters are in addition to the standard OAuth 2.0 flow parameters, and will not override them.</p>" |
| 1777 | + }, |
| 1778 | + "customState":{ |
| 1779 | + "shape":"State", |
| 1780 | + "documentation":"<p>An opaque string that will be sent back to the callback URL provided in resourceOauth2ReturnUrl. This state should be used to protect the callback URL of your application against CSRF attacks by ensuring the response corresponds to the original request.</p>" |
1728 | 1781 | } |
1729 | 1782 | } |
1730 | 1783 | }, |
1731 | 1784 | "GetResourceOauth2TokenResponse":{ |
1732 | 1785 | "type":"structure", |
1733 | 1786 | "members":{ |
1734 | 1787 | "authorizationUrl":{ |
1735 | | - "shape":"String", |
| 1788 | + "shape":"AuthorizationUrlType", |
1736 | 1789 | "documentation":"<p>The URL to initiate the authorization process, provided when the access token requires user authorization.</p>" |
1737 | 1790 | }, |
1738 | 1791 | "accessToken":{ |
1739 | 1792 | "shape":"AccessTokenType", |
1740 | 1793 | "documentation":"<p>The OAuth 2.0 access token to use.</p>" |
| 1794 | + }, |
| 1795 | + "sessionUri":{ |
| 1796 | + "shape":"RequestUri", |
| 1797 | + "documentation":"<p>Unique identifier for the user's authorization session for retrieving OAuth2 tokens. This matches the sessionId from the request and can be used to track the session state.</p>" |
| 1798 | + }, |
| 1799 | + "sessionStatus":{ |
| 1800 | + "shape":"SessionStatus", |
| 1801 | + "documentation":"<p>Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.</p>" |
1741 | 1802 | } |
1742 | 1803 | } |
1743 | 1804 | }, |
|
1949 | 2010 | "location":"querystring", |
1950 | 2011 | "locationName":"qualifier" |
1951 | 2012 | }, |
| 2013 | + "accountId":{ |
| 2014 | + "shape":"InvokeAgentRuntimeRequestAccountIdString", |
| 2015 | + "documentation":"<p>The identifier of the Amazon Web Services account for the agent runtime resource.</p>", |
| 2016 | + "location":"querystring", |
| 2017 | + "locationName":"accountId" |
| 2018 | + }, |
1952 | 2019 | "payload":{ |
1953 | 2020 | "shape":"Body", |
1954 | 2021 | "documentation":"<p>The input data to send to the agent runtime. The format of this data depends on the specific agent configuration and must match the specified content type. For most agents, this is a JSON object containing the user's request.</p>" |
1955 | 2022 | } |
1956 | 2023 | }, |
1957 | 2024 | "payload":"payload" |
1958 | 2025 | }, |
| 2026 | + "InvokeAgentRuntimeRequestAccountIdString":{ |
| 2027 | + "type":"string", |
| 2028 | + "pattern":"[0-9]{12}" |
| 2029 | + }, |
1959 | 2030 | "InvokeAgentRuntimeRequestBaggageString":{ |
1960 | 2031 | "type":"string", |
1961 | 2032 | "max":8192, |
|
2753 | 2824 | "min":1, |
2754 | 2825 | "pattern":"[a-zA-Z0-9_-]+" |
2755 | 2826 | }, |
| 2827 | + "RequestUri":{ |
| 2828 | + "type":"string", |
| 2829 | + "max":1024, |
| 2830 | + "min":1, |
| 2831 | + "pattern":"urn:ietf:params:oauth:request_uri:[a-zA-Z0-9-._~]+" |
| 2832 | + }, |
2756 | 2833 | "ResourceContent":{ |
2757 | 2834 | "type":"structure", |
2758 | 2835 | "required":["type"], |
|
2957 | 3034 | "min":1, |
2958 | 3035 | "pattern":"[a-zA-Z0-9][a-zA-Z0-9-_]*" |
2959 | 3036 | }, |
| 3037 | + "SessionStatus":{ |
| 3038 | + "type":"string", |
| 3039 | + "enum":[ |
| 3040 | + "IN_PROGRESS", |
| 3041 | + "FAILED" |
| 3042 | + ] |
| 3043 | + }, |
2960 | 3044 | "SessionSummary":{ |
2961 | 3045 | "type":"structure", |
2962 | 3046 | "required":[ |
|
3135 | 3219 | } |
3136 | 3220 | } |
3137 | 3221 | }, |
| 3222 | + "State":{ |
| 3223 | + "type":"string", |
| 3224 | + "max":4096, |
| 3225 | + "min":1, |
| 3226 | + "sensitive":true |
| 3227 | + }, |
3138 | 3228 | "StopBrowserSessionRequest":{ |
3139 | 3229 | "type":"structure", |
3140 | 3230 | "required":[ |
|
3538 | 3628 | "max":128, |
3539 | 3629 | "min":1 |
3540 | 3630 | }, |
| 3631 | + "UserIdentifier":{ |
| 3632 | + "type":"structure", |
| 3633 | + "members":{ |
| 3634 | + "userToken":{ |
| 3635 | + "shape":"UserTokenType", |
| 3636 | + "documentation":"<p>The OAuth2.0 token issued by the user’s identity provider</p>" |
| 3637 | + }, |
| 3638 | + "userId":{ |
| 3639 | + "shape":"UserIdType", |
| 3640 | + "documentation":"<p>The ID of the user for whom you have retrieved a workload access token for</p>" |
| 3641 | + } |
| 3642 | + }, |
| 3643 | + "documentation":"<p>The OAuth2.0 token or user ID that was used to generate the workload access token used for initiating the user authorization flow to retrieve OAuth2.0 tokens.</p>", |
| 3644 | + "union":true |
| 3645 | + }, |
3541 | 3646 | "UserTokenType":{ |
3542 | 3647 | "type":"string", |
3543 | 3648 | "max":131072, |
|
0 commit comments