AWS aws-sdk-php documentation change
Summary
Added documentation for the DeleteAttachment API operation in Amazon Q Business, including parameter details, result syntax, and error handling.
Security assessment
The change adds standard API documentation for a new operation but does not mention any specific security vulnerabilities, weaknesses, or incidents. While it includes an AccessDeniedException, this is a standard permission check and not indicative of a security issue.
Diff
diff --git a/aws-sdk-php/v3/api/api-qbusiness-2023-11-27.md index 632d0205e..87aae40d0 100644 --- a/aws-sdk-php/v3/api/api-qbusiness-2023-11-27.md +++ b/aws-sdk-php/v3/api/api-qbusiness-2023-11-27.md @@ -485,0 +486 @@ You can also create and send a command immediately using the magic methods avail +**DeleteAttachment** ( array $params = [] ) Deletes an attachment associated with a specific Amazon Q Business conversation. @@ -3245,0 +3247,90 @@ The input doesn't meet the constraints set by the Amazon Q Business service. Pro + +[**AccessDeniedException:**](class-Aws.QBusiness.Exception.QBusinessException.html#shape-accessdeniedexception) + +You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again. + +### DeleteAttachment + + + $result = $client->deleteAttachment([/* ... */]); + $promise = $client->deleteAttachmentAsync([/* ... */]); + + +Deletes an attachment associated with a specific Amazon Q Business conversation. + +#### Parameter Syntax + + + $result = $client->deleteAttachment([ + 'applicationId' => '<string>', // REQUIRED + 'attachmentId' => '<string>', // REQUIRED + 'conversationId' => '<string>', // REQUIRED + 'userId' => '<string>', + ]); + + +#### Parameter Details + +##### Members + +**applicationId** + + + **Required** : _Yes_ + **Type:** _string_ + +The unique identifier for the Amazon Q Business application environment. + +**attachmentId** + + + **Required** : _Yes_ + **Type:** _string_ + +The unique identifier for the attachment. + +**conversationId** + + + **Required** : _Yes_ + **Type:** _string_ + +The unique identifier of the conversation. + +**userId** + + + **Type:** _string_ + +The unique identifier of the user involved in the conversation. + +#### Result Syntax + + + [] + +#### Result Details + +The results for this operation are always empty. + +#### Errors + +[**ResourceNotFoundException:**](class-Aws.QBusiness.Exception.QBusinessException.html#shape-resourcenotfoundexception) + +The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again. + +[**InternalServerException:**](class-Aws.QBusiness.Exception.QBusinessException.html#shape-internalserverexception) + +An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact [Support](http://aws.amazon.com/contact-us/) for help. + +[**LicenseNotFoundException:**](class-Aws.QBusiness.Exception.QBusinessException.html#shape-licensenotfoundexception) + +You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active. + +[**ThrottlingException:**](class-Aws.QBusiness.Exception.QBusinessException.html#shape-throttlingexception) + +The request was denied due to throttling. Reduce the number of requests and try again. + +[**ValidationException:**](class-Aws.QBusiness.Exception.QBusinessException.html#shape-validationexception) + +The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.