@@ -22,7 +22,7 @@ import { CancellationError } from '../utilities/timeoutUtils'
2222import { Wizard } from '../wizards/wizard'
2323import { addTelemetryEnvVar } from './cli/samCliInvokerUtils'
2424import { validateSamDeployConfig , SamConfig , writeSamconfigGlobal } from './config'
25- import { BucketSource , createBucketSourcePrompter , createBucketPrompter } from '../ui/sam/bucketPrompter'
25+ import { BucketSource , createBucketSourcePrompter , createBucketNamePrompter } from '../ui/sam/bucketPrompter'
2626import { createStackPrompter } from '../ui/sam/stackPrompter'
2727import { TemplateItem , createTemplatePrompter } from '../ui/sam/templatePrompter'
2828import { getProjectRoot , getRecentResponse , getSamCliPathAndVersion , getSource , updateRecentResponse } from './utils'
@@ -109,7 +109,7 @@ export class DeployWizard extends Wizard<DeployParams> {
109109 paramsSource === ParamsSource . Specify || paramsSource === ParamsSource . SpecifyAndSave ,
110110 } )
111111 this . form . bucketName . bindPrompter (
112- ( { region } ) => createBucketPrompter ( new DefaultS3Client ( region ! ) , deployMementoRootKey ) ,
112+ ( { region } ) => createBucketNamePrompter ( new DefaultS3Client ( region ! ) , deployMementoRootKey ) ,
113113 {
114114 showWhen : ( { bucketSource } ) => bucketSource === BucketSource . UserProvided ,
115115 }
@@ -135,7 +135,7 @@ export class DeployWizard extends Wizard<DeployParams> {
135135 paramsSource === ParamsSource . Specify || paramsSource === ParamsSource . SpecifyAndSave ,
136136 } )
137137 this . form . bucketName . bindPrompter (
138- ( { region } ) => createBucketPrompter ( new DefaultS3Client ( region ! ) , deployMementoRootKey ) ,
138+ ( { region } ) => createBucketNamePrompter ( new DefaultS3Client ( region ! ) , deployMementoRootKey ) ,
139139 {
140140 showWhen : ( { bucketSource } ) => bucketSource === BucketSource . UserProvided ,
141141 }
@@ -168,7 +168,7 @@ export class DeployWizard extends Wizard<DeployParams> {
168168 paramsSource === ParamsSource . Specify || paramsSource === ParamsSource . SpecifyAndSave ,
169169 } )
170170 this . form . bucketName . bindPrompter (
171- ( { region } ) => createBucketPrompter ( new DefaultS3Client ( region ! ) , deployMementoRootKey ) ,
171+ ( { region } ) => createBucketNamePrompter ( new DefaultS3Client ( region ! ) , deployMementoRootKey ) ,
172172 {
173173 showWhen : ( { bucketSource } ) => bucketSource === BucketSource . UserProvided ,
174174 }
@@ -198,7 +198,7 @@ export class DeployWizard extends Wizard<DeployParams> {
198198 paramsSource === ParamsSource . Specify || paramsSource === ParamsSource . SpecifyAndSave ,
199199 } )
200200 this . form . bucketName . bindPrompter (
201- ( { region } ) => createBucketPrompter ( new DefaultS3Client ( region ! ) , deployMementoRootKey ) ,
201+ ( { region } ) => createBucketNamePrompter ( new DefaultS3Client ( region ! ) , deployMementoRootKey ) ,
202202 {
203203 showWhen : ( { bucketSource } ) => bucketSource === BucketSource . UserProvided ,
204204 }
0 commit comments