See UpdateGlobalSecondaryIndexAction.
UpdateGlobalSecondaryIndexAction
A builder for UpdateGlobalSecondaryIndexAction.