@@ -93,7 +93,7 @@ suspend fun hello{Service}(region: String) {
9393
9494 val response = {service}Client .{basicOperation}(request)
9595
96- println (" 🔍 Hello, {AWS Service}!" )
96+ println (" Hello, {AWS Service}!" )
9797
9898 // Display appropriate result information
9999 response.{resultField}?.let { results ->
@@ -110,24 +110,24 @@ suspend fun hello{Service}(region: String) {
110110 }
111111
112112 } catch (e: {Service }Exception ) {
113- println (" ❌ {AWS Service} error occurred: ${e.message} " )
113+ println (" {AWS Service} error occurred: ${e.message} " )
114114 when (e.errorDetails?.errorCode) {
115115 " UnauthorizedOperation" -> {
116- println (" 💡 You don't have permission to access {AWS Service}." )
116+ println (" You don't have permission to access {AWS Service}." )
117117 println (" Please check your IAM permissions." )
118118 }
119119 " InvalidParameterValue" -> {
120- println (" 💡 Invalid parameter provided to {AWS Service}." )
120+ println (" Invalid parameter provided to {AWS Service}." )
121121 println (" Please check your input parameters." )
122122 }
123123 else -> {
124- println (" 💡 Please check your AWS credentials and region configuration." )
124+ println (" Please check your AWS credentials and region configuration." )
125125 }
126126 }
127127 exitProcess(1 )
128128 } catch (e: ClientException ) {
129- println (" ❌ Client error occurred: ${e.message} " )
130- println (" 💡 Please check your AWS credentials and network connectivity." )
129+ println (" Client error occurred: ${e.message} " )
130+ println (" Please check your AWS credentials and network connectivity." )
131131 exitProcess(1 )
132132 }
133133 }
@@ -159,7 +159,7 @@ suspend fun hello{Service}(region: String) {
159159 val request = List {Resources }Request { }
160160 val response = {service}Client .list{Resources }(request)
161161
162- println (" 🔍 Hello, {AWS Service}!" )
162+ println (" Hello, {AWS Service}!" )
163163
164164 response.{resources}?.let { resources ->
165165 println (" Found ${resources.size} {resources}:" )
@@ -169,7 +169,7 @@ suspend fun hello{Service}(region: String) {
169169 }
170170
171171 } catch (e: {Service }Exception ) {
172- println (" ❌ {AWS Service} error: ${e.message} " )
172+ println (" {AWS Service} error: ${e.message} " )
173173 exitProcess(1 )
174174 }
175175 }
@@ -184,12 +184,12 @@ suspend fun hello{Service}(region: String) {
184184 val request = Get {Service }StatusRequest { }
185185 val response = {service}Client .get{Service }Status (request)
186186
187- println (" 🔍 Hello, {AWS Service}!" )
187+ println (" Hello, {AWS Service}!" )
188188 println (" Service status: ${response.status} " )
189189 println (" {AWS Service} is ready to use." )
190190
191191 } catch (e: {Service }Exception ) {
192- println (" ❌ {AWS Service} error: ${e.message} " )
192+ println (" {AWS Service} error: ${e.message} " )
193193 exitProcess(1 )
194194 }
195195 }
@@ -206,7 +206,7 @@ suspend fun hello{Service}(region: String) {
206206 }
207207 val response = {service}Client .describe{Resources }(request)
208208
209- println (" 🔍 Hello, {AWS Service}!" )
209+ println (" Hello, {AWS Service}!" )
210210
211211 response.{resources}?.let { resources ->
212212 println (" Found ${resources.size} {resources}:" )
@@ -216,7 +216,7 @@ suspend fun hello{Service}(region: String) {
216216 }
217217
218218 } catch (e: {Service }Exception ) {
219- println (" ❌ {AWS Service} error: ${e.message} " )
219+ println (" {AWS Service} error: ${e.message} " )
220220 exitProcess(1 )
221221 }
222222 }
@@ -235,28 +235,28 @@ try {
235235 // Service-specific errors
236236 when (e.errorDetails?.errorCode) {
237237 " UnauthorizedOperation" -> {
238- println (" ❌ You don't have permission to access {AWS Service}." )
239- println (" 💡 Please check your IAM permissions." )
238+ println (" You don't have permission to access {AWS Service}." )
239+ println (" Please check your IAM permissions." )
240240 }
241241 " InvalidParameterValue" -> {
242- println (" ❌ Invalid parameter provided to {AWS Service}." )
243- println (" 💡 Please verify your input parameters." )
242+ println (" Invalid parameter provided to {AWS Service}." )
243+ println (" Please verify your input parameters." )
244244 }
245245 " ResourceNotFoundException" -> {
246- println (" ❌ Resource not found in {AWS Service}." )
247- println (" 💡 Please check if the resource exists." )
246+ println (" Resource not found in {AWS Service}." )
247+ println (" Please check if the resource exists." )
248248 }
249249 else -> {
250- println (" ❌ {AWS Service} error: ${e.message} " )
251- println (" 💡 Please check your AWS configuration." )
250+ println (" {AWS Service} error: ${e.message} " )
251+ println (" Please check your AWS configuration." )
252252 }
253253 }
254254 exitProcess(1 )
255255
256256} catch (e: ClientException ) {
257257 // General client errors (network, credentials, etc.)
258- println (" ❌ Client error: ${e.message} " )
259- println (" 💡 Please check your AWS credentials and network connectivity." )
258+ println (" Client error: ${e.message} " )
259+ println (" Please check your AWS credentials and network connectivity." )
260260 exitProcess(1 )
261261}
262262```
0 commit comments