create_connector_v2
¶
create_connector_v2(
*,
config_overrides: Optional[SecurityHubClientConfig] = None,
name: Optional[NonEmptyString] = None,
description: Optional[NonEmptyString] = None,
provider: Optional[ProviderConfiguration] = None,
kms_key_arn: Optional[NonEmptyString] = None,
tags: Optional[TagMap] = None,
client_token: Optional[ClientToken] = None,
) -> CreateConnectorV2Response
Grants permission to create a connectorV2 based on input parameters.
Parameters:
-
name(Optional[NonEmptyString], default:None) –The unique name of the connectorV2.
-
description(Optional[NonEmptyString], default:None) –The description of the connectorV2.
-
provider(Optional[ProviderConfiguration], default:None) –The third-party provider’s service configuration.
-
kms_key_arn(Optional[NonEmptyString], default:None) –The Amazon Resource Name (ARN) of KMS key used to encrypt secrets for the connectorV2.
-
tags(Optional[TagMap], default:None) –The tags to add to the connectorV2 when you create.
-
client_token(Optional[ClientToken], default:None) –A unique identifier used to ensure idempotency.
Raises:
-
AccessDeniedException–You don't have permission to perform the action specified in the request.
-
ConflictException–The request causes conflict with the current state of the service resource.
-
InternalServerException–The request has failed due to an internal failure of the service.
-
ResourceNotFoundException–The request was rejected because we can't find the specified resource.
-
ServiceQuotaExceededException–The request was rejected because it would exceed the service quota limit.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation because it's missing required fields or has invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityhub/_services/security_hub.py
1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 | |