Skip to content

Commit a867f6e

Browse files
author
awstools
committed
feat(client-acm-pca): Fix broken waiters for the acm-pca client. Waiters broke in version 1.13.144 of the Boto3 SDK.
1 parent 3f9a4c4 commit a867f6e

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

clients/client-acm-pca/src/auth/httpAuthSchemeProvider.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters: ACMPCAHttpAuthSchemePa
6060
name: "acm-pca",
6161
region: authParameters.region,
6262
},
63-
propertiesExtractor: (config: ACMPCAClientConfig, context) => ({
63+
propertiesExtractor: (config: Partial<ACMPCAClientConfig>, context) => ({
6464
/**
6565
* @internal
6666
*/

clients/client-acm-pca/src/waiters/waitForAuditReportCreated.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const waitForAuditReportCreated = async (
4747
params: WaiterConfiguration<ACMPCAClient>,
4848
input: DescribeCertificateAuthorityAuditReportCommandInput
4949
): Promise<WaiterResult> => {
50-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
50+
const serviceDefaults = { minDelay: 3, maxDelay: 180 };
5151
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
5252
};
5353
/**
@@ -59,7 +59,7 @@ export const waitUntilAuditReportCreated = async (
5959
params: WaiterConfiguration<ACMPCAClient>,
6060
input: DescribeCertificateAuthorityAuditReportCommandInput
6161
): Promise<WaiterResult> => {
62-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
62+
const serviceDefaults = { minDelay: 3, maxDelay: 180 };
6363
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
6464
return checkExceptions(result);
6565
};

clients/client-acm-pca/src/waiters/waitForCertificateAuthorityCSRCreated.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const waitForCertificateAuthorityCSRCreated = async (
3535
params: WaiterConfiguration<ACMPCAClient>,
3636
input: GetCertificateAuthorityCsrCommandInput
3737
): Promise<WaiterResult> => {
38-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
38+
const serviceDefaults = { minDelay: 3, maxDelay: 180 };
3939
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
4040
};
4141
/**
@@ -47,7 +47,7 @@ export const waitUntilCertificateAuthorityCSRCreated = async (
4747
params: WaiterConfiguration<ACMPCAClient>,
4848
input: GetCertificateAuthorityCsrCommandInput
4949
): Promise<WaiterResult> => {
50-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
50+
const serviceDefaults = { minDelay: 3, maxDelay: 180 };
5151
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
5252
return checkExceptions(result);
5353
};

clients/client-acm-pca/src/waiters/waitForCertificateIssued.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const waitForCertificateIssued = async (
2929
params: WaiterConfiguration<ACMPCAClient>,
3030
input: GetCertificateCommandInput
3131
): Promise<WaiterResult> => {
32-
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
32+
const serviceDefaults = { minDelay: 1, maxDelay: 60 };
3333
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
3434
};
3535
/**
@@ -41,7 +41,7 @@ export const waitUntilCertificateIssued = async (
4141
params: WaiterConfiguration<ACMPCAClient>,
4242
input: GetCertificateCommandInput
4343
): Promise<WaiterResult> => {
44-
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
44+
const serviceDefaults = { minDelay: 1, maxDelay: 60 };
4545
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
4646
return checkExceptions(result);
4747
};

codegen/sdk-codegen/aws-models/acm-pca.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -2364,7 +2364,8 @@
23642364
}
23652365
}
23662366
],
2367-
"minDelay": 3
2367+
"minDelay": 3,
2368+
"maxDelay": 180
23682369
}
23692370
}
23702371
}
@@ -2738,7 +2739,8 @@
27382739
}
27392740
}
27402741
],
2741-
"minDelay": 1
2742+
"minDelay": 1,
2743+
"maxDelay": 60
27422744
}
27432745
}
27442746
}
@@ -2852,7 +2854,8 @@
28522854
}
28532855
}
28542856
],
2855-
"minDelay": 3
2857+
"minDelay": 3,
2858+
"maxDelay": 180
28562859
}
28572860
}
28582861
}

0 commit comments

Comments
 (0)