Change the storage class of the repository

Hi all I am having a doubt on snapshots.
I registered a repository, with storage_class; standard, and I have been creating snapshots for some time.

PUT _snapshot/aws-s3-repo-name
{
  "type": "s3",
  "settings": {
    "bucket": "bucket-aws-01",
    "base_path": "url",
    "storage_class": "standard"
  }
}

but now I want it to be standard-ia. Can I just register the same repo again with standard-ia?

PUT _snapshot/aws-s3-repo-name
{
  "type": "s3",
  "settings": {
    "bucket": "bucket-aws-01",
    "base_path": "url",
    "storage_class": "standard-ia"
  }
}

will this affect any snapshot/restore operations?
i mean will I able to take new snapshots and restore from old ones, after i change the above setting for the same repo and bucket?