code: public AwsServiceClient withCodecRegistry(@Nonnull final CodecRegistry codecRegistry) {
      return new AwsServiceClientImpl(proxy.withCodecRegistry(codecRegistry), dispatcher);
    }
docs: Create a new AwsServiceClient instance with a different codec registry.
  
  @param codecRegistry the new {@link CodecRegistry} for the client.
  @return a new AwsServiceClient instance with the different codec registry