(deployments)
Manage your certificate deployments.
- put_change_deployment_schedule - Update a deployment schedule
- get_deployments - List deployments
- get_deployments_production - Get production deployment
- get_deployment_staging - Get staging deployment
Updates the current deployment schedule.
See documentation for this operation in Akamai's Certificate Provisioning System API https://techdocs.akamai.com/cps/reference/put-change-deployment-schedule
from aktest_se import Se
s = Se()
res = s.deployments.put_change_deployment_schedule(change_id=10000, enrollment_id=10000, request_body={
"not_after": None,
"not_before": "2017-05-19T16:00:00Z",
}, account_switch_key="1-5C0YLB:1-8BYUX")
if res is not None:
# handle response
pass| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
change_id |
int | ✔️ | The change for this enrollment on which to perform the desired operation. | 10000 |
enrollment_id |
int | ✔️ | Enrollment on which to perform the desired operation. | 10000 |
request_body |
models.PutChangeDeploymentScheduleRequestBody | ✔️ | N/A | |
account_switch_key |
Optional[str] | ➖ | For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. | 1-5C0YLB:1-8BYUX |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.PutChangeDeploymentScheduleResponseBody
| Error Type | Status Code | Content Type |
|---|---|---|
| models.SDKError | 4XX, 5XX | */* |
Lists the deployments for an enrollment.
See documentation for this operation in Akamai's Certificate Provisioning System API https://techdocs.akamai.com/cps/reference/get-deployments
from aktest_se import Se
s = Se()
res = s.deployments.get_deployments(enrollment_id=10000, account_switch_key="1-5C0YLB:1-8BYUX")
if res is not None:
# handle response
pass| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
enrollment_id |
int | ✔️ | Enrollment on which to perform the desired operation. | 10000 |
account_switch_key |
Optional[str] | ➖ | For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. | 1-5C0YLB:1-8BYUX |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.GetDeploymentsResponseBody
| Error Type | Status Code | Content Type |
|---|---|---|
| models.SDKError | 4XX, 5XX | */* |
Gets the enrollments deployed on the production network.
See documentation for this operation in Akamai's Certificate Provisioning System API https://techdocs.akamai.com/cps/reference/get-deployments-production
from aktest_se import Se
s = Se()
res = s.deployments.get_deployments_production(enrollment_id=10000, account_switch_key="1-5C0YLB:1-8BYUX")
if res is not None:
# handle response
pass| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
enrollment_id |
int | ✔️ | Enrollment on which to perform the desired operation. | 10000 |
account_switch_key |
Optional[str] | ➖ | For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. | 1-5C0YLB:1-8BYUX |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.GetDeploymentsProductionResponseBody
| Error Type | Status Code | Content Type |
|---|---|---|
| models.SDKError | 4XX, 5XX | */* |
Gets the enrollments deployed on the staging network.
See documentation for this operation in Akamai's Certificate Provisioning System API https://techdocs.akamai.com/cps/reference/get-deployment-staging
from aktest_se import Se
s = Se()
res = s.deployments.get_deployment_staging(enrollment_id=10000, account_switch_key="1-5C0YLB:1-8BYUX")
if res is not None:
# handle response
pass| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
enrollment_id |
int | ✔️ | Enrollment on which to perform the desired operation. | 10000 |
account_switch_key |
Optional[str] | ➖ | For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. | 1-5C0YLB:1-8BYUX |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.GetDeploymentStagingResponseBody
| Error Type | Status Code | Content Type |
|---|---|---|
| models.SDKError | 4XX, 5XX | */* |