Skip to content

UnlabelParameterVersion

Source: src/AWS/SSM/UnlabelParameterVersion.ts

Runtime binding for ssm:UnlabelParameterVersion.

Bind this operation to a Parameter inside a function runtime to get a callable that removes labels from a specific version of the bound parameter — the counterpart to LabelParameterVersion when moving a label during a rollout or rollback.

const unlabel = yield* SSM.UnlabelParameterVersion(config);
const result = yield* unlabel({
ParameterVersion: 3,
Labels: ["current"],
});
yield* Effect.log(`removed: ${result.RemovedLabels?.join(", ")}`);