create_custom_action_type
¶
create_custom_action_type(
category: ActionCategory,
provider: ActionProvider,
version: Version,
input_artifact_details: ArtifactDetails,
output_artifact_details: ArtifactDetails,
*,
config_overrides: Optional[CodePipelineClientConfig] = None,
settings: Optional[ActionTypeSettings] = None,
configuration_properties: Optional[ActionConfigurationPropertyList] = None,
tags: Optional[TagList] = None,
) -> CreateCustomActionTypeOutput
Creates a new custom action that can be used in all pipelines associated with the Amazon Web Services account. Only used for custom actions.
Parameters:
-
category(ActionCategory) –The category of the custom action, such as a build action or a test action.
-
provider(ActionProvider) –The provider of the service used in the custom action, such as CodeDeploy.
-
version(Version) –The version identifier of the custom action.
-
settings(Optional[ActionTypeSettings], default:None) –URLs that provide users information about this custom action.
-
configuration_properties(Optional[ActionConfigurationPropertyList], default:None) –The configuration properties for the custom action.
You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline.
-
input_artifact_details(ArtifactDetails) –The details of the input artifact for the action, such as its commit ID.
-
output_artifact_details(ArtifactDetails) –The details of the output artifact of the action, such as its commit ID.
-
tags(Optional[TagList], default:None) –The tags for the custom action.
Raises:
-
ConcurrentModificationException–Unable to modify the tag due to a simultaneous update request.
-
InvalidTagsException–The specified resource tags are invalid.
-
LimitExceededException–The number of pipelines associated with the Amazon Web Services account has exceeded the limit allowed for the account.
-
TooManyTagsException–The tags limit for a resource has been exceeded.
-
ValidationException–The validation was specified in an invalid format.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codepipeline/_services/code_pipeline.py
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 | |