get_tile
async
¶
get_tile(
x: int,
y: int,
z: int,
image_assets: StringListInput,
target: TargetOptions,
arn: EarthObservationJobArn,
*,
config_overrides: Optional[AsyncSageMakerGeospatialClientConfig] = None,
image_mask: Optional[bool] = None,
output_format: Optional[str] = None,
time_range_filter: Optional[str] = None,
property_filters: Optional[str] = None,
output_data_type: Optional[OutputType] = None,
execution_role_arn: Optional[ExecutionRoleArn] = None,
) -> AsyncGenerator[GetTileOutput]
Gets a web mercator tile for the given Earth Observation job.
Parameters:
-
x(int) –The x coordinate of the tile input.
-
y(int) –The y coordinate of the tile input.
-
z(int) –The z coordinate of the tile input.
-
image_assets(StringListInput) –The particular assets or bands to tile.
-
target(TargetOptions) –Determines what part of the Earth Observation job to tile. 'INPUT' or 'OUTPUT' are the valid options.
-
arn(EarthObservationJobArn) –The Amazon Resource Name (ARN) of the tile operation.
-
image_mask(Optional[bool], default:None) –Determines whether or not to return a valid data mask.
-
output_format(Optional[str], default:None) –The data format of the output tile. The formats include .npy, .png and .jpg.
-
time_range_filter(Optional[str], default:None) –Time range filter applied to imagery to find the images to tile.
-
property_filters(Optional[str], default:None) –Property filters for the imagery to tile.
-
output_data_type(Optional[OutputType], default:None) –The output data type of the tile operation.
-
execution_role_arn(Optional[ExecutionRoleArn], default:None) –The Amazon Resource Name (ARN) of the IAM role that you specify.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure.
-
ResourceNotFoundException–The request references a resource which does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker_geospatial/_services/async_sage_maker_geospatial.py
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 | |