From a67b14ebe09b7a8f3679a7b7793321d607a25563 Mon Sep 17 00:00:00 2001 From: Manu Chaudhary Date: Thu, 18 Jun 2026 12:36:17 +0530 Subject: [PATCH 1/2] docs: update default value in description for intensity in colorize transformation Stainless-Generated-From: a1080bed6a778947407da110b0e3ad8b21547b7e --- src/imagekitio/types/shared/transformation.py | 2 +- src/imagekitio/types/shared_params/transformation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/imagekitio/types/shared/transformation.py b/src/imagekitio/types/shared/transformation.py index c1927c8..b8edb6d 100644 --- a/src/imagekitio/types/shared/transformation.py +++ b/src/imagekitio/types/shared/transformation.py @@ -144,7 +144,7 @@ class Transformation(BaseModel): - `co-color` - Color to apply (e.g., `red`, `blue`, `FF0022`). Default is gray color. - - `in-intensity` - Intensity of the color (0-100). Default is 35. See + - `in-intensity` - Intensity of the color (0-100). Default is 100. See [Colorize](https://imagekit.io/docs/effects-and-enhancements#colorize---e-colorize). """ diff --git a/src/imagekitio/types/shared_params/transformation.py b/src/imagekitio/types/shared_params/transformation.py index e1bd3e2..a5015a5 100644 --- a/src/imagekitio/types/shared_params/transformation.py +++ b/src/imagekitio/types/shared_params/transformation.py @@ -142,7 +142,7 @@ class Transformation(TypedDict, total=False): - `co-color` - Color to apply (e.g., `red`, `blue`, `FF0022`). Default is gray color. - - `in-intensity` - Intensity of the color (0-100). Default is 35. See + - `in-intensity` - Intensity of the color (0-100). Default is 100. See [Colorize](https://imagekit.io/docs/effects-and-enhancements#colorize---e-colorize). """ From ec709a515b07f3d7fba758357b5dd8d6e3432bf1 Mon Sep 17 00:00:00 2001 From: Manu Chaudhary Date: Thu, 18 Jun 2026 13:15:04 +0530 Subject: [PATCH 2/2] feat(origins): add useIAMRole for IAM role authentication Stainless-Generated-From: 74087faf91060e71b2b06ad264de05c973eae73f --- src/imagekitio/resources/accounts/origins.py | 72 ++++++++++++++----- .../types/accounts/origin_create_params.py | 20 ++++-- .../types/accounts/origin_request_param.py | 20 ++++-- .../types/accounts/origin_response.py | 12 ++++ .../types/accounts/origin_update_params.py | 20 ++++-- tests/api_resources/accounts/test_origins.py | 8 +++ 6 files changed, 124 insertions(+), 28 deletions(-) diff --git a/src/imagekitio/resources/accounts/origins.py b/src/imagekitio/resources/accounts/origins.py index 1bd4b50..c1fa446 100644 --- a/src/imagekitio/resources/accounts/origins.py +++ b/src/imagekitio/resources/accounts/origins.py @@ -57,6 +57,7 @@ def create( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -70,13 +71,13 @@ def create( Creates a new origin and returns the origin object. Args: - access_key: Access key for the bucket. + access_key: Access key for the bucket. When `useIAMRole` is `true`, send an empty string. bucket: S3 bucket name. name: Display name of the origin. - secret_key: Secret key for the bucket. + secret_key: Secret key for the bucket. When `useIAMRole` is `true`, send an empty string. base_url_for_canonical_header: URL used in the Canonical header (if enabled). @@ -84,6 +85,9 @@ def create( prefix: Path prefix inside the bucket. + use_iam_role: Use IAM role for authentication instead of access/secret keys. When set to + `true`, send an empty string for both `accessKey` and `secretKey`. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -161,6 +165,7 @@ def create( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -174,13 +179,13 @@ def create( Creates a new origin and returns the origin object. Args: - access_key: Access key for the bucket. + access_key: Access key for the bucket. When `useIAMRole` is `true`, send an empty string. bucket: S3 bucket name. name: Display name of the origin. - secret_key: Secret key for the bucket. + secret_key: Secret key for the bucket. When `useIAMRole` is `true`, send an empty string. base_url_for_canonical_header: URL used in the Canonical header (if enabled). @@ -188,6 +193,9 @@ def create( prefix: Path prefix inside the bucket. + use_iam_role: Use IAM role for authentication instead of access/secret keys. When set to + `true`, send an empty string for both `accessKey` and `secretKey`. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -439,6 +447,7 @@ def create( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, endpoint: str | Omit = omit, s3_force_path_style: bool | Omit = omit, base_url: str | Omit = omit, @@ -473,6 +482,7 @@ def create( "base_url_for_canonical_header": base_url_for_canonical_header, "include_canonical_header": include_canonical_header, "prefix": prefix, + "use_iam_role": use_iam_role, "endpoint": endpoint, "s3_force_path_style": s3_force_path_style, "base_url": base_url, @@ -509,6 +519,7 @@ def update( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -525,13 +536,13 @@ def update( id: Unique identifier for the origin. This is generated by ImageKit when you create a new origin. - access_key: Access key for the bucket. + access_key: Access key for the bucket. When `useIAMRole` is `true`, send an empty string. bucket: S3 bucket name. name: Display name of the origin. - secret_key: Secret key for the bucket. + secret_key: Secret key for the bucket. When `useIAMRole` is `true`, send an empty string. base_url_for_canonical_header: URL used in the Canonical header (if enabled). @@ -539,6 +550,9 @@ def update( prefix: Path prefix inside the bucket. + use_iam_role: Use IAM role for authentication instead of access/secret keys. When set to + `true`, send an empty string for both `accessKey` and `secretKey`. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -621,6 +635,7 @@ def update( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -637,13 +652,13 @@ def update( id: Unique identifier for the origin. This is generated by ImageKit when you create a new origin. - access_key: Access key for the bucket. + access_key: Access key for the bucket. When `useIAMRole` is `true`, send an empty string. bucket: S3 bucket name. name: Display name of the origin. - secret_key: Secret key for the bucket. + secret_key: Secret key for the bucket. When `useIAMRole` is `true`, send an empty string. base_url_for_canonical_header: URL used in the Canonical header (if enabled). @@ -651,6 +666,9 @@ def update( prefix: Path prefix inside the bucket. + use_iam_role: Use IAM role for authentication instead of access/secret keys. When set to + `true`, send an empty string for both `accessKey` and `secretKey`. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -923,6 +941,7 @@ def update( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, endpoint: str | Omit = omit, s3_force_path_style: bool | Omit = omit, base_url: str | Omit = omit, @@ -959,6 +978,7 @@ def update( "base_url_for_canonical_header": base_url_for_canonical_header, "include_canonical_header": include_canonical_header, "prefix": prefix, + "use_iam_role": use_iam_role, "endpoint": endpoint, "s3_force_path_style": s3_force_path_style, "base_url": base_url, @@ -1119,6 +1139,7 @@ async def create( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -1132,13 +1153,13 @@ async def create( Creates a new origin and returns the origin object. Args: - access_key: Access key for the bucket. + access_key: Access key for the bucket. When `useIAMRole` is `true`, send an empty string. bucket: S3 bucket name. name: Display name of the origin. - secret_key: Secret key for the bucket. + secret_key: Secret key for the bucket. When `useIAMRole` is `true`, send an empty string. base_url_for_canonical_header: URL used in the Canonical header (if enabled). @@ -1146,6 +1167,9 @@ async def create( prefix: Path prefix inside the bucket. + use_iam_role: Use IAM role for authentication instead of access/secret keys. When set to + `true`, send an empty string for both `accessKey` and `secretKey`. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -1223,6 +1247,7 @@ async def create( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -1236,13 +1261,13 @@ async def create( Creates a new origin and returns the origin object. Args: - access_key: Access key for the bucket. + access_key: Access key for the bucket. When `useIAMRole` is `true`, send an empty string. bucket: S3 bucket name. name: Display name of the origin. - secret_key: Secret key for the bucket. + secret_key: Secret key for the bucket. When `useIAMRole` is `true`, send an empty string. base_url_for_canonical_header: URL used in the Canonical header (if enabled). @@ -1250,6 +1275,9 @@ async def create( prefix: Path prefix inside the bucket. + use_iam_role: Use IAM role for authentication instead of access/secret keys. When set to + `true`, send an empty string for both `accessKey` and `secretKey`. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -1501,6 +1529,7 @@ async def create( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, endpoint: str | Omit = omit, s3_force_path_style: bool | Omit = omit, base_url: str | Omit = omit, @@ -1535,6 +1564,7 @@ async def create( "base_url_for_canonical_header": base_url_for_canonical_header, "include_canonical_header": include_canonical_header, "prefix": prefix, + "use_iam_role": use_iam_role, "endpoint": endpoint, "s3_force_path_style": s3_force_path_style, "base_url": base_url, @@ -1571,6 +1601,7 @@ async def update( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -1587,13 +1618,13 @@ async def update( id: Unique identifier for the origin. This is generated by ImageKit when you create a new origin. - access_key: Access key for the bucket. + access_key: Access key for the bucket. When `useIAMRole` is `true`, send an empty string. bucket: S3 bucket name. name: Display name of the origin. - secret_key: Secret key for the bucket. + secret_key: Secret key for the bucket. When `useIAMRole` is `true`, send an empty string. base_url_for_canonical_header: URL used in the Canonical header (if enabled). @@ -1601,6 +1632,9 @@ async def update( prefix: Path prefix inside the bucket. + use_iam_role: Use IAM role for authentication instead of access/secret keys. When set to + `true`, send an empty string for both `accessKey` and `secretKey`. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -1683,6 +1717,7 @@ async def update( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -1699,13 +1734,13 @@ async def update( id: Unique identifier for the origin. This is generated by ImageKit when you create a new origin. - access_key: Access key for the bucket. + access_key: Access key for the bucket. When `useIAMRole` is `true`, send an empty string. bucket: S3 bucket name. name: Display name of the origin. - secret_key: Secret key for the bucket. + secret_key: Secret key for the bucket. When `useIAMRole` is `true`, send an empty string. base_url_for_canonical_header: URL used in the Canonical header (if enabled). @@ -1713,6 +1748,9 @@ async def update( prefix: Path prefix inside the bucket. + use_iam_role: Use IAM role for authentication instead of access/secret keys. When set to + `true`, send an empty string for both `accessKey` and `secretKey`. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -1985,6 +2023,7 @@ async def update( base_url_for_canonical_header: str | Omit = omit, include_canonical_header: bool | Omit = omit, prefix: str | Omit = omit, + use_iam_role: bool | Omit = omit, endpoint: str | Omit = omit, s3_force_path_style: bool | Omit = omit, base_url: str | Omit = omit, @@ -2021,6 +2060,7 @@ async def update( "base_url_for_canonical_header": base_url_for_canonical_header, "include_canonical_header": include_canonical_header, "prefix": prefix, + "use_iam_role": use_iam_role, "endpoint": endpoint, "s3_force_path_style": s3_force_path_style, "base_url": base_url, diff --git a/src/imagekitio/types/accounts/origin_create_params.py b/src/imagekitio/types/accounts/origin_create_params.py index 7489a1d..cc1c9c5 100644 --- a/src/imagekitio/types/accounts/origin_create_params.py +++ b/src/imagekitio/types/accounts/origin_create_params.py @@ -22,7 +22,7 @@ class S3(TypedDict, total=False): access_key: Required[Annotated[str, PropertyInfo(alias="accessKey")]] - """Access key for the bucket.""" + """Access key for the bucket. When `useIAMRole` is `true`, send an empty string.""" bucket: Required[str] """S3 bucket name.""" @@ -31,7 +31,7 @@ class S3(TypedDict, total=False): """Display name of the origin.""" secret_key: Required[Annotated[str, PropertyInfo(alias="secretKey")]] - """Secret key for the bucket.""" + """Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.""" type: Required[Literal["S3"]] @@ -44,6 +44,12 @@ class S3(TypedDict, total=False): prefix: str """Path prefix inside the bucket.""" + use_iam_role: Annotated[bool, PropertyInfo(alias="useIAMRole")] + """Use IAM role for authentication instead of access/secret keys. + + When set to `true`, send an empty string for both `accessKey` and `secretKey`. + """ + class S3Compatible(TypedDict, total=False): access_key: Required[Annotated[str, PropertyInfo(alias="accessKey")]] @@ -78,7 +84,7 @@ class S3Compatible(TypedDict, total=False): class CloudinaryBackup(TypedDict, total=False): access_key: Required[Annotated[str, PropertyInfo(alias="accessKey")]] - """Access key for the bucket.""" + """Access key for the bucket. When `useIAMRole` is `true`, send an empty string.""" bucket: Required[str] """S3 bucket name.""" @@ -87,7 +93,7 @@ class CloudinaryBackup(TypedDict, total=False): """Display name of the origin.""" secret_key: Required[Annotated[str, PropertyInfo(alias="secretKey")]] - """Secret key for the bucket.""" + """Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.""" type: Required[Literal["CLOUDINARY_BACKUP"]] @@ -100,6 +106,12 @@ class CloudinaryBackup(TypedDict, total=False): prefix: str """Path prefix inside the bucket.""" + use_iam_role: Annotated[bool, PropertyInfo(alias="useIAMRole")] + """Use IAM role for authentication instead of access/secret keys. + + When set to `true`, send an empty string for both `accessKey` and `secretKey`. + """ + class WebFolder(TypedDict, total=False): base_url: Required[Annotated[str, PropertyInfo(alias="baseUrl")]] diff --git a/src/imagekitio/types/accounts/origin_request_param.py b/src/imagekitio/types/accounts/origin_request_param.py index a2864ad..4289b64 100644 --- a/src/imagekitio/types/accounts/origin_request_param.py +++ b/src/imagekitio/types/accounts/origin_request_param.py @@ -22,7 +22,7 @@ class S3(TypedDict, total=False): access_key: Required[Annotated[str, PropertyInfo(alias="accessKey")]] - """Access key for the bucket.""" + """Access key for the bucket. When `useIAMRole` is `true`, send an empty string.""" bucket: Required[str] """S3 bucket name.""" @@ -31,7 +31,7 @@ class S3(TypedDict, total=False): """Display name of the origin.""" secret_key: Required[Annotated[str, PropertyInfo(alias="secretKey")]] - """Secret key for the bucket.""" + """Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.""" type: Required[Literal["S3"]] @@ -44,6 +44,12 @@ class S3(TypedDict, total=False): prefix: str """Path prefix inside the bucket.""" + use_iam_role: Annotated[bool, PropertyInfo(alias="useIAMRole")] + """Use IAM role for authentication instead of access/secret keys. + + When set to `true`, send an empty string for both `accessKey` and `secretKey`. + """ + class S3Compatible(TypedDict, total=False): access_key: Required[Annotated[str, PropertyInfo(alias="accessKey")]] @@ -78,7 +84,7 @@ class S3Compatible(TypedDict, total=False): class CloudinaryBackup(TypedDict, total=False): access_key: Required[Annotated[str, PropertyInfo(alias="accessKey")]] - """Access key for the bucket.""" + """Access key for the bucket. When `useIAMRole` is `true`, send an empty string.""" bucket: Required[str] """S3 bucket name.""" @@ -87,7 +93,7 @@ class CloudinaryBackup(TypedDict, total=False): """Display name of the origin.""" secret_key: Required[Annotated[str, PropertyInfo(alias="secretKey")]] - """Secret key for the bucket.""" + """Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.""" type: Required[Literal["CLOUDINARY_BACKUP"]] @@ -100,6 +106,12 @@ class CloudinaryBackup(TypedDict, total=False): prefix: str """Path prefix inside the bucket.""" + use_iam_role: Annotated[bool, PropertyInfo(alias="useIAMRole")] + """Use IAM role for authentication instead of access/secret keys. + + When set to `true`, send an empty string for both `accessKey` and `secretKey`. + """ + class WebFolder(TypedDict, total=False): base_url: Required[Annotated[str, PropertyInfo(alias="baseUrl")]] diff --git a/src/imagekitio/types/accounts/origin_response.py b/src/imagekitio/types/accounts/origin_response.py index d437447..cf7c634 100644 --- a/src/imagekitio/types/accounts/origin_response.py +++ b/src/imagekitio/types/accounts/origin_response.py @@ -45,6 +45,12 @@ class S3(BaseModel): base_url_for_canonical_header: Optional[str] = FieldInfo(alias="baseUrlForCanonicalHeader", default=None) """URL used in the Canonical header (if enabled).""" + use_iam_role: Optional[bool] = FieldInfo(alias="useIAMRole", default=None) + """ + Whether the origin authenticates using an IAM role instead of access/secret + keys. + """ + class S3Compatible(BaseModel): id: str @@ -101,6 +107,12 @@ class CloudinaryBackup(BaseModel): base_url_for_canonical_header: Optional[str] = FieldInfo(alias="baseUrlForCanonicalHeader", default=None) """URL used in the Canonical header (if enabled).""" + use_iam_role: Optional[bool] = FieldInfo(alias="useIAMRole", default=None) + """ + Whether the origin authenticates using an IAM role instead of access/secret + keys. + """ + class WebFolder(BaseModel): id: str diff --git a/src/imagekitio/types/accounts/origin_update_params.py b/src/imagekitio/types/accounts/origin_update_params.py index a7b39fb..abb9cf9 100644 --- a/src/imagekitio/types/accounts/origin_update_params.py +++ b/src/imagekitio/types/accounts/origin_update_params.py @@ -22,7 +22,7 @@ class S3(TypedDict, total=False): access_key: Required[Annotated[str, PropertyInfo(alias="accessKey")]] - """Access key for the bucket.""" + """Access key for the bucket. When `useIAMRole` is `true`, send an empty string.""" bucket: Required[str] """S3 bucket name.""" @@ -31,7 +31,7 @@ class S3(TypedDict, total=False): """Display name of the origin.""" secret_key: Required[Annotated[str, PropertyInfo(alias="secretKey")]] - """Secret key for the bucket.""" + """Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.""" type: Required[Literal["S3"]] @@ -44,6 +44,12 @@ class S3(TypedDict, total=False): prefix: str """Path prefix inside the bucket.""" + use_iam_role: Annotated[bool, PropertyInfo(alias="useIAMRole")] + """Use IAM role for authentication instead of access/secret keys. + + When set to `true`, send an empty string for both `accessKey` and `secretKey`. + """ + class S3Compatible(TypedDict, total=False): access_key: Required[Annotated[str, PropertyInfo(alias="accessKey")]] @@ -78,7 +84,7 @@ class S3Compatible(TypedDict, total=False): class CloudinaryBackup(TypedDict, total=False): access_key: Required[Annotated[str, PropertyInfo(alias="accessKey")]] - """Access key for the bucket.""" + """Access key for the bucket. When `useIAMRole` is `true`, send an empty string.""" bucket: Required[str] """S3 bucket name.""" @@ -87,7 +93,7 @@ class CloudinaryBackup(TypedDict, total=False): """Display name of the origin.""" secret_key: Required[Annotated[str, PropertyInfo(alias="secretKey")]] - """Secret key for the bucket.""" + """Secret key for the bucket. When `useIAMRole` is `true`, send an empty string.""" type: Required[Literal["CLOUDINARY_BACKUP"]] @@ -100,6 +106,12 @@ class CloudinaryBackup(TypedDict, total=False): prefix: str """Path prefix inside the bucket.""" + use_iam_role: Annotated[bool, PropertyInfo(alias="useIAMRole")] + """Use IAM role for authentication instead of access/secret keys. + + When set to `true`, send an empty string for both `accessKey` and `secretKey`. + """ + class WebFolder(TypedDict, total=False): base_url: Required[Annotated[str, PropertyInfo(alias="baseUrl")]] diff --git a/tests/api_resources/accounts/test_origins.py b/tests/api_resources/accounts/test_origins.py index a4f6070..cee184a 100644 --- a/tests/api_resources/accounts/test_origins.py +++ b/tests/api_resources/accounts/test_origins.py @@ -41,6 +41,7 @@ def test_method_create_with_all_params_overload_1(self, client: ImageKit) -> Non base_url_for_canonical_header="https://cdn.example.com", include_canonical_header=False, prefix="raw-assets", + use_iam_role=True, ) assert_matches_type(OriginResponse, origin, path=["response"]) @@ -168,6 +169,7 @@ def test_method_create_with_all_params_overload_3(self, client: ImageKit) -> Non base_url_for_canonical_header="https://cdn.example.com", include_canonical_header=False, prefix="raw-assets", + use_iam_role=True, ) assert_matches_type(OriginResponse, origin, path=["response"]) @@ -522,6 +524,7 @@ def test_method_update_with_all_params_overload_1(self, client: ImageKit) -> Non base_url_for_canonical_header="https://cdn.example.com", include_canonical_header=False, prefix="raw-assets", + use_iam_role=True, ) assert_matches_type(OriginResponse, origin, path=["response"]) @@ -684,6 +687,7 @@ def test_method_update_with_all_params_overload_3(self, client: ImageKit) -> Non base_url_for_canonical_header="https://cdn.example.com", include_canonical_header=False, prefix="raw-assets", + use_iam_role=True, ) assert_matches_type(OriginResponse, origin, path=["response"]) @@ -1251,6 +1255,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn base_url_for_canonical_header="https://cdn.example.com", include_canonical_header=False, prefix="raw-assets", + use_iam_role=True, ) assert_matches_type(OriginResponse, origin, path=["response"]) @@ -1378,6 +1383,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn base_url_for_canonical_header="https://cdn.example.com", include_canonical_header=False, prefix="raw-assets", + use_iam_role=True, ) assert_matches_type(OriginResponse, origin, path=["response"]) @@ -1732,6 +1738,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn base_url_for_canonical_header="https://cdn.example.com", include_canonical_header=False, prefix="raw-assets", + use_iam_role=True, ) assert_matches_type(OriginResponse, origin, path=["response"]) @@ -1894,6 +1901,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn base_url_for_canonical_header="https://cdn.example.com", include_canonical_header=False, prefix="raw-assets", + use_iam_role=True, ) assert_matches_type(OriginResponse, origin, path=["response"])