AWS aws-sdk-php documentation change
Summary
Added documentation for new tag management operations (ListTagsForResource, TagResource, UntagResource) and updated parameter names and descriptions for data automation resources. Added new 'tags' parameter and 'dataAutomationProfileArn' field.
Security assessment
The changes primarily add tag management functionality and update resource naming conventions. While tag management can be used for security purposes, there is no direct evidence in the changes that this is specifically addressing a security issue or adding security-specific documentation.
Diff
diff --git a/aws-sdk-php/v3/api/api-bedrock-data-automation-runtime-2024-06-13.md index c9b62fac3..7cfb9130c 100644 --- a/aws-sdk-php/v3/api/api-bedrock-data-automation-runtime-2024-06-13.md +++ b/aws-sdk-php/v3/api/api-bedrock-data-automation-runtime-2024-06-13.md @@ -472,0 +473,3 @@ You can also create and send a command immediately using the magic methods avail +**ListTagsForResource** ( array $params = [] ) List tags for an Amazon Bedrock Data Automation resource +**TagResource** ( array $params = [] ) Tag an Amazon Bedrock Data Automation resource +**UntagResource** ( array $params = [] ) Untag an Amazon Bedrock Data Automation resource @@ -594 +597 @@ Async API: Invoke data automation. - 'dataAutomationArn' => '<string>', // REQUIRED + 'dataAutomationProjectArn' => '<string>', // REQUIRED @@ -596,0 +600 @@ Async API: Invoke data automation. + 'dataAutomationProfileArn' => '<string>', // REQUIRED @@ -611,0 +616,7 @@ Async API: Invoke data automation. + 'tags' => [ + [ + 'key' => '<string>', // REQUIRED + 'value' => '<string>', // REQUIRED + ], + // ... + ], @@ -639,0 +651,8 @@ Data automation configuration. +**dataAutomationProfileArn** + + + **Required** : _Yes_ + **Type:** _string_ + +Data automation profile ARN + @@ -669,0 +689,7 @@ Output configuration. +**tags** + + + **Type:** _Array ofTag structures_ + +List of tags. + @@ -710,0 +737,223 @@ This exception will be thrown when customer reached API TPS limit. +### ListTagsForResource + + + $result = $client->listTagsForResource([/* ... */]); + $promise = $client->listTagsForResourceAsync([/* ... */]); + + +List tags for an Amazon Bedrock Data Automation resource + +#### Parameter Syntax + + + $result = $client->listTagsForResource([ + 'resourceARN' => '<string>', // REQUIRED + ]); + + +#### Parameter Details + +##### Members + +**resourceARN** + + + **Required** : _Yes_ + **Type:** _string_ + +ARN of a taggable resource + +#### Result Syntax + + + [ + 'tags' => [ + [ + 'key' => '<string>', + 'value' => '<string>', + ], + // ... + ], + ] + +#### Result Details + +##### Members + +**tags** + + + **Type:** _Array ofTag structures_ + +List of tags + +#### Errors + +[**AccessDeniedException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-accessdeniedexception) + +This exception will be thrown when customer does not have access to API. + +[**ValidationException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-validationexception) + +This exception will be thrown when customer provided invalid parameters. + +[**InternalServerException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-internalserverexception) + +This exception is for any internal un-expected service errors. + +[**ThrottlingException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-throttlingexception) + +This exception will be thrown when customer reached API TPS limit. + +[**ResourceNotFoundException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-resourcenotfoundexception) + +This exception will be thrown when resource provided from customer not found. + +### TagResource + + + $result = $client->tagResource([/* ... */]); + $promise = $client->tagResourceAsync([/* ... */]); + + +Tag an Amazon Bedrock Data Automation resource + +#### Parameter Syntax + + + $result = $client->tagResource([ + 'resourceARN' => '<string>', // REQUIRED + 'tags' => [ // REQUIRED + [ + 'key' => '<string>', // REQUIRED + 'value' => '<string>', // REQUIRED + ], + // ... + ], + ]); + + +#### Parameter Details + +##### Members + +**resourceARN** + + + **Required** : _Yes_ + **Type:** _string_ + +ARN of a taggable resource + +**tags** + + + **Required** : _Yes_ + **Type:** _Array ofTag structures_ + +List of tags + +#### Result Syntax + + + [] + +#### Result Details + +The results for this operation are always empty. + +#### Errors + +[**ServiceQuotaExceededException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-servicequotaexceededexception) + +This exception will be thrown when service quota is exceeded. + +[**AccessDeniedException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-accessdeniedexception) + +This exception will be thrown when customer does not have access to API. + +[**ValidationException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-validationexception) + +This exception will be thrown when customer provided invalid parameters. + +[**InternalServerException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-internalserverexception) + +This exception is for any internal un-expected service errors. + +[**ThrottlingException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-throttlingexception) + +This exception will be thrown when customer reached API TPS limit. + +[**ResourceNotFoundException:**](class-Aws.BedrockDataAutomationRuntime.Exception.BedrockDataAutomationRuntimeException.html#shape-resourcenotfoundexception) + +This exception will be thrown when resource provided from customer not found. + +### UntagResource + + + $result = $client->untagResource([/* ... */]); + $promise = $client->untagResourceAsync([/* ... */]); + +