@@ -408,7 +408,7 @@ If your custom authenticator does not use signing, you don't specify anything re
408408 customAuth.WithPassword(<Binary data value of the password field to be passed to the authorizer lambda>);
409409
410410 // Create a Client using Mqtt5ClientBuilder
411- Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::NewMqtt5ClientBuilderWithCustomCustomAuthorizer (
411+ Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::CreateMqtt5ClientBuilderWithCustomAuthorizer (
412412 "<clientEndpoint>", customAuth);
413413
414414 /* You can setup other client options and lifecycle event callbacks before call builder->Build().
@@ -439,7 +439,7 @@ If your custom authorizer uses signing, you must specify the three signed token
439439 customAuth.WithTokenSignature(" <The signature of the custom authorizer>" )
440440
441441 // Create a Client using Mqtt5ClientBuilder
442- Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::NewMqtt5ClientBuilderWithCustomCustomAuthorizer (
442+ Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::CreateMqtt5ClientBuilderWithCustomAuthorizer (
443443 " <clientEndpoint>" , customAuth);
444444
445445 /* You can setup other client options and lifecycle event callbacks before call builder->Build().
@@ -497,7 +497,7 @@ To create a MQTT5 builder configured for this connection, see the following code
497497 Aws::Iot::WebsocketConfig websocketConfig(<signing region>, provider);
498498
499499 // Create a Client using Mqtt5ClientBuilder
500- Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::NewMqtt5ClientBuilderWithWebsocket (
500+ Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::CreateMqtt5ClientBuilderWithWebsocket (
501501 "<clientEndpoint>", websocketConfig);
502502
503503 /* You can setup other client options and lifecycle event callbacks before call builder->Build().
@@ -526,7 +526,7 @@ store, rather than simply being files on disk. To create a MQTT5 builder configu
526526``` cpp
527527 String windowsCertPath = " CurrentUser\\ MY\\ A11F8A9B5DF5B98BA3508FBCA575D09570E0D2C6" ;
528528
529- Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::NewMqtt5ClientBuilderWithWindowsCertStorePath (
529+ Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::CreateMqtt5ClientBuilderWithWindowsCertStorePath (
530530 " <clientEndpoint>" , windowsCertPath);
531531
532532 // Build Mqtt5Client
@@ -566,7 +566,7 @@ the private key for mutual TLS is stored on a PKCS#11 compatible smart card or H
566566 pkcs11Options.SetTokenLabel("<pkcs11_tokenLabel>");
567567 pkcs11Options.SetPrivateKeyObjectLabel("<pkcs11_privateKeyLabel>");
568568
569- Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::NewMqtt5ClientBuilderWithMtlsPkcs11 (
569+ Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::CreateMqtt5ClientBuilderWithMtlsPkcs11 (
570570 "<endpoint>", pkcs11Options);
571571
572572 builder->WithPort(8883);
@@ -591,7 +591,7 @@ To create a MQTT5 builder configured for this connection, see the following code
591591 testPkcs12Options.pkcs12_file = " <pkcs12_key>" ;
592592 testPkcs12Options.pkcs12_password = " <pkcs12_password>" ;
593593
594- Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::NewMqtt5ClientBuilderWithMtlsPkcs12 (
594+ Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::CreateMqtt5ClientBuilderWithMtlsPkcs12 (
595595 " <endpoint>" , testPkcs12Options);
596596
597597 std::shared_ptr<Aws::Crt::Mqtt5::Mqtt5Client> mqtt5Client = builder->Build ();
@@ -611,7 +611,7 @@ No matter what your connection transport or authentication method is, you may co
611611
612612```cpp
613613 // Create a Client using Mqtt5ClientBuilder
614- Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::NewMqtt5ClientBuilderWithXXXXX ( ... );
614+ Aws::Iot::Mqtt5ClientBuilder *builder = Aws::Iot::Mqtt5ClientBuilder::CreateMqtt5ClientBuilderWithXXXXX ( ... );
615615
616616 Http::HttpClientConnectionProxyOptions proxyOptions;
617617 proxyOptions.HostName = "<proxyHost>";
0 commit comments