AWS cli documentation change
Summary
Updated AWS CLI version reference from 2.32.33 to 2.33.1. Restructured and expanded documentation for the 'update-subscription-request' command, including significant changes to field definitions, pattern constraints, and reorganization of parameters like 'subscribedPrincipals', 'metadataForms', and 'subscribedListings'. Added new fields and removed others while modifying pattern validations by removing start/end anchors.
Security assessment
The changes involve documentation restructuring, pattern constraint modifications (removing '^' and '$' anchors), and field reordering without any explicit reference to security vulnerabilities, patches, or security incidents. While pattern changes could theoretically impact input validation, there's no evidence this addresses a specific security issue. The updates appear focused on improving documentation accuracy and reflecting API changes.
Diff
diff --git a/cli/latest/reference/datazone/update-subscription-request.md b/cli/latest/reference/datazone/update-subscription-request.md index 01b9e973a..500e24074 100644 --- a//cli/latest/reference/datazone/update-subscription-request.md +++ b//cli/latest/reference/datazone/update-subscription-request.md @@ -15 +15 @@ - * [AWS CLI 2.32.33 Command Reference](../../index.html) » + * [AWS CLI 2.33.1 Command Reference](../../index.html) » @@ -100 +100 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * pattern: `^dzd[-_][a-zA-Z0-9_-]{1,36}$` +> * pattern: `dzd[-_][a-zA-Z0-9_-]{1,36}` @@ -110 +110 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * pattern: `^[a-zA-Z0-9_-]{1,36}$` +> * pattern: `[a-zA-Z0-9_-]{1,36}` @@ -224 +224,8 @@ Disable automatically prompt for CLI input parameters. -createdAt -> (timestamp) +id -> (string) + +> The identifier of the subscription request that is to be updated. +> +> Constraints: +> +> * pattern: `[a-zA-Z0-9_-]{1,36}` +> @@ -226 +232,0 @@ createdAt -> (timestamp) -> The timestamp of when the subscription request was created. @@ -232 +238 @@ createdBy -> (string) -decisionComment -> (string) +updatedBy -> (string) @@ -234 +240,5 @@ decisionComment -> (string) -> The decision comment of the `UpdateSubscriptionRequest` action. +> The Amazon DataZone user who updated the subscription request. + +domainId -> (string) + +> The identifier of the Amazon DataZone domain in which a subscription request is to be updated. @@ -238,2 +248 @@ decisionComment -> (string) -> * min: `1` -> * max: `4096` +> * pattern: `dzd[-_][a-zA-Z0-9_-]{1,36}` @@ -243 +252 @@ decisionComment -> (string) -domainId -> (string) +status -> (string) @@ -245 +254 @@ domainId -> (string) -> The identifier of the Amazon DataZone domain in which a subscription request is to be updated. +> The status of the subscription request. @@ -247 +256 @@ domainId -> (string) -> Constraints: +> Possible values: @@ -249 +258,3 @@ domainId -> (string) -> * pattern: `^dzd[-_][a-zA-Z0-9_-]{1,36}$` +> * `PENDING` +> * `ACCEPTED` +> * `REJECTED` @@ -253 +264 @@ domainId -> (string) -existingSubscriptionId -> (string) +createdAt -> (timestamp) @@ -255 +266,9 @@ existingSubscriptionId -> (string) -> The ID of the existing subscription. +> The timestamp of when the subscription request was created. + +updatedAt -> (timestamp) + +> The timestamp of when the subscription request was updated. + +requestReason -> (string) + +> The reason for the `UpdateSubscriptionRequest` action. @@ -259 +278,2 @@ existingSubscriptionId -> (string) -> * pattern: `^[a-zA-Z0-9_-]{1,36}$` +> * min: `1` +> * max: `4096` @@ -263 +283 @@ existingSubscriptionId -> (string) -id -> (string) +subscribedPrincipals -> (list) @@ -265 +285 @@ id -> (string) -> The identifier of the subscription request that is to be updated. +> The subscribed principals of the subscription request. @@ -269 +289,2 @@ id -> (string) -> * pattern: `^[a-zA-Z0-9_-]{1,36}$` +> * min: `1` +> * max: `1` @@ -272,4 +292,0 @@ id -> (string) - -metadataForms -> (list) - -> Metadata forms included in the subscription request. @@ -277 +294 @@ metadataForms -> (list) -> (structure) +> (tagged union structure) @@ -279 +296 @@ metadataForms -> (list) ->> The details of a metadata form. +>> The principal that has the subscription grant for the asset. @@ -281 +298 @@ metadataForms -> (list) ->> content -> (string) +>> ### Note @@ -283 +300 @@ metadataForms -> (list) ->>> The content of the metadata form. +>> This is a Tagged Union structure. Only one of the following top level keys can be set: `project`, `user`, `group`, `iam`. @@ -285 +302 @@ metadataForms -> (list) ->> formName -> (string) [required] +>> project -> (structure) @@ -287 +304 @@ metadataForms -> (list) ->>> The name of the metadata form. +>>> The project that has the subscription grant. @@ -289 +306 @@ metadataForms -> (list) ->>> Constraints: +>>> id -> (string) @@ -291,3 +308,9 @@ metadataForms -> (list) ->>> * min: `1` ->>> * max: `128` ->>> * pattern: `^(?![0-9_])\w+$|^_\w*[a-zA-Z0-9]\w*$` +>>>> The identifier of the project that has the subscription grant. +>>>> +>>>> Constraints: +>>>> +>>>> * pattern: `[a-zA-Z0-9_-]{1,36}` +>>>> + +>>> +>>> name -> (string) @@ -294,0 +318,8 @@ metadataForms -> (list) +>>>> The name of the project that has the subscription grant. +>>>> +>>>> Constraints: +>>>> +>>>> * min: `1` +>>>> * max: `64` +>>>> * pattern: `[\w -]+` +>>>> @@ -297 +328 @@ metadataForms -> (list) ->> typeName -> (string) +>> user -> (structure) @@ -299 +330 @@ metadataForms -> (list) ->>> The name of the metadata form type. +>>> The subscribed user. @@ -301 +332 @@ metadataForms -> (list) ->>> Constraints: +>>> id -> (string) @@ -303,3 +334,9 @@ metadataForms -> (list) ->>> * min: `1` ->>> * max: `128` ->>> * pattern: `^(amazon.datazone.)?(?![0-9_])\w+$|^_\w*[a-zA-Z0-9]\w*$` +>>>> The ID of the subscribed user. +>>>> +>>>> Constraints: +>>>> +>>>> * pattern: `([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}` +>>>> + +>>> +>>> details -> (tagged union structure) @@ -306,0 +344,32 @@ metadataForms -> (list) +>>>> The subscribed user details. +>>>> +>>>> ### Note +>>>> +>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `iam`, `sso`. +>>>> +>>>> iam -> (structure) +>>>> +>>>>> The IAM details of the user profile. +>>>>> +>>>>> arn -> (string) +>>>>> +>>>>>> The ARN of the IAM user. +>>>>> +>>>>> principalId -> (string) +>>>>> +>>>>>> The principal ID as part of the IAM user profile details. +>>>> +>>>> sso -> (structure) +>>>> +>>>>> The SSO details of the user profile. +>>>>> +>>>>> username -> (string) +>>>>> +>>>>>> The username as part of the SSO user profile detail. +>>>>>> +>>>>>> Constraints: +>>>>>> +>>>>>> * min: `1` +>>>>>> * max: `1024` +>>>>>> * pattern: `[a-zA-Z_0-9+=,.@-]+` +>>>>>> @@ -307,0 +377,8 @@ metadataForms -> (list) +>>>>> +>>>>> firstName -> (string) +>>>>> +>>>>>> The first name as part of the SSO user profile detail. +>>>>> +>>>>> lastName -> (string) +>>>>> +>>>>>> The last name as part of the SSO user profile detail. @@ -309 +386 @@ metadataForms -> (list) ->> typeRevision -> (string) +>> group -> (structure) @@ -311,3 +388 @@ metadataForms -> (list) ->>> The revision of the metadata form type. ->>> ->>> Constraints: