PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 131
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package forecastqueryservice import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/private/protocol" ) const opQueryForecast = "QueryForecast" // QueryForecastRequest generates a "aws/request.Request" representing the // client's request for the QueryForecast operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See QueryForecast for more information on using the QueryForecast // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the QueryForecastRequest method. // req, resp := client.QueryForecastRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecastquery-2018-06-26/QueryForecast func (c *ForecastQueryService) QueryForecastRequest(input *QueryForecastInput) (req *request.Request, output *QueryForecastOutput) { op := &request.Operation{ Name: opQueryForecast, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { input = &QueryForecastInput{} } output = &QueryForecastOutput{} req = c.newRequest(op, input, output) return } // QueryForecast API operation for Amazon Forecast Query Service. // // Retrieves a forecast for a single item, filtered by the supplied criteria. // // The criteria is a key-value pair. The key is either item_id (or the equivalent // non-timestamp, non-target field) from the TARGET_TIME_SERIES dataset, or // one of the forecast dimensions specified as part of the FeaturizationConfig // object. // // By default, QueryForecast returns the complete date range for the filtered // forecast. You can request a specific date range. // // To get the full forecast, use the CreateForecastExportJob (https://docs.aws.amazon.com/en_us/forecast/latest/dg/API_CreateForecastExportJob.html) // operation. // // The forecasts generated by Amazon Forecast are in the same timezone as the // dataset that was used to create the predictor. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Forecast Query Service's // API operation QueryForecast for usage and error information. // // Returned Error Types: // // - ResourceNotFoundException // We can't find that resource. Check the information that you've provided and // try again. // // - ResourceInUseException // The specified resource is in use. // // - InvalidInputException // The value is invalid or is too long. // // - LimitExceededException // The limit on the number of requests per second has been exceeded. // // - InvalidNextTokenException // The token is not valid. Tokens expire after 24 hours. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecastquery-2018-06-26/QueryForecast func (c *ForecastQueryService) QueryForecast(input *QueryForecastInput) (*QueryForecastOutput, error) { req, out := c.QueryForecastRequest(input) return out, req.Send() } // QueryForecastWithContext is the same as QueryForecast with the addition of // the ability to pass a context and additional request options. // // See QueryForecast for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. func (c *ForecastQueryService) QueryForecastWithContext(ctx aws.Context, input *QueryForecastInput, opts ...request.Option) (*QueryForecastOutput, error) { req, out := c.QueryForecastRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opQueryWhatIfForecast = "QueryWhatIfForecast" // QueryWhatIfForecastRequest generates a "aws/request.Request" representing the // client's request for the QueryWhatIfForecast operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See QueryWhatIfForecast for more information on using the QueryWhatIfForecast // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the QueryWhatIfForecastRequest method. // req, resp := client.QueryWhatIfForecastRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecastquery-2018-06-26/QueryWhatIfForecast func (c *ForecastQueryService) QueryWhatIfForecastRequest(input *QueryWhatIfForecastInput) (req *request.Request, output *QueryWhatIfForecastOutput) { op := &request.Operation{ Name: opQueryWhatIfForecast, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { input = &QueryWhatIfForecastInput{} } output = &QueryWhatIfForecastOutput{} req = c.newRequest(op, input, output) return } // QueryWhatIfForecast API operation for Amazon Forecast Query Service. // // Retrieves a what-if forecast. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Forecast Query Service's // API operation QueryWhatIfForecast for usage and error information. // // Returned Error Types: // // - ResourceNotFoundException // We can't find that resource. Check the information that you've provided and // try again. // // - ResourceInUseException // The specified resource is in use. // // - InvalidInputException // The value is invalid or is too long. // // - LimitExceededException // The limit on the number of requests per second has been exceeded. // // - InvalidNextTokenException // The token is not valid. Tokens expire after 24 hours. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecastquery-2018-06-26/QueryWhatIfForecast func (c *ForecastQueryService) QueryWhatIfForecast(input *QueryWhatIfForecastInput) (*QueryWhatIfForecastOutput, error) { req, out := c.QueryWhatIfForecastRequest(input) return out, req.Send() } // QueryWhatIfForecastWithContext is the same as QueryWhatIfForecast with the addition of // the ability to pass a context and additional request options. // // See QueryWhatIfForecast for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. func (c *ForecastQueryService) QueryWhatIfForecastWithContext(ctx aws.Context, input *QueryWhatIfForecastInput, opts ...request.Option) (*QueryWhatIfForecastOutput, error) { req, out := c.QueryWhatIfForecastRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // The forecast value for a specific date. Part of the Forecast object. type DataPoint struct { _ struct{} `type:"structure"` // The timestamp of the specific forecast. Timestamp *string `type:"string"` // The forecast value. Value *float64 `type:"double"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DataPoint) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DataPoint) GoString() string { return s.String() } // SetTimestamp sets the Timestamp field's value. func (s *DataPoint) SetTimestamp(v string) *DataPoint { s.Timestamp = &v return s } // SetValue sets the Value field's value. func (s *DataPoint) SetValue(v float64) *DataPoint { s.Value = &v return s } // Provides information about a forecast. Returned as part of the QueryForecast // response. type Forecast struct { _ struct{} `type:"structure"` // The forecast. // // The string of the string-to-array map is one of the following values: // // * p10 // // * p50 // // * p90 // // The default setting is ["0.1", "0.5", "0.9"]. Use the optional ForecastTypes // parameter of the CreateForecast (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateForecast.html) // operation to change the values. The values will vary depending on how this // is set, with a minimum of 1 and a maximum of 5. Predictions map[string][]*DataPoint `type:"map"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Forecast) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Forecast) GoString() string { return s.String() } // SetPredictions sets the Predictions field's value. func (s *Forecast) SetPredictions(v map[string][]*DataPoint) *Forecast { s.Predictions = v return s } // The value is invalid or is too long. type InvalidInputException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InvalidInputException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InvalidInputException) GoString() string { return s.String() } func newErrorInvalidInputException(v protocol.ResponseMetadata) error { return &InvalidInputException{ RespMetadata: v, } } // Code returns the exception type name. func (s *InvalidInputException) Code() string { return "InvalidInputException" } // Message returns the exception's message. func (s *InvalidInputException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *InvalidInputException) OrigErr() error { return nil } func (s *InvalidInputException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. func (s *InvalidInputException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *InvalidInputException) RequestID() string { return s.RespMetadata.RequestID } // The token is not valid. Tokens expire after 24 hours. type InvalidNextTokenException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InvalidNextTokenException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InvalidNextTokenException) GoString() string { return s.String() } func newErrorInvalidNextTokenException(v protocol.ResponseMetadata) error { return &InvalidNextTokenException{ RespMetadata: v, } } // Code returns the exception type name. func (s *InvalidNextTokenException) Code() string { return "InvalidNextTokenException" } // Message returns the exception's message. func (s *InvalidNextTokenException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *InvalidNextTokenException) OrigErr() error { return nil } func (s *InvalidNextTokenException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. func (s *InvalidNextTokenException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *InvalidNextTokenException) RequestID() string { return s.RespMetadata.RequestID } // The limit on the number of requests per second has been exceeded. type LimitExceededException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s LimitExceededException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s LimitExceededException) GoString() string { return s.String() } func newErrorLimitExceededException(v protocol.ResponseMetadata) error { return &LimitExceededException{ RespMetadata: v, } } // Code returns the exception type name. func (s *LimitExceededException) Code() string { return "LimitExceededException" } // Message returns the exception's message. func (s *LimitExceededException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *LimitExceededException) OrigErr() error { return nil } func (s *LimitExceededException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. func (s *LimitExceededException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *LimitExceededException) RequestID() string { return s.RespMetadata.RequestID } type QueryForecastInput struct { _ struct{} `type:"structure"` // The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss // (ISO 8601 format). For example, 2015-01-01T20:00:00. EndDate *string `type:"string"` // The filtering criteria to apply when retrieving the forecast. For example, // to get the forecast for client_21 in the electricity usage dataset, specify // the following: // // {"item_id" : "client_21"} // // To get the full forecast, use the CreateForecastExportJob (https://docs.aws.amazon.com/en_us/forecast/latest/dg/API_CreateForecastExportJob.html) // operation. // // Filters is a required field Filters map[string]*string `min:"1" type:"map" required:"true"` // The Amazon Resource Name (ARN) of the forecast to query. // // ForecastArn is a required field ForecastArn *string `type:"string" required:"true"` // If the result of the previous request was truncated, the response includes // a NextToken. To retrieve the next set of results, use the token in the next // request. Tokens expire after 24 hours. NextToken *string `min:"1" type:"string"` // The start date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss // (ISO 8601 format). For example, 2015-01-01T08:00:00. StartDate *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s QueryForecastInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s QueryForecastInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *QueryForecastInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "QueryForecastInput"} if s.Filters == nil { invalidParams.Add(request.NewErrParamRequired("Filters")) } if s.Filters != nil && len(s.Filters) < 1 { invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) } if s.ForecastArn == nil { invalidParams.Add(request.NewErrParamRequired("ForecastArn")) } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetEndDate sets the EndDate field's value. func (s *QueryForecastInput) SetEndDate(v string) *QueryForecastInput { s.EndDate = &v return s } // SetFilters sets the Filters field's value. func (s *QueryForecastInput) SetFilters(v map[string]*string) *QueryForecastInput { s.Filters = v return s } // SetForecastArn sets the ForecastArn field's value. func (s *QueryForecastInput) SetForecastArn(v string) *QueryForecastInput { s.ForecastArn = &v return s } // SetNextToken sets the NextToken field's value. func (s *QueryForecastInput) SetNextToken(v string) *QueryForecastInput { s.NextToken = &v return s } // SetStartDate sets the StartDate field's value. func (s *QueryForecastInput) SetStartDate(v string) *QueryForecastInput { s.StartDate = &v return s } type QueryForecastOutput struct { _ struct{} `type:"structure"` // The forecast. Forecast *Forecast `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s QueryForecastOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s QueryForecastOutput) GoString() string { return s.String() } // SetForecast sets the Forecast field's value. func (s *QueryForecastOutput) SetForecast(v *Forecast) *QueryForecastOutput { s.Forecast = v return s } type QueryWhatIfForecastInput struct { _ struct{} `type:"structure"` // The end date for the what-if forecast. Specify the date using this format: // yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T20:00:00. EndDate *string `type:"string"` // The filtering criteria to apply when retrieving the forecast. For example, // to get the forecast for client_21 in the electricity usage dataset, specify // the following: // // {"item_id" : "client_21"} // // To get the full what-if forecast, use the CreateForecastExportJob (https://docs.aws.amazon.com/en_us/forecast/latest/dg/API_CreateWhatIfForecastExport.html) // operation. // // Filters is a required field Filters map[string]*string `min:"1" type:"map" required:"true"` // If the result of the previous request was truncated, the response includes // a NextToken. To retrieve the next set of results, use the token in the next // request. Tokens expire after 24 hours. NextToken *string `min:"1" type:"string"` // The start date for the what-if forecast. Specify the date using this format: // yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T08:00:00. StartDate *string `type:"string"` // The Amazon Resource Name (ARN) of the what-if forecast to query. // // WhatIfForecastArn is a required field WhatIfForecastArn *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s QueryWhatIfForecastInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s QueryWhatIfForecastInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *QueryWhatIfForecastInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "QueryWhatIfForecastInput"} if s.Filters == nil { invalidParams.Add(request.NewErrParamRequired("Filters")) } if s.Filters != nil && len(s.Filters) < 1 { invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } if s.WhatIfForecastArn == nil { invalidParams.Add(request.NewErrParamRequired("WhatIfForecastArn")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetEndDate sets the EndDate field's value. func (s *QueryWhatIfForecastInput) SetEndDate(v string) *QueryWhatIfForecastInput { s.EndDate = &v return s } // SetFilters sets the Filters field's value. func (s *QueryWhatIfForecastInput) SetFilters(v map[string]*string) *QueryWhatIfForecastInput { s.Filters = v return s } // SetNextToken sets the NextToken field's value. func (s *QueryWhatIfForecastInput) SetNextToken(v string) *QueryWhatIfForecastInput { s.NextToken = &v return s } // SetStartDate sets the StartDate field's value. func (s *QueryWhatIfForecastInput) SetStartDate(v string) *QueryWhatIfForecastInput { s.StartDate = &v return s } // SetWhatIfForecastArn sets the WhatIfForecastArn field's value. func (s *QueryWhatIfForecastInput) SetWhatIfForecastArn(v string) *QueryWhatIfForecastInput { s.WhatIfForecastArn = &v return s } type QueryWhatIfForecastOutput struct { _ struct{} `type:"structure"` // Provides information about a forecast. Returned as part of the QueryForecast // response. Forecast *Forecast `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s QueryWhatIfForecastOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s QueryWhatIfForecastOutput) GoString() string { return s.String() } // SetForecast sets the Forecast field's value. func (s *QueryWhatIfForecastOutput) SetForecast(v *Forecast) *QueryWhatIfForecastOutput { s.Forecast = v return s } // The specified resource is in use. type ResourceInUseException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceInUseException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceInUseException) GoString() string { return s.String() } func newErrorResourceInUseException(v protocol.ResponseMetadata) error { return &ResourceInUseException{ RespMetadata: v, } } // Code returns the exception type name. func (s *ResourceInUseException) Code() string { return "ResourceInUseException" } // Message returns the exception's message. func (s *ResourceInUseException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *ResourceInUseException) OrigErr() error { return nil } func (s *ResourceInUseException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. func (s *ResourceInUseException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *ResourceInUseException) RequestID() string { return s.RespMetadata.RequestID } // We can't find that resource. Check the information that you've provided and // try again. type ResourceNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceNotFoundException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceNotFoundException) GoString() string { return s.String() } func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { return &ResourceNotFoundException{ RespMetadata: v, } } // Code returns the exception type name. func (s *ResourceNotFoundException) Code() string { return "ResourceNotFoundException" } // Message returns the exception's message. func (s *ResourceNotFoundException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *ResourceNotFoundException) OrigErr() error { return nil } func (s *ResourceNotFoundException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. func (s *ResourceNotFoundException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID }